pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
20 lines • 1.39 kB
TypeScript
import { ASN1Element as _Element, OBJECT_IDENTIFIER } from "asn1-ts";
import * as $ from "asn1-ts/dist/node/functional";
import { GenericSecretKeyAttributes } from "../PKCS-15/GenericSecretKeyAttributes.ta";
import { SecretKeyObject } from "../PKCS-15/SecretKeyObject.ta";
export { GenericSecretKeyAttributes, _decode_GenericSecretKeyAttributes, _encode_GenericSecretKeyAttributes, } from "../PKCS-15/GenericSecretKeyAttributes.ta";
export { SecretKeyObject, _get_decoder_for_SecretKeyObject, _get_encoder_for_SecretKeyObject, } from "../PKCS-15/SecretKeyObject.ta";
export declare class OtherKey {
readonly keyType: OBJECT_IDENTIFIER;
readonly keyAttr: SecretKeyObject<GenericSecretKeyAttributes>;
constructor(keyType: OBJECT_IDENTIFIER, keyAttr: SecretKeyObject<GenericSecretKeyAttributes>);
static _from_object(_o: {
[_K in keyof OtherKey]: OtherKey[_K];
}): OtherKey;
}
export declare const _root_component_type_list_1_spec_for_OtherKey: $.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_OtherKey: $.ComponentSpec[];
export declare const _extension_additions_list_spec_for_OtherKey: $.ComponentSpec[];
export declare function _decode_OtherKey(el: _Element): OtherKey;
export declare function _encode_OtherKey(value: OtherKey, elGetter: $.ASN1Encoder<OtherKey>): _Element;
//# sourceMappingURL=OtherKey.ta.d.ts.map