HID APPROVE SDK  5.14
HID Approve SDK for Windows .NET
HIDIA.Transaction.IKeypair Interface Reference

Represents an asymmetric key pair. More...

Inheritance diagram for HIDIA.Transaction.IKeypair:
HIDIA.Transaction.IKey

Public Member Functions

Task< byte[]> GetPrivateKeyEncoded ()
 Gets the private key in its primary encoding format. More...
 
Task< byte[]> GetPrivateKeyEncoded (char[] password)
 Gets the private key in its primary encoding format. More...
 
- Public Member Functions inherited from HIDIA.Transaction.IKey
Task< string > GetAlgorithm ()
 The standard algorithm name for the key. More...
 
Task< IOTPGeneratorGetDefaultOTPGenerator ()
 Returns the default OTP generator for that key. More...
 
Task< byte[]> GetEncoded ()
 Gets the key in its primary encoding format. More...
 
Task< byte[]> GetEncoded (char[] password)
 Gets the key in its primary encoding format. More...
 
Task< string > GetFormat ()
 The name of the primary encoding format of this key. More...
 
Task< string > GetProperty (string name)
 Returns property for that key. More...
 
Task< IProtectionPolicyGetProtectionPolicy ()
 Returns the protection policy associated with key. More...
 
Task< bool > IsExtractable ()
 Returns true when the key is extractable. More...
 

Additional Inherited Members

- Properties inherited from HIDIA.Transaction.IKey
KeyId Id [get]
 The key identifier. More...
 

Detailed Description

Represents an asymmetric key pair.

Member Function Documentation

◆ GetPrivateKeyEncoded() [1/2]

Task<byte[]> HIDIA.Transaction.IKeypair.GetPrivateKeyEncoded ( )

Gets the private key in its primary encoding format.

Returns
The private key in its primary encoding format

◆ GetPrivateKeyEncoded() [2/2]

Task<byte[]> HIDIA.Transaction.IKeypair.GetPrivateKeyEncoded ( char []  password)

Gets the private key in its primary encoding format.

Parameters
passwordthe key password
Returns
The private key in its primary encoding format