public class XMLCipherAdapter extends Object
| Constructor and Description |
|---|
XMLCipherAdapter() |
| Modifier and Type | Method and Description |
|---|---|
static Cipher |
constructCipher(String algorithm)
Construct an
Cipher object. |
public static Cipher constructCipher(String algorithm) throws NoSuchPaddingException, NoSuchAlgorithmException
Cipher object. Some JDKs don't support RSA/ECB/OAEPPadding, so add an additional action.algorithm - NoSuchPaddingExceptionNoSuchAlgorithmExceptionCopyright © 2005–2018 Oracle Corporation. All rights reserved.