ess-ts
Version:
Enhanced Security Services (ESS) in TypeScript
21 lines • 1.35 kB
TypeScript
import { ASN1Element as _Element, OPTIONAL } from "asn1-ts";
import * as $ from "asn1-ts/dist/node/functional";
import { Hash } from "../ExtendedSecurityServices-2006/Hash.ta";
import { IssuerSerial } from "../ExtendedSecurityServices-2006/IssuerSerial.ta";
import { AlgorithmIdentifier } from "x500-ts/dist/node/modules/AuthenticationFramework/AlgorithmIdentifier.ta";
export declare class ESSCertIDv2 {
readonly hashAlgorithm: OPTIONAL<AlgorithmIdentifier>;
readonly certHash: Hash;
readonly issuerSerial: OPTIONAL<IssuerSerial>;
constructor(hashAlgorithm: OPTIONAL<AlgorithmIdentifier>, certHash: Hash, issuerSerial: OPTIONAL<IssuerSerial>);
static _from_object(_o: {
[_K in keyof ESSCertIDv2]: ESSCertIDv2[_K];
}): ESSCertIDv2;
static get _default_value_for_hashAlgorithm(): AlgorithmIdentifier;
}
export declare const _root_component_type_list_1_spec_for_ESSCertIDv2: $.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_ESSCertIDv2: $.ComponentSpec[];
export declare const _extension_additions_list_spec_for_ESSCertIDv2: $.ComponentSpec[];
export declare function _decode_ESSCertIDv2(el: _Element): ESSCertIDv2;
export declare function _encode_ESSCertIDv2(value: ESSCertIDv2, elGetter: $.ASN1Encoder<ESSCertIDv2>): _Element;
//# sourceMappingURL=ESSCertIDv2.ta.d.ts.map