pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
39 lines • 3.36 kB
TypeScript
import { ASN1Element as _Element, OPTIONAL } from "asn1-ts";
import * as $ from "asn1-ts/dist/node/functional";
import { Attributes } from "../PKCS7/Attributes.ta";
import { ContentInfo } from "../PKCS7/ContentInfo.ta";
import { DigestAlgorithmIdentifier } from "../PKCS7/DigestAlgorithmIdentifier.ta";
import { MessageAuthenticationCode } from "../PKCS7/MessageAuthenticationCode.ta";
import { MessageAuthenticationCodeAlgorithmIdentifier } from "../PKCS7/MessageAuthenticationCodeAlgorithmIdentifier.ta";
import { OriginatorInfo } from "../PKCS7/OriginatorInfo.ta";
import { RecipientInfos } from "../PKCS7/RecipientInfos.ta";
import { Version } from "../PKCS7/Version.ta";
export { Attributes, _decode_Attributes, _encode_Attributes, } from "../PKCS7/Attributes.ta";
export { ContentInfo, _decode_ContentInfo, _encode_ContentInfo, } from "../PKCS7/ContentInfo.ta";
export { DigestAlgorithmIdentifier, _decode_DigestAlgorithmIdentifier, _encode_DigestAlgorithmIdentifier, } from "../PKCS7/DigestAlgorithmIdentifier.ta";
export { MessageAuthenticationCode, _decode_MessageAuthenticationCode, _encode_MessageAuthenticationCode, } from "../PKCS7/MessageAuthenticationCode.ta";
export { MessageAuthenticationCodeAlgorithmIdentifier, _decode_MessageAuthenticationCodeAlgorithmIdentifier, _encode_MessageAuthenticationCodeAlgorithmIdentifier, } from "../PKCS7/MessageAuthenticationCodeAlgorithmIdentifier.ta";
export { OriginatorInfo, _decode_OriginatorInfo, _encode_OriginatorInfo, } from "../PKCS7/OriginatorInfo.ta";
export { RecipientInfos, _decode_RecipientInfos, _encode_RecipientInfos, } from "../PKCS7/RecipientInfos.ta";
export { Version, _decode_Version, _encode_Version } from "../PKCS7/Version.ta";
export declare class AuthenticatedData {
readonly version: Version;
readonly originatorInfo: OPTIONAL<OriginatorInfo>;
readonly recipientInfos: RecipientInfos;
readonly macAlgorithm: MessageAuthenticationCodeAlgorithmIdentifier;
readonly digestAlgorithm: OPTIONAL<DigestAlgorithmIdentifier>;
readonly contentInfo: ContentInfo;
readonly authenticatedAttributes: OPTIONAL<Attributes>;
readonly messageAuthenticationCode: MessageAuthenticationCode;
readonly unauthenticatedAttributes: OPTIONAL<Attributes>;
constructor(version: Version, originatorInfo: OPTIONAL<OriginatorInfo>, recipientInfos: RecipientInfos, macAlgorithm: MessageAuthenticationCodeAlgorithmIdentifier, digestAlgorithm: OPTIONAL<DigestAlgorithmIdentifier>, contentInfo: ContentInfo, authenticatedAttributes: OPTIONAL<Attributes>, messageAuthenticationCode: MessageAuthenticationCode, unauthenticatedAttributes: OPTIONAL<Attributes>);
static _from_object(_o: {
[_K in keyof AuthenticatedData]: AuthenticatedData[_K];
}): AuthenticatedData;
}
export declare const _root_component_type_list_1_spec_for_AuthenticatedData: $.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_AuthenticatedData: $.ComponentSpec[];
export declare const _extension_additions_list_spec_for_AuthenticatedData: $.ComponentSpec[];
export declare function _decode_AuthenticatedData(el: _Element): AuthenticatedData;
export declare function _encode_AuthenticatedData(value: AuthenticatedData, elGetter: $.ASN1Encoder<AuthenticatedData>): _Element;
//# sourceMappingURL=AuthenticatedData.ta.d.ts.map