(no description)
File Size: | 193 lines (6 kb) |
Included or required: | 1 time |
Referenced: | 0 times |
Includes or requires: | 0 files |
FormatBase:: (9 methods):
__construct()
__destruct()
getCertificateChain()
getCertificatePem()
validateAttestation()
validateRootCertificate()
_createCertificatePem()
_createX5cChainFile()
_getCoseAlgorithm()
Class: FormatBase - X-Ref
__construct($AttestionObject, AuthenticatorData $authenticatorData) X-Ref |
param: Array $AttestionObject param: AuthenticatorData $authenticatorData |
__destruct() X-Ref |
No description |
getCertificateChain() X-Ref |
returns the certificate chain in PEM format return: string|null |
getCertificatePem() X-Ref |
returns the key X.509 certificate in PEM format return: string |
validateAttestation($clientDataHash) X-Ref |
checks validity of the signature param: string $clientDataHash return: bool |
validateRootCertificate($rootCas) X-Ref |
validates the certificate against root certificates param: array $rootCas return: boolean |
_createCertificatePem($x5c) X-Ref |
create a PEM encoded certificate with X.509 binary data param: string $x5c return: string |
_createX5cChainFile() X-Ref |
creates a PEM encoded chain file return: type |
_getCoseAlgorithm($coseNumber) X-Ref |
returns the name and openssl key for provided cose number. param: int $coseNumber return: \stdClass|null |