GCMParameterSpec
Class GCMParameterSpec
- java.lang.Object
-
- javax.crypto.spec.GCMParameterSpec
- All Implemented Interfaces:
- AlgorithmParameterSpec
public class GCMParameterSpec extends Object implements AlgorithmParameterSpec
Specifies the set of parameters required by a Cipher
using the Galois/Counter Mode (GCM) mode.
Simple block cipher modes (such as CBC) generally require only an initialization vector (such as IvParameterSpec
), but GCM needs these parameters:
-
IV
: Initialization Vector (IV) -
tLen
: length (in bits) of authentication tag T 登录查看完整内容