GenerateKeyPairResponse Constructor
GenerateKeyPairResponse(ResponseApdu, Byte, PivAlgorithm)
Constructs a GenerateKeyPairResponse based on a ResponseApdu received from the YubiKey.
C#
public GenerateKeyPairResponse(ResponseApdu responseApdu, byte slotNumber, PivAlgorithm algorithm)
Parameters
Type | Name | Description |
---|---|---|
ResponseApdu | responseApdu | The object containing the response APDU |
System.Byte | slotNumber | The slot for which the key pair was generated. |
PivAlgorithm | algorithm | The algorithm (and key size) of the key pair generated. |