Class GeneratedCert

java.lang.Object
net.targetr.wtm3.net.tls.GeneratedCert

public class GeneratedCert extends Object
Wraps a certificate and private key into one object.
Author:
Dr Michael Gardiner
  • Field Details

    • privateKey

      public final PrivateKey privateKey
      The private key matching certificate.
    • certificate

      public final X509Certificate certificate
      The certificate matching the private key
  • Constructor Details

    • GeneratedCert

      public GeneratedCert(PrivateKey privateKey, X509Certificate certificate)
      Creates a new GeneratedCert object with private key and certificate.
      Parameters:
      privateKey - Private key to use for communications.
      certificate - Certificate to use with private key.