Class GatewaySec
java.lang.Object
com.inductiveautomation.ignition.common.GatewaySec
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]Returns the encoding key specified by -DencodingKey, otherwise returns the default.static byte[]decrypt(byte[] toDecrypt) Uses the default encryption key.static byte[]decrypt(byte[] toDecrypt, byte[] encodingKey) static StringUses the default encryption key.static Stringstatic byte[]encrypt(byte[] toEncrypt) This should be used when dealing with clients.static byte[]encrypt(byte[] toEncrypt, byte[] encodingKey) static StringEncrypts the bytes of the given string, and returns the results using hex encoding.static String
-
Method Details
-
encrypt
-
encrypt
-
encrypt
-
encrypt
-
decrypt
-
decrypt
-
decrypt
-
decrypt
-
customKeyOrDefault
public static byte[] customKeyOrDefault()Returns the encoding key specified by -DencodingKey, otherwise returns the default.
-