Class ManagedChaCha20Poly1305DecryptionData
Inheritance
System.Object
ManagedChaCha20Poly1305DecryptionData
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
|
Improve this Doc
View Source
ManagedChaCha20Poly1305DecryptionData(String, List<ManagedChaCha20Poly1305DecryptionKeyNote>)
Declaration
public ManagedChaCha20Poly1305DecryptionData(string key, List<ManagedChaCha20Poly1305DecryptionKeyNote> keyNoteList)
Parameters
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
Methods
|
Improve this Doc
View Source
AddNonceTagPairToList(JsonElement, List<ManagedChaCha20Poly1305DecryptionKeyNote>, Int32)
Declaration
static void AddNonceTagPairToList(JsonElement keyNote, List<ManagedChaCha20Poly1305DecryptionKeyNote> decryptionPairs, int ntpCount)
Parameters
|
Improve this Doc
View Source
Deserialize(FileInfo)
Declaration
static ManagedChaCha20Poly1305DecryptionData Deserialize(FileInfo keyFile)
Parameters
Type |
Name |
Description |
FileInfo |
keyFile |
|
Returns
|
Improve this Doc
View Source
Deserialize(String)
Declaration
public static ManagedChaCha20Poly1305DecryptionData Deserialize(string json)
Parameters
Type |
Name |
Description |
System.String |
json |
|
Returns
|
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