Class CertificateRequest

  • All Implemented Interfaces:

    
    public class CertificateRequest
    
                        

    The certificate request includes information to help choose the client certificate.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final Array<String> keyTypes
      public final Array<Principal> principals
      public final String host
      public final int port
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Array<String> getKeyTypes()
      Array<Principal> getPrincipals()
      String getHost()
      int getPort()
      void proceed(@Nullable() PrivateKey privateKey, @Nullable() Array<X509Certificate> chain) Proceed with the provided certificate information.
      void ignore() Ignore the request.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • getHost

        @NonNull() String getHost()
      • proceed

         void proceed(@Nullable() PrivateKey privateKey, @Nullable() Array<X509Certificate> chain)

        Proceed with the provided certificate information.

        Parameters:
        privateKey - the private key.
        chain - the certificate chain.
      • ignore

         void ignore()

        Ignore the request.