public interface KeyStoreHelper
| Modifier and Type | Method and Description |
|---|---|
java.security.KeyStore |
getKeyStore(java.io.InputStream inputStream,
java.lang.String password)
Gets the key store.
|
java.security.KeyStore |
getKeyStore(java.lang.String instanceType,
java.io.InputStream inputStream,
java.lang.String password)
Gets the key store.
|
java.lang.String |
getModulusAsBase64String(byte[] modulus)
Gets Modulus as a Base64 encoded string.
|
java.security.PrivateKey |
getPrivateKey(java.security.KeyStore keyStore,
java.lang.String alias,
java.lang.String password)
Gets the private key.
|
java.lang.String |
getPublicExponentAsBase64String(byte[] publicExponent)
Gets Public Exponent as a Base64 encoded string.
|
java.security.PublicKey |
getPublicKey(java.security.KeyStore keyStore,
java.lang.String alias)
Gets the public key.
|
Signer |
getSigner(java.lang.String instanceType,
java.io.InputStream inputStream,
java.lang.String alias,
java.lang.String password)
Gets the signer.
|
Signer getSigner(java.lang.String instanceType,
java.io.InputStream inputStream,
java.lang.String alias,
java.lang.String password)
throws KeyStoreProcessingException
instanceType - the instance typeinputStream - the input streamalias - the aliaspassword - the passwordKeyStoreProcessingException - the key store processing exceptionjava.security.KeyStore getKeyStore(java.io.InputStream inputStream,
java.lang.String password)
throws KeyStoreProcessingException
inputStream - the input streampassword - the passwordKeyStoreProcessingException - the key store processing exceptionjava.security.PrivateKey getPrivateKey(java.security.KeyStore keyStore,
java.lang.String alias,
java.lang.String password)
throws KeyStoreProcessingException
keyStore - the key storealias - the aliaspassword - the passwordKeyStoreProcessingException - the key store processing exceptionjava.security.PublicKey getPublicKey(java.security.KeyStore keyStore,
java.lang.String alias)
throws KeyStoreProcessingException
keyStore - the key storealias - the aliasKeyStoreProcessingException - the key store processing exceptionjava.security.KeyStore getKeyStore(java.lang.String instanceType,
java.io.InputStream inputStream,
java.lang.String password)
throws KeyStoreProcessingException
instanceType - the instance typeinputStream - the input streampassword - the passwordKeyStoreProcessingException - the key store processing exceptionjava.lang.String getModulusAsBase64String(byte[] modulus)
modulus - the modulusjava.lang.String getPublicExponentAsBase64String(byte[] publicExponent)
publicExponent - the publicExponentCopyright © 2018 SAP SE. All Rights Reserved.