Class EncryptMetadata
It specifies encryption metadata.
Inheritance
Inherited Members
Namespace: Neodynamic.SDK.Web
Assembly: cs.temp.dll.dll
Syntax
public class EncryptMetadata
Constructors
EncryptMetadata(String, String)
Creates an instance of the EncryptMetadata class with the specified public key and its signature.
Declaration
public EncryptMetadata(string pubKeyBase64, string pubKeySignatureKeyBase64)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | pubKeyBase64 | The RSA Public Key in Base64 format sent by WCPP Client Utility. |
| System.String | pubKeySignatureKeyBase64 |
Properties
Iterations
Gets or sets the number of iterations to derive the key. Minimum is 1000.
Declaration
public int Iterations { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
IV
Gets or sets the Initialization Vector to be used for the encryption algorithm. It must be 32 ASCII chars/bytes.
Declaration
public string IV { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Password
Gets or sets the password used to derive the encryption key. It must be 100 ASCII chars/bytes max.
Declaration
public string Password { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
PublicKeyBase64
Gets the RSA Public Key in Base64 format.
Declaration
public string PublicKeyBase64 { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
PublicKeySignatureBase64
Gets the RSA Public Key Signature in Base64 format.
Declaration
public string PublicKeySignatureBase64 { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Salt
Gets or sets the salt used to derive the key. It must be 100 ASCII chars/bytes max.
Declaration
public string Salt { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
Serialize()
Serializes this ecnryption metadata to a string.
Declaration
public string Serialize()
Returns
| Type | Description |
|---|---|
| System.String | Returns this ecnryption metadata serialized to a string. |