Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
SecurityObject.cs
2
4{
8 public abstract class SecurityObject : ISecurityObject
9 {
13 public abstract string Oid { get; }
14
18 public string ObjectName => this.GetType().Name;
19
23 public abstract bool IsConfigured { get; }
24
30 public abstract bool Configure(Vector SecurityInfo);
31
37 public virtual Grade Supports(string Object)
38 {
39 return Object == this.Oid ? Grade.Ok : Grade.NotAtAll;
40 }
41 }
42}
Abstract base class for security objects.
virtual Grade Supports(string Object)
If the interface understands objects such as Object.
abstract bool IsConfigured
If the object has been configured.
abstract string Oid
OID identifying the type of object.
abstract bool Configure(Vector SecurityInfo)
If the object can be configured by the security information provided.
Grade
Grade enumeration
Definition: Grade.cs:7