Class GrpcSslUtils


  • public class GrpcSslUtils
    extends java.lang.Object
    • Constructor Detail

      • GrpcSslUtils

        public GrpcSslUtils()
    • Method Detail

      • getKeyManagers

        public static javax.net.ssl.KeyManager[] getKeyManagers​(SSLFactory sslFactory)
                                                         throws java.security.UnrecoverableKeyException,
                                                                java.security.cert.CertificateException,
                                                                java.security.KeyStoreException,
                                                                java.io.IOException,
                                                                java.security.NoSuchAlgorithmException
        Throws:
        java.security.UnrecoverableKeyException
        java.security.cert.CertificateException
        java.security.KeyStoreException
        java.io.IOException
        java.security.NoSuchAlgorithmException
      • getTrustManagers

        public static javax.net.ssl.TrustManager[] getTrustManagers​(SSLFactory sslFactory)
                                                             throws java.security.cert.CertificateException,
                                                                    java.security.KeyStoreException,
                                                                    java.io.IOException,
                                                                    java.security.NoSuchAlgorithmException
        Throws:
        java.security.cert.CertificateException
        java.security.KeyStoreException
        java.io.IOException
        java.security.NoSuchAlgorithmException
      • getKeyManagers

        public static javax.net.ssl.KeyManager[] getKeyManagers​(SSLFactory sslFactory,
                                                                java.lang.String algorithm)
                                                         throws java.security.cert.CertificateException,
                                                                java.security.KeyStoreException,
                                                                java.io.IOException,
                                                                java.security.NoSuchAlgorithmException,
                                                                java.security.UnrecoverableKeyException
        Throws:
        java.security.cert.CertificateException
        java.security.KeyStoreException
        java.io.IOException
        java.security.NoSuchAlgorithmException
        java.security.UnrecoverableKeyException
      • getTrustManagers

        public static javax.net.ssl.TrustManager[] getTrustManagers​(SSLFactory sslFactory,
                                                                    java.lang.String algorithm)
                                                             throws java.security.cert.CertificateException,
                                                                    java.security.KeyStoreException,
                                                                    java.io.IOException,
                                                                    java.security.NoSuchAlgorithmException
        Throws:
        java.security.cert.CertificateException
        java.security.KeyStoreException
        java.io.IOException
        java.security.NoSuchAlgorithmException