Class AttestedCredentialData

java.lang.Object
com.yubico.webauthn.data.AttestedCredentialData

public final class AttestedCredentialData extends 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:
  • Method Details

    • 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(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object