Class UnbluClientCertRequestData

java.lang.Object
com.unblu.sdk.core.model.UnbluClientCertRequestData

public class UnbluClientCertRequestData extends Object
Represents the data required for proceeding with a client certificate request in the Unblu SDK. This class encapsulates a private key PrivateKey and a certificate chain X509Certificate for client authentication. This data will be used later on when requested by the client
  • Constructor Details

    • UnbluClientCertRequestData

      public UnbluClientCertRequestData(PrivateKey privateKey, X509Certificate[] certificateChain)
      Constructs a new UnbluClientCertRequestData instance with the specified private key and certificate chain.
      Parameters:
      privateKey - The private key used for authentication.
      certificateChain - The certificate chain associated with the private key.
  • Method Details

    • getPrivateKey

      public PrivateKey getPrivateKey()
      Returns:
      The private key used for authentication.
    • setPrivateKey

      public void setPrivateKey(PrivateKey privateKey)
      Sets the private key.
      Parameters:
      privateKey - The private key to be used for authentication.
    • getCertificateChain

      public X509Certificate[] getCertificateChain()
      Returns:
      The certificate chain associated with the private key.
    • setCertificateChain

      public void setCertificateChain(X509Certificate[] certificateChain)
      Sets the certificate chain.
      Parameters:
      certificateChain - The certificate chain to be associated with the private key.