@Singleton
public class BouncyCastleCrypto
extends org.jclouds.encryption.internal.JCECrypto
| Constructor and Description |
|---|
BouncyCastleCrypto() |
| Modifier and Type | Method and Description |
|---|---|
Cipher |
cipher(String algorithm)
Override the standard implementation to convert the "RSA" algorithm to the String that bouncycastle expects.
|
public BouncyCastleCrypto()
throws NoSuchAlgorithmException,
CertificateException
public Cipher cipher(String algorithm) throws NoSuchAlgorithmException, NoSuchPaddingException
cipher in interface org.jclouds.crypto.Cryptocipher in class org.jclouds.encryption.internal.JCECryptoNoSuchAlgorithmExceptionNoSuchPaddingExceptionCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.