UNPKG

pkcs-ts

Version:

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

18 lines 1.1 kB
import { ASN1Element as _Element, OBJECT_IDENTIFIER, OPTIONAL } from "asn1-ts"; import * as $ from "asn1-ts/dist/node/functional"; export { PKCS7_CONTENT_TYPE } from "../PKCS7/PKCS7-CONTENT-TYPE.oca"; export { PKCS7ContentTable } from "../PKCS7/PKCS7ContentTable.osa"; export declare class ContentInfo { readonly content_type: OBJECT_IDENTIFIER; readonly pkcs7_content: OPTIONAL<_Element>; constructor(content_type: OBJECT_IDENTIFIER, pkcs7_content: OPTIONAL<_Element>); static _from_object(_o: { [_K in keyof ContentInfo]: ContentInfo[_K]; }): ContentInfo; } export declare const _root_component_type_list_1_spec_for_ContentInfo: $.ComponentSpec[]; export declare const _root_component_type_list_2_spec_for_ContentInfo: $.ComponentSpec[]; export declare const _extension_additions_list_spec_for_ContentInfo: $.ComponentSpec[]; export declare function _decode_ContentInfo(el: _Element): ContentInfo; export declare function _encode_ContentInfo(value: ContentInfo, elGetter: $.ASN1Encoder<ContentInfo>): _Element; //# sourceMappingURL=ContentInfo.ta.d.ts.map