interface AttestationFormatInterface (View source)

Methods

string
getFormatId()

Returns format ID for this attestation format. For example 'fido-u2f'.

createStatement(AttestationObject $attestationObject)

Creates an attestation statement object from an attestation object. Should be called only for attestation objects with format ID supported by this class (see getFormatId).

getVerifier()

Gets a reference to a verifier that verifies attestation statements of the format supported by this class.

Details

string getFormatId()

Returns format ID for this attestation format. For example 'fido-u2f'.

Return Value

string

AttestationStatementInterface createStatement(AttestationObject $attestationObject)

Creates an attestation statement object from an attestation object. Should be called only for attestation objects with format ID supported by this class (see getFormatId).

Parameters

AttestationObject $attestationObject

Return Value

AttestationStatementInterface

Exceptions

DataValidationException

AttestationVerifierInterface getVerifier()

Gets a reference to a verifier that verifies attestation statements of the format supported by this class.