UNPKG

pkcs-ts

Version:

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

17 lines 1.13 kB
import { ASN1Element as _Element, OBJECT_IDENTIFIER, OPTIONAL } from "asn1-ts"; import * as $ from "asn1-ts/dist/node/functional"; export { ALGORITHM_IDENTIFIER } from "../PKCS5v2-1/ALGORITHM-IDENTIFIER.oca"; export declare class AlgorithmIdentifier { readonly algorithm: OBJECT_IDENTIFIER; readonly parameters: OPTIONAL<_Element>; constructor(algorithm: OBJECT_IDENTIFIER, parameters: OPTIONAL<_Element>); static _from_object(_o: { [_K in keyof AlgorithmIdentifier]: AlgorithmIdentifier[_K]; }): AlgorithmIdentifier; } export declare const _root_component_type_list_1_spec_for_AlgorithmIdentifier: $.ComponentSpec[]; export declare const _root_component_type_list_2_spec_for_AlgorithmIdentifier: $.ComponentSpec[]; export declare const _extension_additions_list_spec_for_AlgorithmIdentifier: $.ComponentSpec[]; export declare function _decode_AlgorithmIdentifier(el: _Element): AlgorithmIdentifier; export declare function _encode_AlgorithmIdentifier(value: AlgorithmIdentifier, elGetter: $.ASN1Encoder<AlgorithmIdentifier>): _Element; //# sourceMappingURL=AlgorithmIdentifier.ta.d.ts.map