org.apache.cxf.rs.security.xml
Class EncryptionUtils
java.lang.Object
org.apache.cxf.rs.security.xml.EncryptionUtils
public final class EncryptionUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
initCipherWithCert
public static Cipher initCipherWithCert(String keyEncAlgo,
int mode,
X509Certificate cert)
throws org.apache.ws.security.WSSecurityException
- Throws:
org.apache.ws.security.WSSecurityException
initCipherWithKey
public static Cipher initCipherWithKey(String keyEncAlgo,
int mode,
Key key)
throws org.apache.ws.security.WSSecurityException
- Throws:
org.apache.ws.security.WSSecurityException
initXMLCipher
public static org.apache.xml.security.encryption.XMLCipher initXMLCipher(String symEncAlgo,
int mode,
Key key)
throws org.apache.ws.security.WSSecurityException
- Throws:
org.apache.ws.security.WSSecurityException
Apache CXF