public class JKSBasedCipherProvider extends Object
Modifier and Type | Field and Description |
---|---|
static String |
KEY_STORE_PASSWORD |
static String |
PRIVATE_KEY_PASSWORD |
Constructor and Description |
---|
JKSBasedCipherProvider() |
Modifier and Type | Method and Description |
---|---|
byte[] |
decrypt(byte[] cipherText) |
byte[] |
encrypt(byte[] plainText) |
void |
init(SecretRepositoryConfiguration secretRepositoryConfiguration,
List<MasterKey> masterKeys) |
public static final String KEY_STORE_PASSWORD
public static final String PRIVATE_KEY_PASSWORD
public void init(SecretRepositoryConfiguration secretRepositoryConfiguration, List<MasterKey> masterKeys) throws SecureVaultException
SecureVaultException
public byte[] encrypt(byte[] plainText) throws SecureVaultException
SecureVaultException
public byte[] decrypt(byte[] cipherText) throws SecureVaultException
SecureVaultException
Copyright © 2017 WSO2. All rights reserved.