Package com.webauthn4j.authenticator
Class CoreAuthenticatorImpl
java.lang.Object
com.webauthn4j.authenticator.CoreAuthenticatorImpl
- All Implemented Interfaces:
CoreAuthenticator,Serializable
- Direct Known Subclasses:
AuthenticatorImpl
An
CoreAuthenticator implementation- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCoreAuthenticatorImpl(@NonNull AttestedCredentialData attestedCredentialData, @Nullable AttestationStatement attestationStatement, long counter, @Nullable AuthenticationExtensionsAuthenticatorOutputs<RegistrationExtensionAuthenticatorOutput> authenticatorExtensions) -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull CoreAuthenticatorImplcreateFromCoreRegistrationData(@NonNull CoreRegistrationData coreRegistrationData) boolean@Nullable AttestationStatementReturns theAttestationStatement@NonNull AttestedCredentialDataReturns theAttestedCredentialDataReturns the authenticator extensionslongReturns the counter valueinthashCode()voidsetAttestationStatement(@Nullable AttestationStatement attestationStatement) voidsetAttestedCredentialData(@NonNull AttestedCredentialData attestedCredentialData) voidsetAuthenticatorExtensions(@Nullable AuthenticationExtensionsAuthenticatorOutputs<RegistrationExtensionAuthenticatorOutput> authenticatorExtensions) voidsetCounter(long value) Sets the counter value
-
Constructor Details
-
CoreAuthenticatorImpl
public CoreAuthenticatorImpl(@NonNull AttestedCredentialData attestedCredentialData, @Nullable AttestationStatement attestationStatement, long counter, @Nullable AuthenticationExtensionsAuthenticatorOutputs<RegistrationExtensionAuthenticatorOutput> authenticatorExtensions)
-
-
Method Details
-
createFromCoreRegistrationData
public static @NonNull CoreAuthenticatorImpl createFromCoreRegistrationData(@NonNull CoreRegistrationData coreRegistrationData) -
getAttestedCredentialData
Description copied from interface:CoreAuthenticatorReturns theAttestedCredentialData- Specified by:
getAttestedCredentialDatain interfaceCoreAuthenticator- Returns:
- the
AttestedCredentialData
-
setAttestedCredentialData
-
getAttestationStatement
Description copied from interface:CoreAuthenticatorReturns theAttestationStatement- Specified by:
getAttestationStatementin interfaceCoreAuthenticator- Returns:
- the
AttestationStatement
-
setAttestationStatement
-
getCounter
public long getCounter()Description copied from interface:CoreAuthenticatorReturns the counter value- Specified by:
getCounterin interfaceCoreAuthenticator- Returns:
- the counter value
-
setCounter
public void setCounter(long value) Description copied from interface:CoreAuthenticatorSets the counter value- Specified by:
setCounterin interfaceCoreAuthenticator- Parameters:
value- the counter value
-
getAuthenticatorExtensions
public @Nullable AuthenticationExtensionsAuthenticatorOutputs<RegistrationExtensionAuthenticatorOutput> getAuthenticatorExtensions()Description copied from interface:CoreAuthenticatorReturns the authenticator extensions- Specified by:
getAuthenticatorExtensionsin interfaceCoreAuthenticator- Returns:
- the authenticator extensions
-
setAuthenticatorExtensions
public void setAuthenticatorExtensions(@Nullable AuthenticationExtensionsAuthenticatorOutputs<RegistrationExtensionAuthenticatorOutput> authenticatorExtensions) -
equals
-
hashCode
public int hashCode()
-