Interface MetadataService


  • public interface MetadataService
    Abstraction of a repository which can look up authenticator attestation metadata from an attestation certificate chain.
    • Method Detail

      • getAttestation

        Attestation getAttestation​(java.util.List<java.security.cert.X509Certificate> attestationCertificateChain)
                            throws java.security.cert.CertificateEncodingException
        Attempt to look up attestation for a chain of certificates
        Parameters:
        attestationCertificateChain - a certificate chain, where each certificate in the list should be signed by the following certificate.
        Returns:
        Attestation metadata, if any is available. If the certificate chain is empty, or if there is no signature path from a trusted attestation root to the first certificate in attestationCertificateChange, return Attestation.empty().
        Throws:
        java.security.cert.CertificateEncodingException