Class EncryptedObjectPublicKeyBox
Encrypted Object using the Public Key Box Algorithm of libsodium
Inherited Members
Namespace: BO4E.BO
Assembly: BO4E-dotnet.Extensions.Encryption.dll
Syntax
public class EncryptedObjectPublicKeyBox : EncryptedObject
Constructors
| Improve this Doc View SourceEncryptedObjectPublicKeyBox(String, String, String)
Declaration
public EncryptedObjectPublicKeyBox(string cipherText, string publicKey, string nonce)
Parameters
Type | Name | Description |
---|---|---|
System.String | cipherText | base64 encoded cipher text |
System.String | publicKey | public key of the sender (base64 encoded) |
System.String | nonce | unique nonce / initialisation vector (base 64 encoded, must not be used twice) |
Properties
| Improve this Doc View SourceNonce
Base64 encoded unique nonce / initialisation vector (IV)
Declaration
public string Nonce { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PublicKey
base64 encoded public key of the message sender
Declaration
public string PublicKey { get; set; }
Property Value
Type | Description |
---|---|
System.String |