UNPKG

pkcs-ts

Version:

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

35 lines 2.94 kB
import { ASN1Element as _Element, OPTIONAL } from "asn1-ts"; import * as $ from "asn1-ts/dist/node/functional"; import { CertificateRevocationLists } from "../PKCS7/CertificateRevocationLists.ta"; import { CertificateSet } from "../PKCS7/CertificateSet.ta"; import { DigestAlgorithmIdentifiers } from "../PKCS7/DigestAlgorithmIdentifiers.ta"; import { EncryptedContentInfo } from "../PKCS7/EncryptedContentInfo.ta"; import { KeyTransportRecipientInfo } from "../PKCS7/KeyTransportRecipientInfo.ta"; import { SignerInfo } from "../PKCS7/SignerInfo.ta"; import { Version } from "../PKCS7/Version.ta"; export { CertificateRevocationLists, _decode_CertificateRevocationLists, _encode_CertificateRevocationLists, } from "../PKCS7/CertificateRevocationLists.ta"; export { CertificateSet, _decode_CertificateSet, _encode_CertificateSet, } from "../PKCS7/CertificateSet.ta"; export { DigestAlgorithmIdentifiers, _decode_DigestAlgorithmIdentifiers, _encode_DigestAlgorithmIdentifiers, } from "../PKCS7/DigestAlgorithmIdentifiers.ta"; export { EncryptedContentInfo, _decode_EncryptedContentInfo, _encode_EncryptedContentInfo, } from "../PKCS7/EncryptedContentInfo.ta"; export { KeyTransportRecipientInfo, _decode_KeyTransportRecipientInfo, _encode_KeyTransportRecipientInfo, } from "../PKCS7/KeyTransportRecipientInfo.ta"; export { SignerInfo, _decode_SignerInfo, _encode_SignerInfo, } from "../PKCS7/SignerInfo.ta"; export { Version, _decode_Version, _encode_Version } from "../PKCS7/Version.ta"; export declare class SignedAndEnvelopedData { readonly version: Version; readonly recipientInfos: KeyTransportRecipientInfo[]; readonly digestAlgorithms: DigestAlgorithmIdentifiers; readonly encryptedContentInfo: EncryptedContentInfo; readonly certificates: OPTIONAL<CertificateSet>; readonly crls: OPTIONAL<CertificateRevocationLists>; readonly signerInfos: SignerInfo[]; constructor(version: Version, recipientInfos: KeyTransportRecipientInfo[], digestAlgorithms: DigestAlgorithmIdentifiers, encryptedContentInfo: EncryptedContentInfo, certificates: OPTIONAL<CertificateSet>, crls: OPTIONAL<CertificateRevocationLists>, signerInfos: SignerInfo[]); static _from_object(_o: { [_K in keyof SignedAndEnvelopedData]: SignedAndEnvelopedData[_K]; }): SignedAndEnvelopedData; } export declare const _root_component_type_list_1_spec_for_SignedAndEnvelopedData: $.ComponentSpec[]; export declare const _root_component_type_list_2_spec_for_SignedAndEnvelopedData: $.ComponentSpec[]; export declare const _extension_additions_list_spec_for_SignedAndEnvelopedData: $.ComponentSpec[]; export declare function _decode_SignedAndEnvelopedData(el: _Element): SignedAndEnvelopedData; export declare function _encode_SignedAndEnvelopedData(value: SignedAndEnvelopedData, elGetter: $.ASN1Encoder<SignedAndEnvelopedData>): _Element; //# sourceMappingURL=SignedAndEnvelopedData.ta.d.ts.map