Package com.yubico.webauthn.data
Class AttestedCredentialData
- java.lang.Object
-
- com.yubico.webauthn.data.AttestedCredentialData
-
public final class AttestedCredentialData extends java.lang.ObjectAttested 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 booleanequals(java.lang.Object o)@NonNull ByteArraygetAaguid()The AAGUID of the authenticator.@NonNull ByteArraygetCredentialId()The credential ID of the attested credential.@NonNull ByteArraygetCredentialPublicKey()The credential public key encoded in COSE_Key format, as defined in Section 7 of RFC 8152.inthashCode()com.yubico.webauthn.data.AttestedCredentialData.AttestedCredentialDataBuildertoBuilder()java.lang.StringtoString()
-
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-