Interface GeneralName

All Known Implementing Classes:
GeneralName.DirectoryName, GeneralName.DnsName, GeneralName.IpAddress, GeneralName.OtherName, GeneralName.RegisteredId, GeneralName.Rfc822Name, GeneralName.UniformResourceIdentifier

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.