Constructor and Description |
---|
PrivateKeyLoader(InputStream privateKeyInputStream,
String keyPassword) |
PrivateKeyLoader(String privateKeyLocation,
String keyPassword) |
Modifier and Type | Method and Description |
---|---|
void |
setPrivateKey(InputStream privateKeyInputStream,
String keyPassword) |
void |
setPrivateKey(String privateKeyLocation,
String keyPassword) |
public PrivateKeyLoader(InputStream privateKeyInputStream, String keyPassword)
public void setPrivateKey(String privateKeyLocation, String keyPassword)
privateKeyLocation
- private key located in filesystemkeyPassword
- private key passwordKeyException
- thrown when any security exception occurspublic void setPrivateKey(InputStream privateKeyInputStream, String keyPassword)
privateKeyInputStream
- private key's input streamkeyPassword
- private key passwordKeyException
- thrown when any security exception occursCopyright © 2010–2018. All rights reserved.