UNPKG

pkcs-ts

Version:

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

16 lines 905 B
import { ASN1Element as _Element, INTEGER } from "asn1-ts"; import * as $ from "asn1-ts/dist/node/functional"; export declare class RSAPublicKey { readonly modulus: INTEGER; readonly publicExponent: INTEGER; constructor(modulus: INTEGER, publicExponent: INTEGER); static _from_object(_o: { [_K in keyof RSAPublicKey]: RSAPublicKey[_K]; }): RSAPublicKey; } export declare const _root_component_type_list_1_spec_for_RSAPublicKey: $.ComponentSpec[]; export declare const _root_component_type_list_2_spec_for_RSAPublicKey: $.ComponentSpec[]; export declare const _extension_additions_list_spec_for_RSAPublicKey: $.ComponentSpec[]; export declare function _decode_RSAPublicKey(el: _Element): RSAPublicKey; export declare function _encode_RSAPublicKey(value: RSAPublicKey, elGetter: $.ASN1Encoder<RSAPublicKey>): _Element; //# sourceMappingURL=RSAPublicKey.ta.d.ts.map