Module crypt.api

Interface Cryptor


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

    Modifier and Type
    Method
    Description
    int
    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 Details

    • 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