Show / Hide Table of Contents

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
returned by the YubiKey.

byte slotNumber

The slot for which the key pair was generated.

PivAlgorithm algorithm

The algorithm (and key size) of the key pair generated.

In this article
Back to top Generated by DocFX