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