List of usage examples for org.bouncycastle.cms CMSEnvelopedGenerator AES256_CBC
String AES256_CBC
To view the source code for org.bouncycastle.cms CMSEnvelopedGenerator AES256_CBC.
Click Source Link
From source file:org.neociclo.odetteftp.util.EnvelopingUtil.java
License:Apache License
public static String asEncryptionAlgorithm(CipherSuite cipherSuite) { if (cipherSuite == CipherSuite.TRIPLEDES_RSA_SHA1) return CMSEnvelopedGenerator.DES_EDE3_CBC; else if (cipherSuite == CipherSuite.AES_RSA_SHA1) return CMSEnvelopedGenerator.AES256_CBC; else/*from w ww. jav a2 s . c om*/ return null; }