DtlsClientConnectionT.setServerIdentity

Sets @conn's expected server identity, which is used both to tell servers on virtual hosts which certificate to present, and also to let @conn know what name to look for in the certificate when performing %G_TLS_CERTIFICATE_BAD_IDENTITY validation, if enabled.

template DtlsClientConnectionT(TStruct)
void
setServerIdentity
(
SocketConnectableIF identity
)

Parameters

identity SocketConnectableIF

a #GSocketConnectable describing the expected server identity

Meta

Since

2.48