java.lang.Object
com.webauthn4j.verifier.CoreRegistrationDataVerifier
-
Constructor Summary
ConstructorsConstructorDescriptionCoreRegistrationDataVerifier(@NotNull List<AttestationStatementVerifier> attestationStatementVerifiers, @NotNull CertPathTrustworthinessVerifier certPathTrustworthinessVerifier, @NotNull SelfAttestationTrustworthinessVerifier selfAttestationTrustworthinessVerifier, @NotNull List<CustomCoreRegistrationVerifier> customRegistrationVerifiers, @NotNull ObjectConverter objectConverter) -
Method Summary
Modifier and TypeMethodDescriptionprotected CoreRegistrationObjectcreateCoreRegistrationObject(@NotNull CoreRegistrationData registrationData, @NotNull CoreRegistrationParameters registrationParameters) @NotNull List<CustomCoreRegistrationVerifier>voidverify(@NotNull CoreRegistrationData registrationData, @NotNull CoreRegistrationParameters registrationParameters) It is up to caller responsibility to inject challenge into clientData and verify it equals to challenge stored in server side
-
Constructor Details
-
CoreRegistrationDataVerifier
public CoreRegistrationDataVerifier(@NotNull @NotNull List<AttestationStatementVerifier> attestationStatementVerifiers, @NotNull @NotNull CertPathTrustworthinessVerifier certPathTrustworthinessVerifier, @NotNull @NotNull SelfAttestationTrustworthinessVerifier selfAttestationTrustworthinessVerifier, @NotNull @NotNull List<CustomCoreRegistrationVerifier> customRegistrationVerifiers, @NotNull @NotNull ObjectConverter objectConverter)
-
-
Method Details
-
verify
public void verify(@NotNull @NotNull CoreRegistrationData registrationData, @NotNull @NotNull CoreRegistrationParameters registrationParameters) It is up to caller responsibility to inject challenge into clientData and verify it equals to challenge stored in server side- Parameters:
registrationData- registration dataregistrationParameters- registration parameters
-
createCoreRegistrationObject
protected CoreRegistrationObject createCoreRegistrationObject(@NotNull @NotNull CoreRegistrationData registrationData, @NotNull @NotNull CoreRegistrationParameters registrationParameters) -
getCustomRegistrationVerifiers
-