Class UnbluClientCertRequestData


  • public class UnbluClientCertRequestData
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      UnbluClientCertRequestData​(java.security.PrivateKey privateKey, java.security.cert.X509Certificate[] certificateChain)
      Constructs a new UnbluClientCertRequestData instance with the specified private key and certificate chain.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.security.cert.X509Certificate[] getCertificateChain()  
      java.security.PrivateKey getPrivateKey()  
      void setCertificateChain​(java.security.cert.X509Certificate[] certificateChain)
      Sets the certificate chain.
      void setPrivateKey​(java.security.PrivateKey privateKey)
      Sets the private key.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UnbluClientCertRequestData

        public UnbluClientCertRequestData​(java.security.PrivateKey privateKey,
                                          java.security.cert.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 Detail

      • getPrivateKey

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

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

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

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