adTempus API
ArcanaDevelopment.adTempus.Shared Namespace / ImportExportOptions Class / EncryptionKey Field


In This Topic
    EncryptionKey Field
    In This Topic
    The encryption key to use to encrypt/decrypt passwords in the export file.
    Syntax
    'Declaration
     
    
    <DataMemberAttribute()>
    Public EncryptionKey As String
    [DataMember()]
    public string EncryptionKey
    [DataMember()]
    public:
    String^ EncryptionKey
    Remarks

    If the IncludePasswords option is True on export, passwords are included in the export file but are encrypted. The EncryptionType specifies the method used for encryption.

    • If EncryptionType is ExportEncryptionType.DefaultKey, no EncryptionKey should be set. adTempus uses the default adTempus encryption key.
    • If EncryptionType is ExportEncryptionType.Password, EncryptionKey should be set to a password that will be used to encrypt/decrypt the data.
    • If EncryptionType is ExportEncryptionType.Asymmetric,

      • On export, EncryptionKey should be set to an RSA public key, which adTempus will use to encrypt the data.
      • On import, EncryptionKey should be set to the corresponding RSA private key.

    Use RSACryptoServiceProvider to generate the key pair for asymmetric encryption.

    Use SetPassword to set the password for ExportEncryptionType.Password.

    See Also