Class BouncyCastleCrypto
java.lang.Object
org.jclouds.encryption.internal.JCECrypto
org.jclouds.encryption.bouncycastle.BouncyCastleCrypto
- All Implemented Interfaces:
Crypto
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jclouds.encryption.internal.JCECrypto
certFactory, hmac, hmacSHA1, hmacSHA256, rsaKeyFactory, rsaKeyPairGenerator
-
Constructor Details
-
BouncyCastleCrypto
-
-
Method Details
-
cipher
Override the standard implementation to convert the "RSA" algorithm to the String that bouncycastle expects. See org.jclouds.encryption.bouncycastle.BouncyCastlePasswordDecryptionTest for how this effects password decryption.- Specified by:
cipher
in interfaceCrypto
- Overrides:
cipher
in classJCECrypto
- Throws:
NoSuchAlgorithmException
NoSuchPaddingException
-