Variable pkinitVerifySignedData
pkinitVerifySignedData: (
signed: any,
certDer: any,
) =>
| { digest?: undefined; ok: boolean; reason: string; why: string }
| { digest: any; ok: boolean; reason?: undefined; why?: undefined } = pkinitVerifySignedData
Type Declaration
-
- (
signed: any,
certDer: any,
):
| { digest?: undefined; ok: boolean; reason: string; why: string }
| { digest: any; ok: boolean; reason?: undefined; why?: undefined }
-
Returns
| { digest?: undefined; ok: boolean; reason: string; why: string }
| { digest: any; ok: boolean; reason?: undefined; why?: undefined }
{ ok: true, digest }, or { ok: false, reason, why } with a
reason of digest or signature
Verifies a SignedData's one signature with the signer's certificate: the digest, the content-type and message-digest attributes and the signature over the signed attributes as they arrived.