Package org.conscrypt

Class OpenSSLAeadCipherAES.GCM

    • Constructor Detail

      • GCM

        public GCM()
    • Method Detail

      • checkSupportedMode

        void checkSupportedMode​(OpenSSLCipher.Mode mode)
                         throws java.security.NoSuchAlgorithmException
        Description copied from class: OpenSSLCipher
        Checks whether the cipher supports this particular cipher mode and throws NoSuchAlgorithmException if it doesn't.
        Specified by:
        checkSupportedMode in class OpenSSLCipher
        Throws:
        java.security.NoSuchAlgorithmException
      • getEVP_AEAD

        long getEVP_AEAD​(int keyLength)
                  throws java.security.InvalidKeyException
        Specified by:
        getEVP_AEAD in class OpenSSLAeadCipher
        Throws:
        java.security.InvalidKeyException