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.GCMParameterSpec
Algorithm 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 long
initialCounter
protected byte[]
iv
-
Constructor Summary
Constructors Modifier Constructor Description protected
CounterGCMParameterSpec(int tLen, byte[] src)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getIV()
protected void
incrementCounter()
-