- java.lang.Object
-
- org.apache.xml.security.encryption.XMLCipherUtil
-
public final class XMLCipherUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description XMLCipherUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AlgorithmParameterSpecconstructBlockCipherParameters(boolean gcmAlgorithm, byte[] iv)static AlgorithmParameterSpecconstructBlockCipherParameters(String algorithm, byte[] iv)Build anAlgorithmParameterSpecinstance used to initialize aCipherinstance for block cipher encryption and decryption.
-
-
-
Method Detail
-
constructBlockCipherParameters
public static AlgorithmParameterSpec constructBlockCipherParameters(String algorithm, byte[] iv)
Build anAlgorithmParameterSpecinstance used to initialize aCipherinstance for block cipher encryption and decryption.- Parameters:
algorithm- the XML encryption algorithm URIiv- the initialization vector- Returns:
- the newly constructed AlgorithmParameterSpec instance, appropriate for the specified algorithm
-
constructBlockCipherParameters
public static AlgorithmParameterSpec constructBlockCipherParameters(boolean gcmAlgorithm, byte[] iv)
-
-