public final class CertificateVerificationResult extends HandshakeResult
| Constructor and Description |
|---|
CertificateVerificationResult(ConnectionId cid,
CertPath certificatePath,
Object customArgument)
Create result.
|
CertificateVerificationResult(ConnectionId cid,
HandshakeException exception,
Object customArgument)
Create result.
|
CertificateVerificationResult(ConnectionId cid,
PublicKey publicKey,
Object customArgument)
Create result.
|
| Modifier and Type | Method and Description |
|---|---|
CertPath |
getCertificatePath()
Get verified certificate path for x509.
|
HandshakeException |
getException()
Get exception.
|
PublicKey |
getPublicKey()
Get verified public key for RPK.
|
getConnectionId, getCustomArgumentpublic CertificateVerificationResult(ConnectionId cid, CertPath certificatePath, Object customArgument)
cid - connection idcertificatePath - verified certificate path for x509. null,
if certificate path could not be verified.customArgument - custom argument. May be null. Passed to
AdvancedApplicationLevelInfoSupplier by the
Handshaker, if a
AdvancedApplicationLevelInfoSupplier is available.NullPointerException - if cid is null.public CertificateVerificationResult(ConnectionId cid, PublicKey publicKey, Object customArgument)
cid - connection idpublicKey - verified public key for RPK. null, if public key
could not be verified.customArgument - custom argument. May be null. Passed to
AdvancedApplicationLevelInfoSupplier by the
Handshaker, if a
AdvancedApplicationLevelInfoSupplier is available.NullPointerException - if cid is null.public CertificateVerificationResult(ConnectionId cid, HandshakeException exception, Object customArgument)
cid - connection idexception - handshake exception.customArgument - custom argument. May be null. Passed to
AdvancedApplicationLevelInfoSupplier by the
Handshaker, if a
AdvancedApplicationLevelInfoSupplier is available.NullPointerException - if cid or exception is null.public CertPath getCertificatePath()
null, if not available or not
verified.public PublicKey getPublicKey()
null, if not available or not verified.public HandshakeException getException()
null, if no exception occurred.Copyright © 2023 Eclipse Foundation. All rights reserved.