use of com.webauthn4j.data.attestation.statement.COSEAlgorithmIdentifier in project webauthn4j by webauthn4j.
the class AbstractStatementValidatorTest method getJcaName.
@Test
void getJcaName() {
COSEAlgorithmIdentifier invalid = COSEAlgorithmIdentifier.create(-16);
assertThatThrownBy(() -> packedAttestationStatementValidator.getJcaName(invalid)).isInstanceOf(BadAttestationStatementException.class);
}
Aggregations