Class TPMProcessor

java.lang.Object
io.jans.fido2.service.processor.attestation.TPMProcessor
All Implemented Interfaces:
AttestationFormatProcessor

@ApplicationScoped public class TPMProcessor extends Object implements AttestationFormatProcessor
  • Constructor Details

    • TPMProcessor

      public TPMProcessor()
  • Method Details

    • getAttestationFormat

      public AttestationFormat getAttestationFormat()
      Specified by:
      getAttestationFormat in interface AttestationFormatProcessor
    • 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 interface AttestationFormatProcessor
    • 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 data
      tpmtPublic - the parsed TPMT_PUBLIC structure