Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
NistP224Endpoint.cs
3
5{
10 {
15 : this(new NistP224())
16 {
17 }
18
23 public NistP224Endpoint(IE2eSymmetricCipher SymmetricCipher)
24 : this(new NistP224(), SymmetricCipher)
25 {
26 }
27
33 : this(Curve, new Aes256())
34 {
35 }
36
43 : base(Curve, SymmetricCipher)
44 {
45 }
46
52 : this(PublicKey, new Aes256())
53 {
54 }
55
61 public NistP224Endpoint(byte[] PublicKey, IE2eSymmetricCipher SymmetricCipher)
62 : base(PublicKey, new NistP224(), SymmetricCipher)
63 {
64 }
65
69 public override string LocalName => "p224";
70
74 public override int SecurityStrength => 112;
75
82 {
84 }
85
91 public override IE2eEndpoint CreatePrivate(byte[] Secret)
92 {
93 return new NistP224Endpoint(new NistP224(Secret), this.DefaultSymmetricCipher.CreteNew());
94 }
95
101 public override IE2eEndpoint CreatePublic(byte[] PublicKey)
102 {
104 }
105 }
106}
virtual IE2eSymmetricCipher DefaultSymmetricCipher
Default symmetric cipher.
Definition: E2eEndpoint.cs:282
Abstract base class for NIST Curve endpoints
Definition: NistEndpoint.cs:10
NistP224Endpoint(byte[] PublicKey)
NIST P-224 Curve
NistP224Endpoint(NistP224 Curve, IE2eSymmetricCipher SymmetricCipher)
NIST P-224 Curve
override IE2eEndpoint CreatePublic(byte[] PublicKey)
Creates a new endpoint given a public key.
override int SecurityStrength
Security strength of End-to-End encryption scheme.
NistP224Endpoint(IE2eSymmetricCipher SymmetricCipher)
NIST P-224 Curve
NistP224Endpoint(NistP224 Curve)
NIST P-224 Curve
override IE2eEndpoint CreatePrivate(byte[] Secret)
Creates a new endpoint given a private key.
override string LocalName
Local name of the E2E encryption scheme
override IE2eEndpoint Create(int SecurityStrength)
Creates a new key.
NistP224Endpoint(byte[] PublicKey, IE2eSymmetricCipher SymmetricCipher)
NIST P-224 Curve
Implements support for the AES-256 cipher in hybrid End-to-End encryption schemes.
Definition: Aes256.cs:17
NIST P-224 Elliptic Curve, as defined in NIST FIPS BUB 186-4: https://nvlpubs.nist....
Definition: NistP224.cs:10
Abstract base class for End-to-End encryption schemes.
Definition: IE2eEndpoint.cs:13
Interface for symmetric ciphers.
IE2eSymmetricCipher CreteNew()
Creates a new symmetric cipher object with the same settings as the current object.