UNPKG

pkcs-ts

Version:

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

24 lines 1.69 kB
import { ASN1Element as _Element, INTEGER, OPTIONAL } from "asn1-ts"; import * as $ from "asn1-ts/dist/node/functional"; import { AccessControlRule } from "../PKCS-15/AccessControlRule.ta"; import { CommonObjectFlags } from "../PKCS-15/CommonObjectFlags.ta"; import { Identifier } from "../PKCS-15/Identifier.ta"; import { Label } from "../PKCS-15/Label.ta"; export declare class CommonObjectAttributes { readonly label: OPTIONAL<Label>; readonly flags: OPTIONAL<CommonObjectFlags>; readonly authId: OPTIONAL<Identifier>; readonly userConsent: OPTIONAL<INTEGER>; readonly accessControlRules: OPTIONAL<AccessControlRule[]>; readonly _unrecognizedExtensionsList: _Element[]; constructor(label: OPTIONAL<Label>, flags: OPTIONAL<CommonObjectFlags>, authId: OPTIONAL<Identifier>, userConsent: OPTIONAL<INTEGER>, accessControlRules: OPTIONAL<AccessControlRule[]>, _unrecognizedExtensionsList?: _Element[]); static _from_object(_o: { [_K in keyof CommonObjectAttributes]: CommonObjectAttributes[_K]; }): CommonObjectAttributes; } export declare const _root_component_type_list_1_spec_for_CommonObjectAttributes: $.ComponentSpec[]; export declare const _root_component_type_list_2_spec_for_CommonObjectAttributes: $.ComponentSpec[]; export declare const _extension_additions_list_spec_for_CommonObjectAttributes: $.ComponentSpec[]; export declare function _decode_CommonObjectAttributes(el: _Element): CommonObjectAttributes; export declare function _encode_CommonObjectAttributes(value: CommonObjectAttributes, elGetter: $.ASN1Encoder<CommonObjectAttributes>): _Element; //# sourceMappingURL=CommonObjectAttributes.ta.d.ts.map