Class GeneralNameUtils

java.lang.Object
io.netty.pkitesting.GeneralNameUtils

final class GeneralNameUtils extends Object
Encodes a limited set of GeneralName types, no decoding is supported. See ITU-T X.509 (10/2019) Section 9.3.2.1, or RFC 5280 Section 4.2.1.6.
  • Constructor Details

    • GeneralNameUtils

      private GeneralNameUtils()
  • Method Details

    • otherName

      static org.bouncycastle.asn1.x509.GeneralName otherName(String oid, byte[] value)
    • rfc822Name

      static org.bouncycastle.asn1.x509.GeneralName rfc822Name(String emailAddress)
    • dnsName

      static org.bouncycastle.asn1.x509.GeneralName dnsName(String dnsName)
    • directoryName

      static org.bouncycastle.asn1.x509.GeneralName directoryName(String x500Name)
    • directoryName

      static org.bouncycastle.asn1.x509.GeneralName directoryName(X500Principal name)
    • uriName

      static org.bouncycastle.asn1.x509.GeneralName uriName(String uri) throws URISyntaxException
      Throws:
      URISyntaxException
    • uriName

      static org.bouncycastle.asn1.x509.GeneralName uriName(URI uri)
    • ipAddress

      static org.bouncycastle.asn1.x509.GeneralName ipAddress(String ipAddress)
    • registeredId

      static org.bouncycastle.asn1.x509.GeneralName registeredId(String oid)