public final class XMLCipherUtil extends Object
Constructor and Description |
---|
XMLCipherUtil() |
Modifier and Type | Method and Description |
---|---|
static AlgorithmParameterSpec |
constructBlockCipherParameters(boolean gcmAlgorithm,
byte[] iv) |
static AlgorithmParameterSpec |
constructBlockCipherParameters(String algorithm,
byte[] iv)
Build an
AlgorithmParameterSpec instance used to initialize a Cipher instance
for block cipher encryption and decryption. |
public static AlgorithmParameterSpec constructBlockCipherParameters(String algorithm, byte[] iv)
AlgorithmParameterSpec
instance used to initialize a Cipher
instance
for block cipher encryption and decryption.algorithm
- the XML encryption algorithm URIiv
- the initialization vectorpublic static AlgorithmParameterSpec constructBlockCipherParameters(boolean gcmAlgorithm, byte[] iv)
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.