Interface Cipher

    • Method Detail

      • getIVSize

        int getIVSize()
      • getBlockSize

        int getBlockSize()
      • getTagSize

        int getTagSize()
      • init

        void init​(int mode,
                  byte[] key,
                  byte[] iv)
           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • update

        void update​(byte[] foo,
                    int s1,
                    int len,
                    byte[] bar,
                    int s2)
             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • updateAAD

        void updateAAD​(byte[] foo,
                       int s1,
                       int len)
                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • doFinal

        void doFinal​(byte[] foo,
                     int s1,
                     int len,
                     byte[] bar,
                     int s2)
              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • isCBC

        boolean isCBC()
      • isAEAD

        boolean isAEAD()