public interface TrustResolver
Modifier and Type | Method and Description |
---|---|
default java.util.Optional<java.security.cert.X509Certificate> |
resolveTrustAnchor(java.security.cert.X509Certificate attestationCertificate)
Alias of
resolveTrustAnchor(attestationCertificate, Collections.emptyList()) . |
java.util.Optional<java.security.cert.X509Certificate> |
resolveTrustAnchor(java.security.cert.X509Certificate attestationCertificate,
java.util.List<java.security.cert.X509Certificate> caCertificateChain)
Resolve a trusted root anchor for the given attestation certificate and certificate chain
|
default java.util.Optional<java.security.cert.X509Certificate> resolveTrustAnchor(java.security.cert.X509Certificate attestationCertificate)
resolveTrustAnchor(attestationCertificate, Collections.emptyList())
.java.util.Optional<java.security.cert.X509Certificate> resolveTrustAnchor(java.security.cert.X509Certificate attestationCertificate, java.util.List<java.security.cert.X509Certificate> caCertificateChain)
attestationCertificate
- The attestation certificatecaCertificateChain
- Zero or more certificates, of which the first
has signed attestationCertificate
and each of the
remaining certificates has signed the certificate preceding it.attestationCertificate
, if one exists.