Class NoneAttestationProcessor
java.lang.Object
io.jans.fido2.service.processor.attestation.NoneAttestationProcessor
- All Implemented Interfaces:
AttestationFormatProcessor
@ApplicationScoped
public class NoneAttestationProcessor
extends Object
implements AttestationFormatProcessor
Attestation processor for attestations of fmt = none One of the attestation
formats called 'none'. When you getting it, that means two things:
1. You really don't need attestation, and so you are deliberately ignoring it.
2. You forgot to set attestation flag to 'direct' when making credential.
If you are getting attestation with fmt set to none, then no attestation is provided, and you don't have anything to verify. Simply extract user relevant information as specified below and save it to the database.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(com.fasterxml.jackson.databind.JsonNode attStmt, AuthData authData, io.jans.orm.model.fido2.Fido2RegistrationData credential, byte[] clientDataHash, CredAndCounterData credIdAndCounters)
-
Constructor Details
-
NoneAttestationProcessor
public NoneAttestationProcessor()
-
-
Method Details
-
getAttestationFormat
- Specified by:
getAttestationFormatin interfaceAttestationFormatProcessor
-
process
public void process(com.fasterxml.jackson.databind.JsonNode attStmt, AuthData authData, io.jans.orm.model.fido2.Fido2RegistrationData credential, byte[] clientDataHash, CredAndCounterData credIdAndCounters) - Specified by:
processin interfaceAttestationFormatProcessor
-