Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Edwards25519Endpoint.cs
1using System.Numerics;
4
6{
11 {
16 : this(new Edwards25519())
17 {
18 }
19
25 : this(new Edwards25519(), SymmetricCipher)
26 {
27 }
28
34 : this(Edwards, new Aes256())
35 {
36 }
37
43 public Edwards25519Endpoint(Edwards25519 Edwards, IE2eSymmetricCipher SymmetricCipher)
44 : base(Edwards, SymmetricCipher)
45 {
46 }
47
53 : this(PublicKey, new Aes256())
54 {
55 }
56
62 public Edwards25519Endpoint(byte[] PublicKey, IE2eSymmetricCipher SymmetricCipher)
63 : base(PublicKey, new Edwards25519(), SymmetricCipher)
64 {
65 }
66
70 public override string LocalName => "ed25519";
71
75 public override int SecurityStrength => 128;
76
83 {
85 }
86
92 public override IE2eEndpoint CreatePrivate(byte[] Secret)
93 {
95 }
96
102 public override IE2eEndpoint CreatePublic(byte[] PublicKey)
103 {
105 }
106 }
107}
virtual IE2eSymmetricCipher DefaultSymmetricCipher
Default symmetric cipher.
Definition: E2eEndpoint.cs:265
override IE2eEndpoint CreatePublic(byte[] PublicKey)
Creates a new endpoint given a public key.
Edwards25519Endpoint(byte[] PublicKey, IE2eSymmetricCipher SymmetricCipher)
Edwards25519 Twisted Edwards Curve
override IE2eEndpoint Create(int SecurityStrength)
Creates a new key.
override int SecurityStrength
Security strength of End-to-End encryption scheme.
Edwards25519Endpoint()
Edwards25519 Twisted Edwards Curve
override string LocalName
Local name of the E2E encryption scheme
Edwards25519Endpoint(byte[] PublicKey)
Edwards25519 Twisted Edwards Curve
override IE2eEndpoint CreatePrivate(byte[] Secret)
Creates a new endpoint given a private key.
Edwards25519Endpoint(Edwards25519 Edwards, IE2eSymmetricCipher SymmetricCipher)
Edwards25519 Twisted Edwards Curve
Edwards25519Endpoint(IE2eSymmetricCipher SymmetricCipher)
Edwards25519 Twisted Edwards Curve
Edwards25519Endpoint(Edwards25519 Edwards)
Edwards25519 Twisted Edwards Curve
Abstract base class for Elliptic Curve endpoints.
Implements support for the AES-256 cipher in hybrid End-to-End encryption schemes.
Definition: Aes256.cs:15
Edwards25519 Elliptic Curve, as defined in RFC7748 and RFC8032: https://tools.ietf....
Definition: Edwards25519.cs:14
Abstract base class for End-to-End encryption schemes.
Definition: IE2eEndpoint.cs:12
Interface for symmetric ciphers.
IE2eSymmetricCipher CreteNew()
Creates a new symmetric cipher object with the same settings as the current object.