pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
20 lines • 1.25 kB
TypeScript
import { ASN1Element as _Element, OPTIONAL } from "asn1-ts";
import * as $ from "asn1-ts/dist/node/functional";
import { AlgorithmIdentifier } from "x500-ts/dist/node/modules/AuthenticationFramework/AlgorithmIdentifier.ta";
import { Label } from "../PKCS-15/Label.ta";
export { Label, _decode_Label, _encode_Label } from "../PKCS-15/Label.ta";
export declare class PasswordInfo {
readonly hint: OPTIONAL<Label>;
readonly algId: AlgorithmIdentifier;
readonly _unrecognizedExtensionsList: _Element[];
constructor(hint: OPTIONAL<Label>, algId: AlgorithmIdentifier, _unrecognizedExtensionsList?: _Element[]);
static _from_object(_o: {
[_K in keyof PasswordInfo]: PasswordInfo[_K];
}): PasswordInfo;
}
export declare const _root_component_type_list_1_spec_for_PasswordInfo: $.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_PasswordInfo: $.ComponentSpec[];
export declare const _extension_additions_list_spec_for_PasswordInfo: $.ComponentSpec[];
export declare function _decode_PasswordInfo(el: _Element): PasswordInfo;
export declare function _encode_PasswordInfo(value: PasswordInfo, elGetter: $.ASN1Encoder<PasswordInfo>): _Element;
//# sourceMappingURL=PasswordInfo.ta.d.ts.map