UNPKG

pkcs-ts

Version:

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

34 lines 2.88 kB
import { ASN1Element as _Element, GeneralizedTime, INTEGER, OCTET_STRING, OPTIONAL } from "asn1-ts"; import * as $ from "asn1-ts/dist/node/functional"; import { Path } from "../PKCS-15/Path.ta"; import { PinFlags } from "../PKCS-15/PinFlags.ta"; import { PinType, _enum_for_PinType } from "../PKCS-15/PinType.ta"; import { Reference } from "../PKCS-15/Reference.ta"; export { Path, _decode_Path, _encode_Path } from "../PKCS-15/Path.ta"; export { case_sensitive, change_disabled, confidentiality_protected, disable_allowed, exchangeRefData, initialized, integrity_protected, local, needs_padding, PinFlags, PinFlags_case_sensitive, PinFlags_change_disabled, PinFlags_confidentiality_protected, PinFlags_disable_allowed, PinFlags_exchangeRefData, PinFlags_initialized, PinFlags_integrity_protected, PinFlags_local, PinFlags_needs_padding, PinFlags_soPin, PinFlags_unblockingPin, PinFlags_unblock_disabled, soPin, unblockingPin, unblock_disabled, _decode_PinFlags, _encode_PinFlags, } from "../PKCS-15/PinFlags.ta"; export { ascii_numeric, bcd, half_nibble_bcd, iso9564_1, PinType, PinType_ascii_numeric, PinType_bcd, PinType_half_nibble_bcd, PinType_iso9564_1, PinType_utf8, utf8, _decode_PinType, _encode_PinType, _enum_for_PinType, } from "../PKCS-15/PinType.ta"; export { Reference, _decode_Reference, _encode_Reference, } from "../PKCS-15/Reference.ta"; export declare class PinAttributes { readonly pinFlags: PinFlags; readonly pinType: PinType; readonly minLength: INTEGER; readonly storedLength: INTEGER; readonly maxLength: OPTIONAL<INTEGER>; readonly pinReference: OPTIONAL<Reference>; readonly padChar: OPTIONAL<OCTET_STRING>; readonly lastPinChange: OPTIONAL<GeneralizedTime>; readonly path: OPTIONAL<Path>; readonly _unrecognizedExtensionsList: _Element[]; constructor(pinFlags: PinFlags, pinType: PinType, minLength: INTEGER, storedLength: INTEGER, maxLength: OPTIONAL<INTEGER>, pinReference: OPTIONAL<Reference>, padChar: OPTIONAL<OCTET_STRING>, lastPinChange: OPTIONAL<GeneralizedTime>, path: OPTIONAL<Path>, _unrecognizedExtensionsList?: _Element[]); static _from_object(_o: { [_K in keyof PinAttributes]: PinAttributes[_K]; }): PinAttributes; static get _default_value_for_pinReference(): number; static _enum_for_pinType: typeof _enum_for_PinType; } export declare const _root_component_type_list_1_spec_for_PinAttributes: $.ComponentSpec[]; export declare const _root_component_type_list_2_spec_for_PinAttributes: $.ComponentSpec[]; export declare const _extension_additions_list_spec_for_PinAttributes: $.ComponentSpec[]; export declare function _decode_PinAttributes(el: _Element): PinAttributes; export declare function _encode_PinAttributes(value: PinAttributes, elGetter: $.ASN1Encoder<PinAttributes>): _Element; //# sourceMappingURL=PinAttributes.ta.d.ts.map