pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
22 lines • 1.49 kB
TypeScript
import { ASN1Element as _Element, INTEGER, OPTIONAL } from "asn1-ts";
import * as $ from "asn1-ts/dist/node/functional";
export declare class RSAPrivateKeyObject {
readonly modulus: OPTIONAL<INTEGER>;
readonly publicExponent: OPTIONAL<INTEGER>;
readonly privateExponent: OPTIONAL<INTEGER>;
readonly prime1: OPTIONAL<INTEGER>;
readonly prime2: OPTIONAL<INTEGER>;
readonly exponent1: OPTIONAL<INTEGER>;
readonly exponent2: OPTIONAL<INTEGER>;
readonly coefficient: OPTIONAL<INTEGER>;
constructor(modulus: OPTIONAL<INTEGER>, publicExponent: OPTIONAL<INTEGER>, privateExponent: OPTIONAL<INTEGER>, prime1: OPTIONAL<INTEGER>, prime2: OPTIONAL<INTEGER>, exponent1: OPTIONAL<INTEGER>, exponent2: OPTIONAL<INTEGER>, coefficient: OPTIONAL<INTEGER>);
static _from_object(_o: {
[_K in keyof RSAPrivateKeyObject]: RSAPrivateKeyObject[_K];
}): RSAPrivateKeyObject;
}
export declare const _root_component_type_list_1_spec_for_RSAPrivateKeyObject: $.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_RSAPrivateKeyObject: $.ComponentSpec[];
export declare const _extension_additions_list_spec_for_RSAPrivateKeyObject: $.ComponentSpec[];
export declare function _decode_RSAPrivateKeyObject(el: _Element): RSAPrivateKeyObject;
export declare function _encode_RSAPrivateKeyObject(value: RSAPrivateKeyObject, elGetter: $.ASN1Encoder<RSAPrivateKeyObject>): _Element;
//# sourceMappingURL=RSAPrivateKeyObject.ta.d.ts.map