Class AsymmetricKey
An asymmetric key.
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public abstract class AsymmetricKey : object
Properties
Type
Gets the key type.
Declaration
public abstract AsymmetricKeyType Type { get; }
Property Value
Type | Description |
---|---|
AsymmetricKeyType |
Methods
CreateKey(AsymmetricKeyType)
Creates a key.
Declaration
public static AsymmetricKey CreateKey(AsymmetricKeyType keyType)
Parameters
Type | Name | Description |
---|---|---|
AsymmetricKeyType | keyType | The key type. |
Returns
Type | Description |
---|---|
AsymmetricKey |
HasPrivate()
Returns true
if the key contains
private information.
Declaration
public abstract bool HasPrivate()
Returns
Type | Description |
---|---|
System.Boolean |
HasPublic()
Returns true
if the key contains
public information.
Declaration
public abstract bool HasPublic()
Returns
Type | Description |
---|---|
System.Boolean |