Variable attestationCertificateFacts
attestationCertificateFacts: (
der: any,
) => {
ca: any;
curve: string;
eku: any[];
extensions: {};
keyType: string;
pem: any;
publicKeyJwk: any;
sanDirectoryTypes: any[];
subject: {};
subjectAltName: string;
subjectEmpty: boolean;
subjectText: string;
version: number;
} = attestationCertificateFacts
Type Declaration
-
- (
der: any,
): {
ca: any;
curve: string;
eku: any[];
extensions: {};
keyType: string;
pem: any;
publicKeyJwk: any;
sanDirectoryTypes: any[];
subject: {};
subjectAltName: string;
subjectEmpty: boolean;
subjectText: string;
version: number;
}
-
Returns {
ca: any;
curve: string;
eku: any[];
extensions: {};
keyType: string;
pem: any;
publicKeyJwk: any;
sanDirectoryTypes: any[];
subject: {};
subjectAltName: string;
subjectEmpty: boolean;
subjectText: string;
version: number;
}
{ version, subject, subjectEmpty, ca, eku, extensions, sanDirectoryTypes, publicKeyJwk, keyType, curve }, or null when it is
not a certificate
Reads the facts of a WebAuthn attestation certificate.
sanDirectoryTypesare the attribute types inside subjectAltName's directoryName entries, where a TPM AIK certificate names its TPM.