pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
18 lines • 1.11 kB
TypeScript
import { ASN1Element as _Element, OBJECT_IDENTIFIER } from "asn1-ts";
import * as $ from "asn1-ts/dist/node/functional";
export { CMS_CONTENT_TYPE } from "../CryptographicMessageSyntax/CMS-CONTENT-TYPE.oca";
export { CMSContentTable } from "../CryptographicMessageSyntax/CMSContentTable.osa";
export declare class ContentInfo {
readonly content_type: OBJECT_IDENTIFIER;
readonly pkcs7_content: _Element;
constructor(content_type: OBJECT_IDENTIFIER, pkcs7_content: _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