UNPKG

pkcs-ts

Version:

PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More

18 lines 1.18 kB
import { INTEGER, OBJECT_IDENTIFIER } from "asn1-ts"; import * as $ from "asn1-ts/dist/node/functional"; import { Operations } from "../PKCS-15/Operations.ta"; export { compute_checksum, compute_signature, decipher, encipher, generate_key, hash, Operations, Operations_compute_checksum, Operations_compute_signature, Operations_decipher, Operations_encipher, Operations_generate_key, Operations_hash, Operations_verify_checksum, Operations_verify_signature, verify_checksum, verify_signature, _decode_Operations, _encode_Operations, } from "../PKCS-15/Operations.ta"; export interface PKCS15_ALGORITHM<Parameters = any> { readonly class: "PKCS15-ALGORITHM"; readonly decoderFor: Partial<{ [_K in keyof PKCS15_ALGORITHM<Parameters>]: $.ASN1Decoder<PKCS15_ALGORITHM<Parameters>[_K]>; }>; readonly encoderFor: Partial<{ [_K in keyof PKCS15_ALGORITHM<Parameters>]: $.ASN1Encoder<PKCS15_ALGORITHM<Parameters>[_K]>; }>; readonly "&id"?: INTEGER; readonly "&Parameters": Parameters; readonly "&Operations"?: Operations; readonly "&objectIdentifier"?: OBJECT_IDENTIFIER; } //# sourceMappingURL=PKCS15-ALGORITHM.oca.d.ts.map