pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
20 lines • 2.14 kB
TypeScript
import { ASN1Element as _Element, OPTIONAL } from "asn1-ts";
import * as $ from "asn1-ts/dist/node/functional";
import { CommonObjectAttributes } from "../PKCS-15/CommonObjectAttributes.ta";
export { CommonObjectAttributes, _decode_CommonObjectAttributes, _encode_CommonObjectAttributes, } from "../PKCS-15/CommonObjectAttributes.ta";
export declare class PKCS15Object<ClassAttributes, SubClassAttributes, TypeAttributes> {
readonly commonObjectAttributes: CommonObjectAttributes;
readonly classAttributes: ClassAttributes;
readonly subClassAttributes: OPTIONAL<SubClassAttributes>;
readonly typeAttributes: TypeAttributes;
constructor(commonObjectAttributes: CommonObjectAttributes, classAttributes: ClassAttributes, subClassAttributes: OPTIONAL<SubClassAttributes>, typeAttributes: TypeAttributes);
static _from_object(_o: {
[_K in keyof PKCS15Object<any, any, any>]: PKCS15Object<any, any, any>[_K];
}): PKCS15Object<any, any, any>;
}
export declare const _root_component_type_list_1_spec_for_PKCS15Object: $.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_PKCS15Object: $.ComponentSpec[];
export declare const _extension_additions_list_spec_for_PKCS15Object: $.ComponentSpec[];
export declare function _get_decoder_for_PKCS15Object<ClassAttributes, SubClassAttributes, TypeAttributes>(_decode_ClassAttributes: $.ASN1Decoder<ClassAttributes>, _decode_SubClassAttributes: $.ASN1Decoder<SubClassAttributes>, _decode_TypeAttributes: $.ASN1Decoder<TypeAttributes>): (el: _Element) => PKCS15Object<ClassAttributes, SubClassAttributes, TypeAttributes>;
export declare function _get_encoder_for_PKCS15Object<ClassAttributes, SubClassAttributes, TypeAttributes>(_encode_ClassAttributes: $.ASN1Encoder<ClassAttributes>, _encode_SubClassAttributes: $.ASN1Encoder<SubClassAttributes>, _encode_TypeAttributes: $.ASN1Encoder<TypeAttributes>): (value: PKCS15Object<ClassAttributes, SubClassAttributes, TypeAttributes>, elGetter: $.ASN1Encoder<PKCS15Object<ClassAttributes, SubClassAttributes, TypeAttributes>>) => _Element;
//# sourceMappingURL=PKCS15Object.ta.d.ts.map