MID Server IMidServerEncrypter interface

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間:1分
  • Use the methods in this interface to create a custom external encrypter for the MID Server config.xml file.

    注:
    These methods are contained in the snc-automation-api.jar file, located in the MID Server installation folder.

    initialize

    This method initializes the encrypter with additional configuration parameters and does not return a value.
    表 : 1. Example
    void intialize(java.util.Properties properties)
            throws java.lang.Exception
    表 : 2. Parameters
    Parameter Description
    properties Initialization properties.
    表 : 3. Exception
    java.lang.Exception

    encrypt

    This method encrypts the unencrypted data and returns a byte[ ] type value.
    表 : 4. Example
    byte[] encrypt(byte[] unencryptedData)
            throws java.lang.Exception
    表 : 5. Parameters
    Parameter Description
    unencryptedData The data unencrypted.
    表 : 6. Returns
    Encrypted data
    表 : 7. Exception
    java.lang.Exception

    decrypt

    This method decrypts encrypted data and returns a byte[ ] type value.
    表 : 8. Example
    byte[] decrypt(byte[] encryptedData)
            throws java.lang.Exception
    表 : 9. Parameters
    Parameters Description
    encryptedData The data decrypted.
    表 : 10. Returns
    Decrypted data.
    表 : 11. Exception
    java.lang.Exception