Class BouncyCastleCrypto
- java.lang.Object
-
- org.jclouds.encryption.internal.JCECrypto
-
- org.jclouds.encryption.bouncycastle.BouncyCastleCrypto
-
-
Constructor Summary
Constructors Constructor Description BouncyCastleCrypto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cipher
cipher(String algorithm)
Override the standard implementation to convert the "RSA" algorithm to the String that bouncycastle expects.-
Methods inherited from class org.jclouds.encryption.internal.JCECrypto
certFactory, hmac, hmacSHA1, hmacSHA256, rsaKeyFactory, rsaKeyPairGenerator
-
-
-
-
Constructor Detail
-
BouncyCastleCrypto
public BouncyCastleCrypto() throws NoSuchAlgorithmException, CertificateException
-
-
Method Detail
-
cipher
public Cipher cipher(String algorithm) throws NoSuchAlgorithmException, NoSuchPaddingException
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
-
-