pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
19 lines • 1.41 kB
TypeScript
import { ASN1Element as _Element, OPTIONAL } from "asn1-ts";
import * as $ from "asn1-ts/dist/node/functional";
import { Name } from "x500-ts/dist/node/modules/InformationFramework/Name.ta";
import { CredentialIdentifier } from "../PKCS-15/CredentialIdentifier.ta";
export declare class CommonPrivateKeyAttributes {
readonly subjectName: OPTIONAL<Name>;
readonly keyIdentifiers: OPTIONAL<CredentialIdentifier[]>;
readonly _unrecognizedExtensionsList: _Element[];
constructor(subjectName: OPTIONAL<Name>, keyIdentifiers: OPTIONAL<CredentialIdentifier[]>, _unrecognizedExtensionsList?: _Element[]);
static _from_object(_o: {
[_K in keyof CommonPrivateKeyAttributes]: CommonPrivateKeyAttributes[_K];
}): CommonPrivateKeyAttributes;
}
export declare const _root_component_type_list_1_spec_for_CommonPrivateKeyAttributes: $.ComponentSpec[];
export declare const _root_component_type_list_2_spec_for_CommonPrivateKeyAttributes: $.ComponentSpec[];
export declare const _extension_additions_list_spec_for_CommonPrivateKeyAttributes: $.ComponentSpec[];
export declare function _decode_CommonPrivateKeyAttributes(el: _Element): CommonPrivateKeyAttributes;
export declare function _encode_CommonPrivateKeyAttributes(value: CommonPrivateKeyAttributes, elGetter: $.ASN1Encoder<CommonPrivateKeyAttributes>): _Element;
//# sourceMappingURL=CommonPrivateKeyAttributes.ta.d.ts.map