UNPKG

pkcs-ts

Version:

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

26 lines 2.05 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 { RSAPublicKeyChoice } from "../PKCS-15/RSAPublicKeyChoice.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 { RSAPublicKeyChoice, _decode_RSAPublicKeyChoice, _encode_RSAPublicKeyChoice, } from "../PKCS-15/RSAPublicKeyChoice.ta"; export declare class PublicRSAKeyAttributes { readonly value: ObjectValue<RSAPublicKeyChoice>; readonly modulusLength: INTEGER; readonly keyInfo: OPTIONAL<KeyInfo<NULL, PublicKeyOperations>>; readonly _unrecognizedExtensionsList: _Element[]; constructor(value: ObjectValue<RSAPublicKeyChoice>, modulusLength: INTEGER, keyInfo: OPTIONAL<KeyInfo<NULL, PublicKeyOperations>>, _unrecognizedExtensionsList?: _Element[]); static _from_object(_o: { [_K in keyof PublicRSAKeyAttributes]: PublicRSAKeyAttributes[_K]; }): PublicRSAKeyAttributes; } export declare const _root_component_type_list_1_spec_for_PublicRSAKeyAttributes: $.ComponentSpec[]; export declare const _root_component_type_list_2_spec_for_PublicRSAKeyAttributes: $.ComponentSpec[]; export declare const _extension_additions_list_spec_for_PublicRSAKeyAttributes: $.ComponentSpec[]; export declare function _decode_PublicRSAKeyAttributes(el: _Element): PublicRSAKeyAttributes; export declare function _encode_PublicRSAKeyAttributes(value: PublicRSAKeyAttributes, elGetter: $.ASN1Encoder<PublicRSAKeyAttributes>): _Element; //# sourceMappingURL=PublicRSAKeyAttributes.ta.d.ts.map