UNPKG

pkcs-ts

Version:

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

26 lines 2.07 kB
import { ASN1Element as _Element, INTEGER, NULL, OPTIONAL } from "asn1-ts"; import * as $ from "asn1-ts/dist/node/functional"; import { KeyInfo } from "../PKCS-15/KeyInfo.ta"; import { ObjectValue } from "../PKCS-15/ObjectValue.ta"; import { PublicKeyOperations } from "../PKCS-15/PublicKeyOperations.ta"; import { RSAPrivateKeyObject } from "../PKCS-15/RSAPrivateKeyObject.ta"; export { KeyInfo, _get_decoder_for_KeyInfo, _get_encoder_for_KeyInfo, } from "../PKCS-15/KeyInfo.ta"; export { ObjectValue, _get_decoder_for_ObjectValue, _get_encoder_for_ObjectValue, } from "../PKCS-15/ObjectValue.ta"; export { PublicKeyOperations, _decode_PublicKeyOperations, _encode_PublicKeyOperations, } from "../PKCS-15/PublicKeyOperations.ta"; export { RSAPrivateKeyObject, _decode_RSAPrivateKeyObject, _encode_RSAPrivateKeyObject, } from "../PKCS-15/RSAPrivateKeyObject.ta"; export declare class PrivateRSAKeyAttributes { readonly value: ObjectValue<RSAPrivateKeyObject>; readonly modulusLength: INTEGER; readonly keyInfo: OPTIONAL<KeyInfo<NULL, PublicKeyOperations>>; readonly _unrecognizedExtensionsList: _Element[]; constructor(value: ObjectValue<RSAPrivateKeyObject>, modulusLength: INTEGER, keyInfo: OPTIONAL<KeyInfo<NULL, PublicKeyOperations>>, _unrecognizedExtensionsList?: _Element[]); static _from_object(_o: { [_K in keyof PrivateRSAKeyAttributes]: PrivateRSAKeyAttributes[_K]; }): PrivateRSAKeyAttributes; } export declare const _root_component_type_list_1_spec_for_PrivateRSAKeyAttributes: $.ComponentSpec[]; export declare const _root_component_type_list_2_spec_for_PrivateRSAKeyAttributes: $.ComponentSpec[]; export declare const _extension_additions_list_spec_for_PrivateRSAKeyAttributes: $.ComponentSpec[]; export declare function _decode_PrivateRSAKeyAttributes(el: _Element): PrivateRSAKeyAttributes; export declare function _encode_PrivateRSAKeyAttributes(value: PrivateRSAKeyAttributes, elGetter: $.ASN1Encoder<PrivateRSAKeyAttributes>): _Element; //# sourceMappingURL=PrivateRSAKeyAttributes.ta.d.ts.map