Class AttestedCredentialData


  • public final class AttestedCredentialData
    extends java.lang.Object
    Attested credential data is a variable-length byte array added to the authenticator data when generating an attestation object for a given credential. This class provides access to the three data segments of that byte array.
    See Also:
    6.4.1. Attested Credential Data
    • Method Detail

      • toBuilder

        public com.yubico.webauthn.data.AttestedCredentialData.AttestedCredentialDataBuilder toBuilder()
      • getAaguid

        @NonNull
        public @NonNull ByteArray getAaguid()
        The AAGUID of the authenticator.
      • getCredentialId

        @NonNull
        public @NonNull ByteArray getCredentialId()
        The credential ID of the attested credential.
      • getCredentialPublicKey

        @NonNull
        public @NonNull ByteArray getCredentialPublicKey()
        The credential public key encoded in COSE_Key format, as defined in Section 7 of RFC 8152.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object