Class BaseGCMCipher.CounterGCMParameterSpec

  • All Implemented Interfaces:
    AlgorithmParameterSpec
    Enclosing class:
    BaseGCMCipher

    protected static class BaseGCMCipher.CounterGCMParameterSpec
    extends GCMParameterSpec
    Algorithm parameters for AES/GCM that assumes the IV uses an 8-byte counter field as its most significant bytes.
    • Field Detail

      • iv

        protected final byte[] iv
      • initialCounter

        protected final long initialCounter
    • Constructor Detail

      • CounterGCMParameterSpec

        protected CounterGCMParameterSpec​(int tLen,
                                          byte[] src)
    • Method Detail

      • incrementCounter

        protected void incrementCounter()