Module crypt.api

Interface Cryptor


  • public interface Cryptor
    The interface Cryptor holds the operation mode.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int newOperationMode()
      Factory callback method for get the operation mode. the operation mode can be one of the following values: ENCRYPT_MODE, DECRYPT_MODE, WRAP_MODE or UNWRAP_MODE
    • Method Detail

      • newOperationMode

        int newOperationMode()
        Factory callback method for get the operation mode. the operation mode can be one of the following values: ENCRYPT_MODE, DECRYPT_MODE, WRAP_MODE or UNWRAP_MODE
        Returns:
        the operation mode