pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
22 lines • 1.56 kB
TypeScript
import { Parameters } from "ansi-x9-62/dist/node/modules/ANSI-X9-62/Parameters.ta";
import { ASN1Element as _Element, OPTIONAL } from "asn1-ts";
import * as $ from "asn1-ts/dist/node/functional";
import { ECPrivateKey } from "../PKCS-15/ECPrivateKey.ta";
import { KeyInfo } from "../PKCS-15/KeyInfo.ta";
import { ObjectValue } from "../PKCS-15/ObjectValue.ta";
import { PublicKeyOperations } from "../PKCS-15/PublicKeyOperations.ta";
export declare class PrivateECKeyAttributes {
readonly value: ObjectValue<ECPrivateKey>;
readonly keyInfo: OPTIONAL<KeyInfo<Parameters, PublicKeyOperations>>;
readonly _unrecognizedExtensionsList: _Element[];
constructor(value: ObjectValue<ECPrivateKey>, keyInfo: OPTIONAL<KeyInfo<Parameters, PublicKeyOperations>>, _unrecognizedExtensionsList?: _Element[]);
static _from_object(_o: {
[_K in keyof PrivateECKeyAttributes]: PrivateECKeyAttributes[_K];
}): PrivateECKeyAttributes;
}
export declare const _root_component_type_list_1_spec_for_PrivateECKeyAttributes: $.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_PrivateECKeyAttributes: $.ComponentSpec[];
export declare const _extension_additions_list_spec_for_PrivateECKeyAttributes: $.ComponentSpec[];
export declare function _decode_PrivateECKeyAttributes(el: _Element): PrivateECKeyAttributes;
export declare function _encode_PrivateECKeyAttributes(value: PrivateECKeyAttributes, elGetter: $.ASN1Encoder<PrivateECKeyAttributes>): _Element;
//# sourceMappingURL=PrivateECKeyAttributes.ta.d.ts.map