Package com.linkedin.venice.grpc
Class GrpcSslUtils
- java.lang.Object
-
- com.linkedin.venice.grpc.GrpcSslUtils
-
public class GrpcSslUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GrpcSslUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.net.ssl.KeyManager[]
getKeyManagers(SSLFactory sslFactory)
static javax.net.ssl.KeyManager[]
getKeyManagers(SSLFactory sslFactory, java.lang.String algorithm)
static javax.net.ssl.TrustManager[]
getTrustManagers(SSLFactory sslFactory)
static javax.net.ssl.TrustManager[]
getTrustManagers(SSLFactory sslFactory, java.lang.String algorithm)
-
-
-
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
-
-