VerifySignatureInput
VerifySignatureInput
Input for verifySignature.
ts
interface VerifySignatureInput {
readonly signerSpkiDer: Uint8Array;
readonly signatureAlgorithm: {
readonly oid: string;
readonly parametersDer?: Uint8Array
};
readonly publicKeyAlgorithm: {
readonly oid: string;
readonly parametersOid?: string
};
readonly signature: Uint8Array;
readonly data: Uint8Array;
readonly signatureVerifiers?: SignatureVerifiers;
}Properties
readonlysignerSpkiDer:Uint8Array— DERSubjectPublicKeyInfoof the signer (subjectPublicKeyInfoDeron a parsed certificate).readonlysignatureAlgorithm: {readonlyoid:string;readonlyparametersDer?:Uint8Array} — The signature algorithm as carried beside the signature.readonlypublicKeyAlgorithm: {readonlyoid:string;readonlyparametersOid?:string} — The signer's public key algorithm as carried in its SPKI.readonlysignature:Uint8Array— The signature bytes. ECDSA accepts DER or raw encoding.readonlydata:Uint8Array— The exact bytes the signature covers.readonlysignatureVerifiers?:SignatureVerifiers— Caller verifiers for signature algorithms micro509 does not verify through WebCrypto, keyed by dotted-decimal signature algorithm OID. One runs only where the result would otherwise beunsupported_signature_algorithm_parameters, with the parameters insignerSpkiDer. A key that micro509 verifies natively, a key that is no OID, or a value that is no function throwsRangeError.