pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
23 lines • 1.99 kB
TypeScript
import { ASN1Element as _Element, OPTIONAL } from "asn1-ts";
import * as $ from "asn1-ts/dist/node/functional";
import { ContentEncryptionAlgorithmIdentifier } from "../CryptographicMessageSyntax/ContentEncryptionAlgorithmIdentifier.ta";
import { ContentType } from "../CryptographicMessageSyntax/ContentType.ta";
import { EncryptedContent } from "../CryptographicMessageSyntax/EncryptedContent.ta";
export { ContentEncryptionAlgorithmIdentifier, _decode_ContentEncryptionAlgorithmIdentifier, _encode_ContentEncryptionAlgorithmIdentifier, } from "../CryptographicMessageSyntax/ContentEncryptionAlgorithmIdentifier.ta";
export { ContentType, _decode_ContentType, _encode_ContentType, } from "../CryptographicMessageSyntax/ContentType.ta";
export { EncryptedContent, _decode_EncryptedContent, _encode_EncryptedContent, } from "../CryptographicMessageSyntax/EncryptedContent.ta";
export declare class EncryptedContentInfo {
readonly contentType: ContentType;
readonly contentEncryptionAlgorithm: ContentEncryptionAlgorithmIdentifier;
readonly encryptedContent: OPTIONAL<EncryptedContent>;
constructor(contentType: ContentType, contentEncryptionAlgorithm: ContentEncryptionAlgorithmIdentifier, encryptedContent: OPTIONAL<EncryptedContent>);
static _from_object(_o: {
[_K in keyof EncryptedContentInfo]: EncryptedContentInfo[_K];
}): EncryptedContentInfo;
}
export declare const _root_component_type_list_1_spec_for_EncryptedContentInfo: $.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_EncryptedContentInfo: $.ComponentSpec[];
export declare const _extension_additions_list_spec_for_EncryptedContentInfo: $.ComponentSpec[];
export declare function _decode_EncryptedContentInfo(el: _Element): EncryptedContentInfo;
export declare function _encode_EncryptedContentInfo(value: EncryptedContentInfo, elGetter: $.ASN1Encoder<EncryptedContentInfo>): _Element;
//# sourceMappingURL=EncryptedContentInfo.ta.d.ts.map