BuiltInAttestationFormat
class BuiltInAttestationFormat implements AttestationFormatInterface (View source)
Methods
No description
Returns format ID for this attestation format. For example 'fido-u2f'.
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).
Gets a reference to a verifier that verifies attestation statements of the format supported by this class.
Details
at line 32
__construct(string $formatId, string $statementClass, string $verifierClass)
at line 39
string
getFormatId()
Returns format ID for this attestation format. For example 'fido-u2f'.
at line 44
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).
at line 50
AttestationVerifierInterface
getVerifier()
Gets a reference to a verifier that verifies attestation statements of the format supported by this class.