ParsedNameConstraintForm
ParsedNameConstraintForm
Union of supported and unsupported name constraint forms as produced by parsing.
ts
type ParsedNameConstraintForm = {
readonly type: "dns";
readonly value: string
} | {
readonly type: "email";
readonly value: string
} | {
readonly type: "uri";
readonly value: string
} | {
readonly type: "ip";
readonly addressBytes: Uint8Array;
readonly maskBytes: Uint8Array
} | {
readonly type: "directoryName";
readonly derHex: string
} | {
readonly type: "srv";
readonly value: string
} | {
readonly type: "otherName";
readonly typeId: string;
readonly value: Uint8Array
} | {
readonly type: "x400Address";
readonly value: Uint8Array
} | {
readonly type: "ediPartyName";
readonly value: Uint8Array
} | {
readonly type: "registeredID";
readonly value: string
}