UNPKG

pkcs-ts

Version:

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

22 lines 1.33 kB
import { ASN1Element as _Element } from "asn1-ts"; import * as $ from "asn1-ts/dist/node/functional"; import { HASH } from "x500-ts/dist/node/modules/AuthenticationFramework/HASH.ta"; import { ContentInfo } from "../PKCS7/ContentInfo.ta"; import { DigestAlgorithmIdentifier } from "../PKCS7/DigestAlgorithmIdentifier.ta"; import { Version } from "../PKCS7/Version.ta"; export declare class DigestedData { readonly version: Version; readonly digestAlgorithm: DigestAlgorithmIdentifier; readonly contentInfo: ContentInfo; readonly digest: HASH<_Element>; constructor(version: Version, digestAlgorithm: DigestAlgorithmIdentifier, contentInfo: ContentInfo, digest: HASH<_Element>); static _from_object(_o: { [_K in keyof DigestedData]: DigestedData[_K]; }): DigestedData; } export declare const _root_component_type_list_1_spec_for_DigestedData: $.ComponentSpec[]; export declare const _root_component_type_list_2_spec_for_DigestedData: $.ComponentSpec[]; export declare const _extension_additions_list_spec_for_DigestedData: $.ComponentSpec[]; export declare function _decode_DigestedData(el: _Element): DigestedData; export declare function _encode_DigestedData(value: DigestedData, elGetter: $.ASN1Encoder<DigestedData>): _Element; //# sourceMappingURL=DigestedData.ta.d.ts.map