DtlsClientConnectionT.getAcceptedCas

Gets the list of distinguished names of the Certificate Authorities that the server will accept certificates from. This will be set during the TLS handshake if the server requests a certificate. Otherwise, it will be NULL.

Each item in the list is a glib.ByteArray which contains the complete subject DN of the certificate authority.

template DtlsClientConnectionT(TStruct)
getAcceptedCas
()

Return Value

Type: ListG

the list of CA DNs. You should unref each element with ByteArray.unref and then the free the list with g_list_free().

Meta

Since

2.48