Class Key
Abstract class describes a key object. Inherits from TokenObject.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: scmapi
Assembly: scmapi.dll
Syntax
public abstract class Key : TokenObject
Methods
GetAlgorithmName()
Gets the algorithm of the key. The only possible value is currently RSA.
Declaration
public string GetAlgorithmName()
Returns
| Type | Description |
|---|---|
| System.String | the algorithm of the key. |
GetKeyLength()
Gets the key length, in bits.
Declaration
public int GetKeyLength()
Returns
| Type | Description |
|---|---|
| System.Int32 | the key length. |
GetKeyType()
Gets string identifying the type of the key. The possible values are: publicKey, privateKey.
Declaration
public string GetKeyType()
Returns
| Type | Description |
|---|---|
| System.String | the key type. |