Interface GeneralName
- All Known Implementing Classes:
GeneralName.DirectoryName, GeneralName.DnsName, GeneralName.IpAddress, GeneralName.OtherName, GeneralName.RegisteredId, GeneralName.Rfc822Name, GeneralName.UniformResourceIdentifier
public sealed interface GeneralName
permits GeneralName.DnsName, GeneralName.IpAddress, GeneralName.Rfc822Name, GeneralName.UniformResourceIdentifier, GeneralName.DirectoryName, GeneralName.RegisteredId, GeneralName.OtherName
A typed X.509
GeneralName (RFC 5280, 4.2.1.6), used for subject/issuer
alternative names and related extensions.
This sealed hierarchy is the deliberately-better-typed replacement for the
untyped Collection<List<?>> exposed by
X509Certificate.getSubjectAlternativeNames() and for
toolkit-specific name classes: each variant carries exactly the data its name
type permits.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recorddirectoryName(tag 4).static final recorddNSName(tag 2).static final recordiPAddress(tag 7), as a textual IPv4/IPv6 literal.static final recordotherName(tag 0): a type-id OID plus the exact DER of the value.static final recordregisteredID(tag 8).static final recordrfc822Name(tag 1), an e-mail address.static final recorduniformResourceIdentifier(tag 6).