@brief Retrieve an X.509 distinguished name component. When a handshake is complete and a certificate has been exchanged, then the details of the remote certificate can be retrieved. This will usually be used by a client to check that the server's common name matches the URL. A full handshake nee
(int component)
| 131 | * @return The appropriate string (or null if not defined) |
| 132 | */ |
| 133 | public String getCertificateDN(int component) |
| 134 | { |
| 135 | return axtlsj.ssl_get_cert_dn(m_ssl, component); |
| 136 | } |
| 137 | } |