Search in sources :

Example 1 with TPMAttestationStatement

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

the class TPMAttestationStatementValidatorTest method validateAttestationStatementNotNull_test.

@Test
void validateAttestationStatementNotNull_test() {
    RegistrationObject registrationObject = TestDataUtil.createRegistrationObjectWithTPMAttestation();
    TPMAttestationStatement attestationStatement = (TPMAttestationStatement) registrationObject.getAttestationObject().getAttestationStatement();
    target.validateAttestationStatementNotNull(attestationStatement);
}
Also used : TPMAttestationStatement(com.webauthn4j.data.attestation.statement.TPMAttestationStatement) RegistrationObject(com.webauthn4j.validator.RegistrationObject) Test(org.junit.jupiter.api.Test)

Aggregations

TPMAttestationStatement (com.webauthn4j.data.attestation.statement.TPMAttestationStatement)1 RegistrationObject (com.webauthn4j.validator.RegistrationObject)1 Test (org.junit.jupiter.api.Test)1