MID Server configuration file security › Securing and encrypting MID Server data › MID Server › Manage instance data sources › Extend ServiceNow AI Platform capabilities
MID Server IMidServerEncrypter interface
Use the methods in this interface to create a custom external encrypter for the MID Server config.xml file.
Note: 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.
void intialize(java.util.Properties properties)
throws java.lang.Exception
|
| Parameter | Description |
|---|
| properties | Initialization properties. |
encrypt
This method encrypts the unencrypted data and returns a byte[ ] type value.
byte[] encrypt(byte[] unencryptedData)
throws java.lang.Exception
|
| Parameter | Description |
|---|
| unencryptedData | The data unencrypted. |
decrypt
This method decrypts encrypted data and returns a byte[ ] type value.
byte[] decrypt(byte[] encryptedData)
throws java.lang.Exception
|
| Parameters | Description |
|---|
| encryptedData | The data decrypted. |
Parent Topic:MID Server configuration file security