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 Constructor Description NoneAttestationProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttestationFormat
getAttestationFormat()
void
process(com.fasterxml.jackson.databind.JsonNode attStmt, AuthData authData, io.jans.orm.model.fido2.Fido2RegistrationData credential, byte[] clientDataHash, CredAndCounterData credIdAndCounters)
-
-
-
Method Detail
-
getAttestationFormat
public AttestationFormat getAttestationFormat()
- Specified by:
getAttestationFormat
in 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:
process
in interfaceAttestationFormatProcessor
-
-