public class UserKeyStoreParam extends Object implements KeyStoreParameter
Modifier and Type | Method and Description |
---|---|
UserKeyStoreParam |
addCertificate(byte[] cert)
Add base64-encoded X509 certificate into the KeyStoreParam to setup KeyStore
|
UserKeyStoreParam |
addCertificate(String cert)
Add base64-encoded X509 certificate into the KeyStoreParam to setup KeyStore
|
static UserKeyStoreParam |
Build() |
Vector |
getCertificateList()
Get the list of base64 encoded certificates for loading UserKeyStore
|
Object |
getPrivateKey()
Get the base64-encoded private key for loading UserKeyStore
|
UserKeyStoreParam |
setPrivateKey(byte[] key)
Set base64-encoded private key of the KeyStoreParam to setup KeyStore
|
UserKeyStoreParam |
setPrivateKey(String key)
Set base64-encoded private key of the KeyStoreParam to setup KeyStore
|
public static UserKeyStoreParam Build() throws IllegalArgumentException
IllegalArgumentException
public UserKeyStoreParam addCertificate(String cert)
public UserKeyStoreParam addCertificate(byte[] cert)
public UserKeyStoreParam setPrivateKey(String key)
public UserKeyStoreParam setPrivateKey(byte[] key)
public Object getPrivateKey()
public Vector getCertificateList()