UNPKG

pkcs-ts

Version:

PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More

28 lines 2.02 kB
import { ASN1Element as _Element, BOOLEAN, OPTIONAL } from "asn1-ts"; import * as $ from "asn1-ts/dist/node/functional"; import { CredentialIdentifier } from "../PKCS-15/CredentialIdentifier.ta"; import { Identifier } from "../PKCS-15/Identifier.ta"; import { Usage } from "../PKCS-15/Usage.ta"; import { OOBCertHash } from "../PKIXCMP-2009/OOBCertHash.ta"; export declare class CommonCertificateAttributes { readonly iD: Identifier; readonly authority: OPTIONAL<BOOLEAN>; readonly identifier: OPTIONAL<CredentialIdentifier>; readonly certHash: OPTIONAL<OOBCertHash>; readonly trustedUsage: OPTIONAL<Usage>; readonly identifiers: OPTIONAL<CredentialIdentifier[]>; readonly implicitTrust: OPTIONAL<BOOLEAN>; readonly _unrecognizedExtensionsList: _Element[]; constructor(iD: Identifier, authority: OPTIONAL<BOOLEAN>, identifier: OPTIONAL<CredentialIdentifier>, certHash: OPTIONAL<OOBCertHash>, trustedUsage: OPTIONAL<Usage>, identifiers: OPTIONAL<CredentialIdentifier[]>, implicitTrust: OPTIONAL<BOOLEAN>, _unrecognizedExtensionsList?: _Element[]); static _from_object(_o: { [_K in keyof CommonCertificateAttributes]: CommonCertificateAttributes[_K]; }): CommonCertificateAttributes; static get _default_value_for_authority(): boolean; static get _default_value_for_implicitTrust(): boolean; } export declare const _root_component_type_list_1_spec_for_CommonCertificateAttributes: $.ComponentSpec[]; export declare const _root_component_type_list_2_spec_for_CommonCertificateAttributes: $.ComponentSpec[]; export declare const _extension_additions_list_spec_for_CommonCertificateAttributes: $.ComponentSpec[]; export declare function _decode_CommonCertificateAttributes(el: _Element): CommonCertificateAttributes; export declare function _encode_CommonCertificateAttributes(value: CommonCertificateAttributes, elGetter: $.ASN1Encoder<CommonCertificateAttributes>): _Element; //# sourceMappingURL=CommonCertificateAttributes.ta.d.ts.map