public static class StaticNewAdvancedCertificateVerifier.Builder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<CertificateType> |
supportedCertificateTypes
List of supported certificate type in order of preference.
|
protected X509Certificate[] |
trustedCertificates
x509 certificate verifier to delegate verification.
|
protected org.eclipse.californium.elements.auth.RawPublicKeyIdentity[] |
trustedRPKs
RPK certificate verifier to delegate verification.
|
| Constructor and Description |
|---|
StaticNewAdvancedCertificateVerifier.Builder() |
| Modifier and Type | Method and Description |
|---|---|
NewAdvancedCertificateVerifier |
build() |
boolean |
hasTrusts() |
StaticNewAdvancedCertificateVerifier.Builder |
setSupportedCertificateTypes(List<CertificateType> supportedCertificateTypes) |
StaticNewAdvancedCertificateVerifier.Builder |
setTrustAllCertificates() |
StaticNewAdvancedCertificateVerifier.Builder |
setTrustAllRPKs() |
StaticNewAdvancedCertificateVerifier.Builder |
setTrustedCertificates(Certificate... trustedCertificates) |
StaticNewAdvancedCertificateVerifier.Builder |
setTrustedRPKs(org.eclipse.californium.elements.auth.RawPublicKeyIdentity... trustedRPKs) |
protected X509Certificate[] trustedCertificates
protected org.eclipse.californium.elements.auth.RawPublicKeyIdentity[] trustedRPKs
protected List<CertificateType> supportedCertificateTypes
public StaticNewAdvancedCertificateVerifier.Builder()
public StaticNewAdvancedCertificateVerifier.Builder setTrustedCertificates(Certificate... trustedCertificates)
public StaticNewAdvancedCertificateVerifier.Builder setTrustAllCertificates()
public StaticNewAdvancedCertificateVerifier.Builder setTrustedRPKs(org.eclipse.californium.elements.auth.RawPublicKeyIdentity... trustedRPKs)
public StaticNewAdvancedCertificateVerifier.Builder setTrustAllRPKs()
public StaticNewAdvancedCertificateVerifier.Builder setSupportedCertificateTypes(List<CertificateType> supportedCertificateTypes)
public boolean hasTrusts()
public NewAdvancedCertificateVerifier build()
Copyright © 2023 Eclipse Foundation. All rights reserved.