List of usage examples for org.bouncycastle.cms CMSEnvelopedGenerator DES_EDE3_CBC
String DES_EDE3_CBC
To view the source code for org.bouncycastle.cms CMSEnvelopedGenerator DES_EDE3_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 w w .j a v a2s. co m return null; }