UNPKG

pkcs-ts

Version:

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

24 lines 1.51 kB
import { ASN1Element as _Element, INTEGER, OBJECT_IDENTIFIER, OPTIONAL } from "asn1-ts"; import * as $ from "asn1-ts/dist/node/functional"; import { Reference } from "../PKCS-15/Reference.ta"; export { AlgorithmSet } from "../PKCS-15/AlgorithmSet.osa"; export { PKCS15_ALGORITHM } from "../PKCS-15/PKCS15-ALGORITHM.oca"; export { Reference, _decode_Reference, _encode_Reference, } from "../PKCS-15/Reference.ta"; export declare class AlgorithmInfo { readonly reference: Reference; readonly algorithm: INTEGER; readonly parameters: _Element; readonly supportedOperations: _Element; readonly algId: OPTIONAL<OBJECT_IDENTIFIER>; readonly algRef: OPTIONAL<Reference>; constructor(reference: Reference, algorithm: INTEGER, parameters: _Element, supportedOperations: _Element, algId: OPTIONAL<OBJECT_IDENTIFIER>, algRef: OPTIONAL<Reference>); static _from_object(_o: { [_K in keyof AlgorithmInfo]: AlgorithmInfo[_K]; }): AlgorithmInfo; } export declare const _root_component_type_list_1_spec_for_AlgorithmInfo: $.ComponentSpec[]; export declare const _root_component_type_list_2_spec_for_AlgorithmInfo: $.ComponentSpec[]; export declare const _extension_additions_list_spec_for_AlgorithmInfo: $.ComponentSpec[]; export declare function _decode_AlgorithmInfo(el: _Element): AlgorithmInfo; export declare function _encode_AlgorithmInfo(value: AlgorithmInfo, elGetter: $.ASN1Encoder<AlgorithmInfo>): _Element; //# sourceMappingURL=AlgorithmInfo.ta.d.ts.map