Search in sources :

Example 6 with FIDOU2FAttestationStatement

use of com.webauthn4j.data.attestation.statement.FIDOU2FAttestationStatement in project webauthn4j by webauthn4j.

the class FIDOU2FAttestationStatementValidatorTest method validateAttestationStatementNotNull_test.

@Test
void validateAttestationStatementNotNull_test() {
    FIDOU2FAttestationStatement attestationStatement = new FIDOU2FAttestationStatement(new AttestationCertificatePath(), new byte[32]);
    target.validateAttestationStatementNotNull(attestationStatement);
}
Also used : AttestationCertificatePath(com.webauthn4j.data.attestation.statement.AttestationCertificatePath) FIDOU2FAttestationStatement(com.webauthn4j.data.attestation.statement.FIDOU2FAttestationStatement) Test(org.junit.jupiter.api.Test)

Aggregations

FIDOU2FAttestationStatement (com.webauthn4j.data.attestation.statement.FIDOU2FAttestationStatement)6 AttestationCertificatePath (com.webauthn4j.data.attestation.statement.AttestationCertificatePath)3 Test (org.junit.jupiter.api.Test)2 AttestationObject (com.webauthn4j.data.attestation.AttestationObject)1 AAGUID (com.webauthn4j.data.attestation.authenticator.AAGUID)1 AttestedCredentialData (com.webauthn4j.data.attestation.authenticator.AttestedCredentialData)1 AuthenticatorData (com.webauthn4j.data.attestation.authenticator.AuthenticatorData)1 EC2COSEKey (com.webauthn4j.data.attestation.authenticator.EC2COSEKey)1 AttestationStatement (com.webauthn4j.data.attestation.statement.AttestationStatement)1 RegistrationExtensionAuthenticatorOutput (com.webauthn4j.data.extension.authenticator.RegistrationExtensionAuthenticatorOutput)1 CredentialCreationResponse (com.webauthn4j.test.authenticator.CredentialCreationResponse)1 BadSignatureException (com.webauthn4j.validator.exception.BadSignatureException)1 ECPublicKey (java.security.interfaces.ECPublicKey)1 NonNull (org.checkerframework.checker.nullness.qual.NonNull)1