import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { DistinguishedName } from "./distinguishedname.js"; import { EdiPartyName } from "./edipartyname.js"; import { GeneralSubtreeIp } from "./generalsubtreeip.js"; export type NameConstraints = { critical?: boolean | undefined; /** * A record providing excluded names of the type directoryName in leaf certificates whose trust path includes this certificate. */ excludedDirectoryNames?: Array | null | undefined; /** * A record providing excluded names of the type ediPartyName in leaf certificates whose trust path includes this certificate. */ excludedEdiPartyNames?: Array | null | undefined; /** * A record providing a range of excluded names of the type rfc822Name in leaf certificates whose trust path includes this certificate. */ excludedEmailAddresses?: Array | null | undefined; /** * A record providing a range of excluded names of the type iPAddress in leaf certificates whose trust path includes this certificate. */ excludedIpAddresses?: Array | null | undefined; /** * A record providing a range of excluded names of the type dNSName in leaf certificates whose trust path includes this certificate. */ excludedNames?: Array | null | undefined; /** * A record providing excluded names of the type registeredID in leaf certificates whose trust path includes this certificate. */ excludedRegisteredIds?: Array | null | undefined; /** * A record providing a range of excluded uniform resource identifiers in leaf certificates whose trust path includes this certificate. */ excludedUris?: Array | null | undefined; /** * A record providing permitted names of the type directoryName in leaf certificates whose trust path includes this certificate. */ permittedDirectoryNames?: Array | null | undefined; /** * A record providing permitted names of the type ediPartyName in leaf certificates whose trust path includes this certificate. */ permittedEdiPartyNames?: Array | null | undefined; /** * A record providing a range of permitted names of the type rfc822Name in leaf certificates whose trust path includes this certificate. */ permittedEmailAddresses?: Array | null | undefined; /** * A record providing a range of permitted names of the type iPAddress in leaf certificates whose trust path includes this certificate. */ permittedIpAddresses?: Array | null | undefined; /** * A record providing a range of permitted names of the type dNSName in leaf certificates whose trust path includes this certificate. */ permittedNames?: Array | null | undefined; /** * A record providing permitted names of the type registeredID in leaf certificates whose trust path includes this certificate. */ permittedRegisteredIds?: Array | null | undefined; /** * A record providing a range of permitted uniform resource identifiers in leaf certificates whose trust path includes this certificate. */ permittedUris?: Array | null | undefined; }; /** @internal */ export declare const NameConstraints$inboundSchema: z.ZodType; export declare function nameConstraintsFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=nameconstraints.d.ts.map