java.lang.Object
com.webauthn4j.data.CoreRegistrationData
- Direct Known Subclasses:
RegistrationData
Core registration data
This class is a subset of
RegistrationData containing only the core registration data fields-
Constructor Summary
ConstructorsConstructorDescriptionCoreRegistrationData(@Nullable AttestationObject attestationObject, @org.jetbrains.annotations.Nullable byte[] attestationObjectBytes, @org.jetbrains.annotations.Nullable byte[] clientDataHash) CoreRegistrationDataconstructor -
Method Summary
Modifier and TypeMethodDescriptionboolean@Nullable AttestationObjectReturns the parsed attestation object@org.jetbrains.annotations.Nullable byte[]Returns the raw attestation object bytes@org.jetbrains.annotations.Nullable byte[]Returns the hash of the client datainthashCode()toString()
-
Constructor Details
-
CoreRegistrationData
public CoreRegistrationData(@Nullable @Nullable AttestationObject attestationObject, @Nullable @org.jetbrains.annotations.Nullable byte[] attestationObjectBytes, @Nullable @org.jetbrains.annotations.Nullable byte[] clientDataHash) CoreRegistrationDataconstructor- Parameters:
attestationObject- the parsed attestation objectattestationObjectBytes- the raw attestation object bytesclientDataHash- the hash of the client data
-
-
Method Details
-
getAttestationObject
Returns the parsed attestation object- Returns:
- the attestation object
-
getAttestationObjectBytes
@Nullable public @org.jetbrains.annotations.Nullable byte[] getAttestationObjectBytes()Returns the raw attestation object bytes- Returns:
- the attestation object bytes
-
getClientDataHash
@Nullable public @org.jetbrains.annotations.Nullable byte[] getClientDataHash()Returns the hash of the client data- Returns:
- the client data hash
-
equals
-
hashCode
public int hashCode() -
toString
-