public final class CompositeAttestationResolver extends java.lang.Object implements AttestationResolver
AttestationResolver
whose resolve(X509Certificate, List)
method calls AttestationResolver.resolve(X509Certificate, List)
on
each of the subordinate AttestationResolver
s in turn, and returns
the first non-null
result.Constructor and Description |
---|
CompositeAttestationResolver(java.util.List<AttestationResolver> resolvers) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<com.yubico.webauthn.attestation.Attestation> |
resolve(java.security.cert.X509Certificate attestationCertificate,
java.util.List<java.security.cert.X509Certificate> certificateChain) |
com.yubico.webauthn.attestation.Attestation |
untrustedFromCertificate(java.security.cert.X509Certificate attestationCertificate)
Delegates to the first subordinate resolver, or throws an exception if there is none.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
resolve
public CompositeAttestationResolver(java.util.List<AttestationResolver> resolvers)
public java.util.Optional<com.yubico.webauthn.attestation.Attestation> resolve(java.security.cert.X509Certificate attestationCertificate, java.util.List<java.security.cert.X509Certificate> certificateChain)
resolve
in interface AttestationResolver
public com.yubico.webauthn.attestation.Attestation untrustedFromCertificate(java.security.cert.X509Certificate attestationCertificate)
untrustedFromCertificate
in interface AttestationResolver