java.lang.Object
com.webauthn4j.data.CoreRegistrationData
com.webauthn4j.data.RegistrationData
WebAuthn registration data
-
Constructor Summary
ConstructorsConstructorDescriptionRegistrationData(@Nullable AttestationObject attestationObject, @org.jetbrains.annotations.Nullable byte[] attestationObjectBytes, @Nullable CollectedClientData collectedClientData, @org.jetbrains.annotations.Nullable byte[] collectedClientDataBytes, @Nullable AuthenticationExtensionsClientOutputs<RegistrationExtensionClientOutput> clientExtensions, @Nullable Set<AuthenticatorTransport> transports) RegistrationDataconstructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the client extensions@Nullable CollectedClientDataReturns the parsed collected client data@org.jetbrains.annotations.Nullable byte[]Returns the raw collected client data bytes@Nullable Set<AuthenticatorTransport>Returns the set of transportsinthashCode()toString()Methods inherited from class com.webauthn4j.data.CoreRegistrationData
getAttestationObject, getAttestationObjectBytes, getClientDataHash
-
Constructor Details
-
RegistrationData
public RegistrationData(@Nullable @Nullable AttestationObject attestationObject, @Nullable @org.jetbrains.annotations.Nullable byte[] attestationObjectBytes, @Nullable @Nullable CollectedClientData collectedClientData, @Nullable @org.jetbrains.annotations.Nullable byte[] collectedClientDataBytes, @Nullable @Nullable AuthenticationExtensionsClientOutputs<RegistrationExtensionClientOutput> clientExtensions, @Nullable @Nullable Set<AuthenticatorTransport> transports) RegistrationDataconstructor- Parameters:
attestationObject- the parsed attestation objectattestationObjectBytes- the raw attestation object bytescollectedClientData- the parsed collected client datacollectedClientDataBytes- the raw collected client data bytesclientExtensions- the client extensionstransports- the set of transports
-
-
Method Details
-
getCollectedClientData
Returns the parsed collected client data- Returns:
- the collected client data
-
getCollectedClientDataBytes
@Nullable public @org.jetbrains.annotations.Nullable byte[] getCollectedClientDataBytes()Returns the raw collected client data bytes- Returns:
- the collected client data bytes
-
getClientExtensions
@Nullable public @Nullable AuthenticationExtensionsClientOutputs<RegistrationExtensionClientOutput> getClientExtensions()Returns the client extensions- Returns:
- the client extensions
-
getTransports
Returns the set of transports- Returns:
- the transports
-
equals
- Overrides:
equalsin classCoreRegistrationData
-
hashCode
public int hashCode()- Overrides:
hashCodein classCoreRegistrationData
-
toString
- Overrides:
toStringin classCoreRegistrationData
-