pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
18 lines • 1.25 kB
TypeScript
import { ASN1Element as _Element, OBJECT_IDENTIFIER, OPTIONAL } from "asn1-ts";
import * as $ from "asn1-ts/dist/node/functional";
export { OTHER_KEY_ATTRIBUTE } from "../CryptographicMessageSyntax/OTHER-KEY-ATTRIBUTE.oca";
export { OtherKeyAttributeTable } from "../CryptographicMessageSyntax/OtherKeyAttributeTable.osa";
export declare class OtherKeyAttribute {
readonly keyAttributeIdentifier: OBJECT_IDENTIFIER;
readonly keyAttribute: OPTIONAL<_Element>;
constructor(keyAttributeIdentifier: OBJECT_IDENTIFIER, keyAttribute: OPTIONAL<_Element>);
static _from_object(_o: {
[_K in keyof OtherKeyAttribute]: OtherKeyAttribute[_K];
}): OtherKeyAttribute;
}
export declare const _root_component_type_list_1_spec_for_OtherKeyAttribute: $.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_OtherKeyAttribute: $.ComponentSpec[];
export declare const _extension_additions_list_spec_for_OtherKeyAttribute: $.ComponentSpec[];
export declare function _decode_OtherKeyAttribute(el: _Element): OtherKeyAttribute;
export declare function _encode_OtherKeyAttribute(value: OtherKeyAttribute, elGetter: $.ASN1Encoder<OtherKeyAttribute>): _Element;
//# sourceMappingURL=OtherKeyAttribute.ta.d.ts.map