Package com.yubico.webauthn.data
Class AttestedCredentialData
- java.lang.Object
-
- com.yubico.webauthn.data.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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
@NonNull ByteArray
getAaguid()
The AAGUID of the authenticator.@NonNull ByteArray
getCredentialId()
The credential ID of the attested credential.@NonNull ByteArray
getCredentialPublicKey()
The credential public key encoded in COSE_Key format, as defined in Section 7 of RFC 8152.int
hashCode()
com.yubico.webauthn.data.AttestedCredentialData.AttestedCredentialDataBuilder
toBuilder()
java.lang.String
toString()
-
-
-
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 classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-