Show / Hide Table of Contents

Scp11KeyParameters Constructor

Scp11KeyParameters(KeyReference, ECPublicKey)

Creates a new Scp11KeyParameters instance for SCP11b.

C#
public Scp11KeyParameters(KeyReference keyReference, ECPublicKey pkSdEcka)

Parameters

Type Name Description
KeyReference keyReference

The key reference associated with the key parameters.

ECPublicKey pkSdEcka

The public key of the security domain which is used for key agreement between the off-card entity (OCE) and Yubikey.

Remarks

Note that this does not authenticate the off-card entity (OCE).

Scp11KeyParameters(KeyReference, ECPublicKey, KeyReference, ECPrivateKey, IReadOnlyCollection<X509Certificate2>)

Creates a new Scp11KeyParameters instance. This is used to initiate SCP11A and SCP11C connections.

C#
public Scp11KeyParameters(KeyReference keyReference, ECPublicKey pkSdEcka, KeyReference oceKeyReference, ECPrivateKey skOceEcka, IReadOnlyCollection<X509Certificate2> oceCertificates)

Parameters

Type Name Description
KeyReference keyReference

The key reference associated with the key parameters.

ECPublicKey pkSdEcka

The public key of the security domain (pkSdEcka) which is used for key agreement between the off-card entity (OCE) and Yubikey.

KeyReference oceKeyReference

The off-card entity (OCE) key reference.

ECPrivateKey skOceEcka

The secret key (skOceEcka) of the off-card entity (OCE) used for key agreement between the off-card entity (OCE) and Yubikey.

IReadOnlyCollection<X509Certificate2> oceCertificates

The certificate chain, containing the public key for the off-card entity (OCE).

Scp11KeyParameters(KeyReference, ECPublicKeyParameters, KeyReference, ECPrivateKeyParameters, IReadOnlyCollection<X509Certificate2>)

C#
[Obsolete("Obsolete, use constructor with ECPrivateKey instead", false)]
public Scp11KeyParameters(KeyReference keyReference, ECPublicKeyParameters pkSdEcka, KeyReference oceKeyReference, ECPrivateKeyParameters skOceEcka, IReadOnlyCollection<X509Certificate2> oceCertificates)

Parameters

Type Name Description
KeyReference keyReference
ECPublicKeyParameters pkSdEcka
KeyReference oceKeyReference
ECPrivateKeyParameters skOceEcka
IReadOnlyCollection<X509Certificate2> oceCertificates
In this article
Back to top Generated by DocFX