pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
20 lines • 1.31 kB
TypeScript
import { ASN1Element as _Element, BOOLEAN, OPTIONAL } from "asn1-ts";
import * as $ from "asn1-ts/dist/node/functional";
import { Identifier } from "../PKCS-15/Identifier.ta";
export { Identifier, _decode_Identifier, _encode_Identifier, } from "../PKCS-15/Identifier.ta";
export declare class AuthKeyAttributes {
readonly derivedKey: OPTIONAL<BOOLEAN>;
readonly authKeyId: Identifier;
readonly _unrecognizedExtensionsList: _Element[];
constructor(derivedKey: OPTIONAL<BOOLEAN>, authKeyId: Identifier, _unrecognizedExtensionsList?: _Element[]);
static _from_object(_o: {
[_K in keyof AuthKeyAttributes]: AuthKeyAttributes[_K];
}): AuthKeyAttributes;
static get _default_value_for_derivedKey(): boolean;
}
export declare const _root_component_type_list_1_spec_for_AuthKeyAttributes: $.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_AuthKeyAttributes: $.ComponentSpec[];
export declare const _extension_additions_list_spec_for_AuthKeyAttributes: $.ComponentSpec[];
export declare function _decode_AuthKeyAttributes(el: _Element): AuthKeyAttributes;
export declare function _encode_AuthKeyAttributes(value: AuthKeyAttributes, elGetter: $.ASN1Encoder<AuthKeyAttributes>): _Element;
//# sourceMappingURL=AuthKeyAttributes.ta.d.ts.map