private static final class CertificateMessage.T13CertificateConsumer extends Object implements SSLConsumer
| 限定符 | 构造器和说明 |
|---|---|
private |
T13CertificateConsumer() |
| 限定符和类型 | 方法和说明 |
|---|---|
private static X509Certificate[] |
checkClientCerts(ServerHandshakeContext shc,
List<CertificateMessage.CertificateEntry> certEntries) |
private static X509Certificate[] |
checkServerCerts(ClientHandshakeContext chc,
List<CertificateMessage.CertificateEntry> certEntries) |
void |
consume(ConnectionContext context,
ByteBuffer message) |
private static Alert |
getCertificateAlert(ClientHandshakeContext chc,
CertificateException cexc)
When a failure happens during certificate checking from an
X509TrustManager, determine what TLS alert description
to use. |
private void |
onConsumeCertificate(ClientHandshakeContext chc,
CertificateMessage.T13CertificateMessage certificateMessage) |
private void |
onConsumeCertificate(ServerHandshakeContext shc,
CertificateMessage.T13CertificateMessage certificateMessage) |
public void consume(ConnectionContext context, ByteBuffer message) throws IOException
consume 在接口中 SSLConsumerIOExceptionprivate void onConsumeCertificate(ServerHandshakeContext shc, CertificateMessage.T13CertificateMessage certificateMessage) throws IOException
IOExceptionprivate void onConsumeCertificate(ClientHandshakeContext chc, CertificateMessage.T13CertificateMessage certificateMessage) throws IOException
IOExceptionprivate static X509Certificate[] checkClientCerts(ServerHandshakeContext shc, List<CertificateMessage.CertificateEntry> certEntries) throws IOException
IOExceptionprivate static X509Certificate[] checkServerCerts(ClientHandshakeContext chc, List<CertificateMessage.CertificateEntry> certEntries) throws IOException
IOExceptionprivate static Alert getCertificateAlert(ClientHandshakeContext chc, CertificateException cexc)
X509TrustManager, determine what TLS alert description
to use.cexc - The exception thrown by the X509TrustManagerCopyright © 2023. All rights reserved.