public class BCPrivateKeyDecryptor extends Object implements IPrivateKeyDecryptor
| Constructor and Description |
|---|
BCPrivateKeyDecryptor() |
| Modifier and Type | Method and Description |
|---|---|
PrivateKey |
decryptPrivateKey(String encryptedPrivateKey,
String passphrase)
Decrypts private key with provided passphrase using Bouncy Castle library
|
public BCPrivateKeyDecryptor()
public PrivateKey decryptPrivateKey(String encryptedPrivateKey, String passphrase)
decryptPrivateKey in interface IPrivateKeyDecryptorencryptedPrivateKey - Encoded private key string.passphrase - Private key passphrase.