UNPKG

pkcs-ts

Version:

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

17 lines 1 kB
import { ASN1Element as _Element, INTEGER, OCTET_STRING, OPTIONAL } from "asn1-ts"; import * as $ from "asn1-ts/dist/node/functional"; export declare class DHParameter { readonly prime: OCTET_STRING; readonly base: OCTET_STRING; readonly privateValueLength: OPTIONAL<INTEGER>; constructor(prime: OCTET_STRING, base: OCTET_STRING, privateValueLength: OPTIONAL<INTEGER>); static _from_object(_o: { [_K in keyof DHParameter]: DHParameter[_K]; }): DHParameter; } export declare const _root_component_type_list_1_spec_for_DHParameter: $.ComponentSpec[]; export declare const _root_component_type_list_2_spec_for_DHParameter: $.ComponentSpec[]; export declare const _extension_additions_list_spec_for_DHParameter: $.ComponentSpec[]; export declare function _decode_DHParameter(el: _Element): DHParameter; export declare function _encode_DHParameter(value: DHParameter, elGetter: $.ASN1Encoder<DHParameter>): _Element; //# sourceMappingURL=DHParameter.ta.d.ts.map