Class SimpleAttestationResolver
- java.lang.Object
-
- com.yubico.webauthn.attestation.resolver.SimpleAttestationResolver
-
- All Implemented Interfaces:
AttestationResolver
public final class SimpleAttestationResolver extends java.lang.Object implements AttestationResolver
-
-
Constructor Summary
Constructors Constructor Description SimpleAttestationResolver(@NonNull java.util.Collection<MetadataObject> objects, @NonNull TrustResolver trustResolver, @NonNull java.util.Map<java.lang.String,DeviceMatcher> matchers)
SimpleAttestationResolver(java.util.Collection<MetadataObject> objects, TrustResolver trustResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.yubico.webauthn.attestation.AttestationResolver
resolve
-
-
-
-
Constructor Detail
-
SimpleAttestationResolver
public SimpleAttestationResolver(@NonNull @NonNull java.util.Collection<MetadataObject> objects, @NonNull @NonNull TrustResolver trustResolver, @NonNull @NonNull java.util.Map<java.lang.String,DeviceMatcher> matchers) throws java.security.cert.CertificateException
- Throws:
java.security.cert.CertificateException
-
SimpleAttestationResolver
public SimpleAttestationResolver(java.util.Collection<MetadataObject> objects, TrustResolver trustResolver) throws java.security.cert.CertificateException
- Throws:
java.security.cert.CertificateException
-
-
Method Detail
-
resolve
public java.util.Optional<com.yubico.webauthn.attestation.Attestation> resolve(java.security.cert.X509Certificate attestationCertificate, java.util.List<java.security.cert.X509Certificate> certificateChain)
- Specified by:
resolve
in interfaceAttestationResolver
-
untrustedFromCertificate
public com.yubico.webauthn.attestation.Attestation untrustedFromCertificate(java.security.cert.X509Certificate attestationCertificate)
- Specified by:
untrustedFromCertificate
in interfaceAttestationResolver
-
-