Package org.apache.sshd.common.cipher
Class BaseGCMCipher.CounterGCMParameterSpec
- java.lang.Object
-
- javax.crypto.spec.GCMParameterSpec
-
- org.apache.sshd.common.cipher.BaseGCMCipher.CounterGCMParameterSpec
-
- All Implemented Interfaces:
java.security.spec.AlgorithmParameterSpec
- Enclosing class:
- BaseGCMCipher
protected static class BaseGCMCipher.CounterGCMParameterSpec extends javax.crypto.spec.GCMParameterSpecAlgorithm parameters for AES/GCM that assumes the IV uses an 8-byte counter field as its least significant bytes.
-
-
Field Summary
Fields Modifier and Type Field Description protected longinitialCounterprotected byte[]iv
-
Constructor Summary
Constructors Modifier Constructor Description protectedCounterGCMParameterSpec(int tLen, byte[] src)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getIV()protected voidincrementCounter()
-