[This is preliminary documentation and is subject to change.]
Creates an instance of SIFEncryption that can decrypt
the password field automatically, using settings
defined in the agent's properties.
| C# | Visual Basic | Visual C++ |
public static SifEncryption GetInstance( Password password, IZone zone )
Public Shared Function GetInstance ( _ password As Password, _ zone As IZone _ ) As SifEncryption
public: static SifEncryption^ GetInstance ( Password^ password, IZone^ zone )
This method searches the agent properties in effect for the zone and looks for one that matches the key defined in the Password object. If it finds one, it returns an instance of SIFEncryption that has been initialized with the proper key and encryption algorithm for the field.
This method looks for a property named "adk.encryption.keys.[key]" where [key] is the name of the key field defined by the Password field.