- 封闭类:
- CertificateMessage
static final class CertificateMessage.T12CertificateMessage
extends SSLHandshake.HandshakeMessage
The Certificate handshake message for TLS 1.2 and previous
SSL/TLS protocol versions.
In server mode, the certificate handshake message is sent whenever the
agreed-upon key exchange method uses certificates for authentication.
In client mode, this message is only sent if the server requests a
certificate for client authentication.
opaque ASN.1Cert<1..2^24-1>;
SSL 3.0:
struct {
ASN.1Cert certificate_list<1..2^24-1>;
} Certificate;
Note: For SSL 3.0 client authentication, if no suitable certificate
is available, the client should send a no_certificate alert instead.
This alert is only a warning; however, the server may respond with
a fatal handshake failure alert if client authentication is required.
TLS 1.0/1.1/1.2:
struct {
ASN.1Cert certificate_list<0..2^24-1>;
} Certificate;