Encrypts the given
array using the public key from the
object associated with the given
. The input
array is UTF-8 encoded before encryption.
![]() |
---|
After encryption is done, the input array is cleared. |
Namespace: FileNet.Api.Util
Assembly: FileNet.Api (in filenet.api.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function Encrypt( _ ByVal eo As IEngineObject, _ ByVal plainText As Char() _ ) As Byte() |
C# |
---|
public static byte[] Encrypt( IEngineObject eo, char[] plainText ) |
C++ |
---|
public: static array<char>^ Encrypt( IEngineObject eo, array<wchar_t>^ plainText ) |
J# |
---|
public static byte[] Encrypt( IEngineObject eo, char[] plainText ) |
JScript |
---|
public static
function Encrypt( eo : IEngineObject, plainText : char[] ) : Byte[] |
Parameters
- eo
- An
.EngineObject
- plainText
- The input plain text
array.char
Return Value
The output cipher text
array.