| Modifier and Type | Field and Description |
|---|---|
| public static final BouncyCastleEncryptedPrivateKeyInfoDecryptor |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | decrypt(byte[]
data to decrypt encrypted, char[] decryption key password)Implements org. Decrypts encrypted bytes, using the given password as decryption key. |
| public static BouncyCastleEncryptedPrivateKeyInfoDecryptor | |
| public static BouncyCastleEncryptedPrivateKeyInfoDecryptor[] |
| INSTANCE | back to summary |
|---|---|
| public static final BouncyCastleEncryptedPrivateKeyInfoDecryptor INSTANCE | |
| BouncyCastleEncryptedPrivateKeyInfoDecryptor | back to summary |
|---|---|
| private BouncyCastleEncryptedPrivateKeyInfoDecryptor() | |
| decrypt | back to summary |
|---|---|
| public byte[] decrypt(byte[] encrypted, char[] password) throws GeneralSecurityException Implements org. Doc from org. Decrypts encrypted bytes, using the given password as decryption key. The encrypted data must contain enough information about the encryption algorithm used so that it can be decrypted at all.
If the password is wrong, the method may return wrongly decrypted data. If decryption fails, it may return
The caller is responsible for eventually clearing the
| |
| valueOf | back to summary |
|---|---|
| public static BouncyCastleEncryptedPrivateKeyInfoDecryptor valueOf(String name) | |
| values | back to summary |
|---|---|
| public static BouncyCastleEncryptedPrivateKeyInfoDecryptor[] values() | |