Class SelfSignedCertificate

java.lang.Object
io.vertx.mutiny.core.net.SelfSignedCertificate
All Implemented Interfaces:
MutinyDelegate

public class SelfSignedCertificate extends Object implements MutinyDelegate
A self-signed certificate helper for testing and development purposes.

While it helps for testing and development, it should never ever be used in production settings.

NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

  • Field Details

  • Constructor Details

    • SelfSignedCertificate

      public SelfSignedCertificate(io.vertx.core.net.SelfSignedCertificate delegate)
    • SelfSignedCertificate

      public SelfSignedCertificate(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.core.net.SelfSignedCertificate getDelegate()
      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate used by this Mutiny object of generated type
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • keyCertOptions

      public io.vertx.core.net.PemKeyCertOptions keyCertOptions()
      Returns:
      a PemKeyCertOptions based on the generated certificate.
    • trustOptions

      public io.vertx.core.net.PemTrustOptions trustOptions()
      Returns:
      a PemTrustOptions based on the generated certificate.
    • privateKeyPath

      public String privateKeyPath()
      Returns:
      the absolute path to the private key.
    • certificatePath

      public String certificatePath()
      Returns:
      the absolute path to the certificate.
    • delete

      public void delete()
    • create

      public static SelfSignedCertificate create()
      Returns:
      a new instance.
    • create

      public static SelfSignedCertificate create(String fqdn)
      Parameters:
      fqdn - a fully qualified domain name.
      Returns:
      a new instance.
    • newInstance

      public static SelfSignedCertificate newInstance(io.vertx.core.net.SelfSignedCertificate arg)