Blame doc/functions/gnutls_certificate_type_get
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {gnutls_certificate_type_t} {gnutls_certificate_type_get} (gnutls_session_t @var{session})
|
|
Packit Service |
4684c1 |
@var{session}: is a @code{gnutls_session_t} type.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function returns the type of the certificate that is negotiated
|
|
Packit Service |
4684c1 |
for this side to send to the peer. The certificate type is by default
|
|
Packit Service |
4684c1 |
X.509, unless an alternative certificate type is enabled by
|
|
Packit Service |
4684c1 |
@code{gnutls_init()} and negotiated during the session.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
Resumed sessions will return the certificate type that was negotiated
|
|
Packit Service |
4684c1 |
and used in the original session.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
As of version 3.6.4 it is recommended to use
|
|
Packit Service |
4684c1 |
@code{gnutls_certificate_type_get2()} which is more fine-grained.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Returns:} the currently used @code{gnutls_certificate_type_t} certificate
|
|
Packit Service |
4684c1 |
type as negotiated for 'our' side of the connection.
|
|
Packit Service |
4684c1 |
@end deftypefun
|