Modifier and Type | Method and Description |
---|---|
TlsChannelCredentials.Builder |
TlsChannelCredentials.Builder.keyManager(File certChain,
File privateKey)
Use the provided certificate chain and private key as the client's identity.
|
TlsChannelCredentials.Builder |
TlsChannelCredentials.Builder.keyManager(File certChain,
File privateKey,
String privateKeyPassword)
Use the provided certificate chain and possibly-encrypted private key as the client's
identity.
|
TlsChannelCredentials.Builder |
TlsChannelCredentials.Builder.keyManager(InputStream certChain,
InputStream privateKey)
Use the provided certificate chain and private key as the client's identity.
|
TlsChannelCredentials.Builder |
TlsChannelCredentials.Builder.keyManager(InputStream certChain,
InputStream privateKey,
String privateKeyPassword)
Use the provided certificate chain and possibly-encrypted private key as the client's
identity.
|
TlsChannelCredentials.Builder |
TlsChannelCredentials.Builder.keyManager(KeyManager... keyManagers)
Have the provided key manager select the client's identity.
|
static TlsChannelCredentials.Builder |
TlsChannelCredentials.newBuilder()
Creates a builder for changing default configuration.
|
TlsChannelCredentials.Builder |
TlsChannelCredentials.Builder.requireFakeFeature()
Requires
TlsChannelCredentials.Feature.FAKE to be understood. |
TlsChannelCredentials.Builder |
TlsChannelCredentials.Builder.trustManager(File rootCerts)
Use the provided root certificates to verify the server's identity instead of the system's
default.
|
TlsChannelCredentials.Builder |
TlsChannelCredentials.Builder.trustManager(InputStream rootCerts)
Use the provided root certificates to verify the server's identity instead of the system's
default.
|
TlsChannelCredentials.Builder |
TlsChannelCredentials.Builder.trustManager(TrustManager... trustManagers)
Have the provided trust manager verify the server's identity instead of the system's default.
|