Virtru SDK for C#  2.8.0
Virtru C# SDK module - Create, Read, and Manage TDF3 Files
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
Virtru.SDK.EncryptDataParams Class Reference
Inheritance diagram for Virtru.SDK.EncryptDataParams:
Virtru.SDK.EncryptParams

Public Member Functions

 EncryptDataParams (SWIGTYPE_p_std__functionT_virtru__BufferSpan_fvirtru__Status_RF_t dataSourceCb, SWIGTYPE_p_std__functionT_virtru__Status_fvirtru__BufferSpanF_t dataSinkCb)
 
void Dispose ()
 
EncryptParams operatorEqual (EncryptParams encryptedParams)
 
void setMimeType (string mimeType)
 
void setPolicy (Policy policy)
 
void setDisplayName (string displayName)
 
void setDisplayMessage (string displayMessage)
 
void shareWithUsers (StringVector users)
 

Protected Member Functions

override void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Package Functions

 EncryptDataParams (global::System.IntPtr cPtr, bool cMemoryOwn)
 

Static Package Functions

static
global::System.Runtime.InteropServices.HandleRef 
getCPtr (EncryptDataParams obj)
 
static
global::System.Runtime.InteropServices.HandleRef 
swigRelease (EncryptDataParams obj)
 
static
global::System.Runtime.InteropServices.HandleRef 
getCPtr (EncryptParams obj)
 
static
global::System.Runtime.InteropServices.HandleRef 
swigRelease (EncryptParams obj)
 

Private Attributes

global::System.Runtime.InteropServices.HandleRef swigCPtr
 

Constructor & Destructor Documentation

Virtru.SDK.EncryptDataParams.EncryptDataParams ( global::System.IntPtr  cPtr,
bool  cMemoryOwn 
)
inlinepackage
Virtru.SDK.EncryptDataParams.EncryptDataParams ( SWIGTYPE_p_std__functionT_virtru__BufferSpan_fvirtru__Status_RF_t  dataSourceCb,
SWIGTYPE_p_std__functionT_virtru__Status_fvirtru__BufferSpanF_t  dataSinkCb 
)
inline

Constructor

Parameters
dataSourceCb- The callback producing the data to be encrypted.
dataSinkCb- The callback consuming the encrypted data after successful encryption

Member Function Documentation

override void Virtru.SDK.EncryptDataParams.Dispose ( bool  disposing)
inlineprotectedvirtual

Reimplemented from Virtru.SDK.EncryptParams.

void Virtru.SDK.EncryptParams.Dispose ( )
inlineinherited
static global.System.Runtime.InteropServices.HandleRef Virtru.SDK.EncryptDataParams.getCPtr ( EncryptDataParams  obj)
inlinestaticpackage
static global.System.Runtime.InteropServices.HandleRef Virtru.SDK.EncryptParams.getCPtr ( EncryptParams  obj)
inlinestaticpackageinherited
EncryptParams Virtru.SDK.EncryptParams.operatorEqual ( EncryptParams  encryptedParams)
inlineinherited

Assignment operator

void Virtru.SDK.EncryptParams.setDisplayMessage ( string  displayMessage)
inlineinherited

Set the display message for the tdf, this message shows up on the Virtru dashboard

Parameters
displayMessage- The display message for the tdf
void Virtru.SDK.EncryptParams.setDisplayName ( string  displayName)
inlineinherited

Set the display name for the tdf, this name shows up on the Virtru dashboard NOTE: If not set, the basename of inFilePath will be used

Parameters
displayName- The display name for the tdf
void Virtru.SDK.EncryptParams.setMimeType ( string  mimeType)
inlineinherited

Set the mime type (format) of the file that will be encrypted NOTE: The default will be 'application/octet-stream' if not specified

Parameters
mimeType- The mime type of the file
void Virtru.SDK.EncryptParams.setPolicy ( Policy  policy)
inlineinherited

Set the policy that to be applied to the tdf NOTE: If there is no policy defined for the tdf, default policy settings will be applied

Parameters
policy- The policy object
void Virtru.SDK.EncryptParams.shareWithUsers ( StringVector  users)
inlineinherited

Add access to the TDF file/data for the users in the list

Parameters
users- Share the TDF with the users in the vector
static global.System.Runtime.InteropServices.HandleRef Virtru.SDK.EncryptDataParams.swigRelease ( EncryptDataParams  obj)
inlinestaticpackage
static global.System.Runtime.InteropServices.HandleRef Virtru.SDK.EncryptParams.swigRelease ( EncryptParams  obj)
inlinestaticpackageinherited

Member Data Documentation

bool Virtru.SDK.EncryptParams.swigCMemOwn
protectedinherited
global.System.Runtime.InteropServices.HandleRef Virtru.SDK.EncryptDataParams.swigCPtr
private

The documentation for this class was generated from the following file: