use of com.webauthn4j.validator.RegistrationObject in project webauthn4j by webauthn4j.
the class NullTPMAttestationStatementValidatorTest method validate_test.
@Test
void validate_test() {
RegistrationObject registrationObject = TestDataUtil.createRegistrationObjectWithTPMAttestation();
target.validate(registrationObject);
}
use of com.webauthn4j.validator.RegistrationObject in project webauthn4j by webauthn4j.
the class TPMAttestationStatementValidatorTest method validate_test.
@Test
void validate_test() {
RegistrationObject registrationObject = TestDataUtil.createRegistrationObjectWithTPMAttestation();
target.validate(registrationObject);
}
use of com.webauthn4j.validator.RegistrationObject 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);
}
use of com.webauthn4j.validator.RegistrationObject in project webauthn4j by webauthn4j.
the class AndroidKeyAttestationStatementValidatorTest method validate_TPMAttestation_test.
@Test
void validate_TPMAttestation_test() {
RegistrationObject registrationObject = TestDataUtil.createRegistrationObjectWithTPMAttestation();
assertThrows(IllegalArgumentException.class, () -> target.validate(registrationObject));
}
use of com.webauthn4j.validator.RegistrationObject in project webauthn4j by webauthn4j.
the class AndroidKeyAttestationStatementValidatorTest method validate_test.
@Test
void validate_test() {
RegistrationObject registrationObject = TestDataUtil.createRegistrationObjectWithAndroidKeyAttestation();
target.validate(registrationObject);
}
Aggregations