import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AuthorityInfoAccess } from "./authorityinfoaccess.js"; import { BasicConstraints } from "./basicconstraints.js"; import { CabfOrganizationId } from "./cabforganizationid.js"; import { CertificatePolicy } from "./certificatepolicy.js"; import { ExtendedKeyUsage } from "./extendedkeyusage.js"; import { GeneralNames } from "./generalnames.js"; import { KeyUsage } from "./keyusage.js"; import { NameConstraints } from "./nameconstraints.js"; import { QcStatements } from "./qcstatements.js"; import { SignedCertificateTimestamp } from "./signedcertificatetimestamp.js"; import { TorServiceDescriptor } from "./torservicedescriptor.js"; export type CertificateExtensions = { authorityInfoAccess?: AuthorityInfoAccess | undefined; /** * A key identifier, usually a digest of the DER-encoded SubjectPublicKeyInfo. */ authorityKeyId?: string | undefined; basicConstraints?: BasicConstraints | undefined; cabfOrganizationId?: CabfOrganizationId | undefined; /** * The parsed id-ce-certificatePolicies extension (OID: 2.5.29.32). */ certificatePolicies?: Array | null | undefined; /** * The parsed id-ce-cRLDistributionPoints extension (OID: 2.5.29.31). Contents are a list of distributionPoint URLs; other distributionPoint types are omitted). */ crlDistributionPoints?: Array | null | undefined; /** * Whether the certificate possesses the pre-certificate "poison" extension (OID: 1.3.6.1.4.1.11129.2.4.3). */ ctPoison?: boolean | undefined; extendedKeyUsage?: ExtendedKeyUsage | undefined; issuerAltName?: GeneralNames | undefined; keyUsage?: KeyUsage | undefined; nameConstraints?: NameConstraints | undefined; qcStatements?: QcStatements | undefined; signedCertificateTimestamps?: Array | null | undefined; subjectAltName?: GeneralNames | undefined; /** * A key identifier, usually a digest of the DER-encoded SubjectPublicKeyInfo.. */ subjectKeyId?: string | undefined; torServiceDescriptors?: Array | null | undefined; }; /** @internal */ export declare const CertificateExtensions$inboundSchema: z.ZodType; export declare function certificateExtensionsFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=certificateextensions.d.ts.map