Show / Hide Table of Contents

Class Key

Abstract class describes a key object. Inherits from TokenObject.

Inheritance
System.Object
TokenObject
Key
PrivateKey
PublicKey
Inherited Members
TokenObject.Equals(Object)
TokenObject.GetHashCode()
TokenObject.GetParent()
TokenObject.GetType()
TokenObject.GetCkId()
TokenObject.GetCkLabel()
TokenObject.GetPinNumber()
TokenObject.GetDetails()
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.

Back to top Generated by DocFX