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 Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) static org.bouncycastle.asn1.x509.GeneralName
     
    (package private) static org.bouncycastle.asn1.x509.GeneralName
     
    (package private) static org.bouncycastle.asn1.x509.GeneralName
    dnsName(String dnsName)
     
    (package private) static org.bouncycastle.asn1.x509.GeneralName
    ipAddress(String ipAddress)
     
    (package private) static org.bouncycastle.asn1.x509.GeneralName
    otherName(String oid, byte[] value)
     
    (package private) static org.bouncycastle.asn1.x509.GeneralName
     
    (package private) static org.bouncycastle.asn1.x509.GeneralName
    rfc822Name(String emailAddress)
     
    (package private) static org.bouncycastle.asn1.x509.GeneralName
     
    (package private) static org.bouncycastle.asn1.x509.GeneralName
    uriName(URI uri)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)