Show / Hide Table of Contents

Class ManagedChaCha20Poly1305DecryptionData

Inheritance
System.Object
ManagedChaCha20Poly1305DecryptionData
Namespace: Cloud_ShareSync.Core.Cryptography.FileEncryption.Types
Assembly: Cloud-ShareSync.Core.Cryptography.dll
Syntax
public class ManagedChaCha20Poly1305DecryptionData : object

Constructors

| Improve this Doc View Source

ManagedChaCha20Poly1305DecryptionData(Byte[], List<ManagedChaCha20Poly1305DecryptionKeyNote>)

Declaration
public ManagedChaCha20Poly1305DecryptionData(byte[] key, List<ManagedChaCha20Poly1305DecryptionKeyNote> keyNoteList)
Parameters
Type Name Description
System.Byte[] key
List<ManagedChaCha20Poly1305DecryptionKeyNote> keyNoteList
| Improve this Doc View Source

ManagedChaCha20Poly1305DecryptionData(String, List<ManagedChaCha20Poly1305DecryptionKeyNote>)

Declaration
public ManagedChaCha20Poly1305DecryptionData(string key, List<ManagedChaCha20Poly1305DecryptionKeyNote> keyNoteList)
Parameters
Type Name Description
System.String key
List<ManagedChaCha20Poly1305DecryptionKeyNote> keyNoteList

Fields

| Improve this Doc View Source

Key

Declaration
public readonly string Key
Field Value
Type Description
System.String

Properties

| Improve this Doc View Source

KeyBytes

Declaration
public byte[] KeyBytes { get; }
Property Value
Type Description
System.Byte[]
| Improve this Doc View Source

KeyNoteList

Declaration
public List<ManagedChaCha20Poly1305DecryptionKeyNote> KeyNoteList { get; }
Property Value
Type Description
List<ManagedChaCha20Poly1305DecryptionKeyNote>

Methods

| Improve this Doc View Source

AddNonceTagPairToList(JsonElement, List<ManagedChaCha20Poly1305DecryptionKeyNote>, Int32)

Declaration
static void AddNonceTagPairToList(JsonElement keyNote, List<ManagedChaCha20Poly1305DecryptionKeyNote> decryptionPairs, int ntpCount)
Parameters
Type Name Description
JsonElement keyNote
List<ManagedChaCha20Poly1305DecryptionKeyNote> decryptionPairs
System.Int32 ntpCount
| Improve this Doc View Source

Deserialize(FileInfo)

Declaration
static ManagedChaCha20Poly1305DecryptionData Deserialize(FileInfo keyFile)
Parameters
Type Name Description
FileInfo keyFile
Returns
Type Description
ManagedChaCha20Poly1305DecryptionData
| Improve this Doc View Source

Deserialize(String)

Declaration
public static ManagedChaCha20Poly1305DecryptionData Deserialize(string json)
Parameters
Type Name Description
System.String json
Returns
Type Description
ManagedChaCha20Poly1305DecryptionData
| Improve this Doc View Source

DeserializeKeyData(JsonElement)

Declaration
static string DeserializeKeyData(JsonElement root)
Parameters
Type Name Description
JsonElement root
Returns
Type Description
System.String
| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
| Improve this Doc View Source

ValidateLength()

Declaration
void ValidateLength()
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
About Me | Open Source Acknowledgements | Security
☀
☾