Class CertificateCallback

  • All Implemented Interfaces:
    Callback

    public class CertificateCallback
    extends Object
    implements Callback
    A Callback for SSL certificates. Will return a certificate chain to its client.
    Author:
    sepandm@gmail.com (Sepand)
    • Constructor Detail

      • CertificateCallback

        public CertificateCallback()
    • Method Detail

      • setCertificates

        public void setCertificates​(X509Certificate[] certs)
        Setter for certificate chain.
        Parameters:
        certs - The certificates to be returned.
      • getCertificates

        public X509Certificate[] getCertificates()
        Getter for certificate chain.
        Returns:
        The certificates being carried.