Encrypts the given
using the public key from the
object associated with the given
. The input
is UTF-8 encoded before encryption.
![]() |
---|
You are strongly discouraged from using this method. are immutable, so the plain text data remains in program memory for as long as the application runs, which may be a security risk for truly sensitive data. You are encouraged to use one of the methods for which the input plain text data is an array. |
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 String _ ) As Byte() |
C# |
---|
public static byte[] Encrypt( IEngineObject eo, string plainText ) |
C++ |
---|
public: static array<char>^ Encrypt( IEngineObject eo, String plainText ) |
J# |
---|
public static byte[] Encrypt( IEngineObject eo, string plainText ) |
JScript |
---|
public static
function Encrypt( eo : IEngineObject, plainText : String ) : Byte[] |
Parameters
- eo
- An
.EngineObject
- plainText
- The input plain text
.String
Return Value
The output cipher text
array.