pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
22 lines • 1.6 kB
TypeScript
import { DomainParameters } from "ansi-x9-42/dist/node/modules/ANSI-X9-42/DomainParameters.ta";
import { ASN1Element as _Element, OPTIONAL } from "asn1-ts";
import * as $ from "asn1-ts/dist/node/functional";
import { DSAPrivateKey } from "../PKCS-15/DSAPrivateKey.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 PrivateDSAKeyAttributes {
readonly value: ObjectValue<DSAPrivateKey>;
readonly keyInfo: OPTIONAL<KeyInfo<DomainParameters, PublicKeyOperations>>;
readonly _unrecognizedExtensionsList: _Element[];
constructor(value: ObjectValue<DSAPrivateKey>, keyInfo: OPTIONAL<KeyInfo<DomainParameters, PublicKeyOperations>>, _unrecognizedExtensionsList?: _Element[]);
static _from_object(_o: {
[_K in keyof PrivateDSAKeyAttributes]: PrivateDSAKeyAttributes[_K];
}): PrivateDSAKeyAttributes;
}
export declare const _root_component_type_list_1_spec_for_PrivateDSAKeyAttributes: $.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_PrivateDSAKeyAttributes: $.ComponentSpec[];
export declare const _extension_additions_list_spec_for_PrivateDSAKeyAttributes: $.ComponentSpec[];
export declare function _decode_PrivateDSAKeyAttributes(el: _Element): PrivateDSAKeyAttributes;
export declare function _encode_PrivateDSAKeyAttributes(value: PrivateDSAKeyAttributes, elGetter: $.ASN1Encoder<PrivateDSAKeyAttributes>): _Element;
//# sourceMappingURL=PrivateDSAKeyAttributes.ta.d.ts.map