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.
|
certFactory, hmac, hmacSHA1, hmacSHA256, rsaKeyFactory, rsaKeyPairGenerator
public BouncyCastleCrypto() throws NoSuchAlgorithmException, CertificateException
public Cipher cipher(String algorithm) throws NoSuchAlgorithmException, NoSuchPaddingException
cipher
in interface Crypto
cipher
in class JCECrypto
NoSuchAlgorithmException
NoSuchPaddingException
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.