NewAdvancedCertificateVerifier instead, or
BridgeCertificateVerifier until migrated.@Deprecated public interface CertificateVerifier
StaticCertificateVerifier| Modifier and Type | Method and Description |
|---|---|
X509Certificate[] |
getAcceptedIssuers()
Deprecated.
Return an array of certificate authority certificates which are trusted
for authenticating peers.
|
void |
verifyCertificate(CertificateMessage message,
DTLSSession session)
Deprecated.
Validates the X.509 certificate chain provided by the the peer as part of
this message.
|
void verifyCertificate(CertificateMessage message, DTLSSession session) throws HandshakeException
message - certificate message to be verifiedsession - dtls session to verifyHandshakeException - if verification failsX509Certificate[] getAcceptedIssuers()
null. This causes a failure, please adapt to use an empty array.Copyright © 2023 Eclipse Foundation. All rights reserved.