Class TPMProcessor
java.lang.Object
io.jans.fido2.service.processor.attestation.TPMProcessor
- All Implemented Interfaces:
AttestationFormatProcessor
-
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) voidverifyThatKeysAreSame1(com.fasterxml.jackson.databind.JsonNode uncompressedECPointNode, tss.tpm.TPMT_PUBLIC tpmtPublic) Verify that the public key specified by the parameters and unique fields of pubArea is identical to the credentialPublicKey in the attestedCredentialData in authenticatorData.
-
Constructor Details
-
TPMProcessor
public TPMProcessor()
-
-
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
-
verifyThatKeysAreSame1
public void verifyThatKeysAreSame1(com.fasterxml.jackson.databind.JsonNode uncompressedECPointNode, tss.tpm.TPMT_PUBLIC tpmtPublic) Verify that the public key specified by the parameters and unique fields of pubArea is identical to the credentialPublicKey in the attestedCredentialData in authenticatorData.- Parameters:
uncompressedECPointNode- the COSE public key from authenticator datatpmtPublic- the parsed TPMT_PUBLIC structure
-