Scp11KeyParameters Constructor
Scp11KeyParameters(KeyReference, ECPublicKeyParameters)
Creates a new Scp11KeyParameters instance for SCP11b.
public Scp11KeyParameters(KeyReference keyReference, ECPublicKeyParameters pkSdEcka)
Parameters
Type | Name | Description |
---|---|---|
KeyReference | keyReference | The key reference associated with the key parameters. |
ECPublicKeyParameters | 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, ECPublicKeyParameters, KeyReference, ECPrivateKeyParameters, IReadOnlyCollection<X509Certificate2>)
Creates a new Scp11KeyParameters instance. This is used to initiate SCP11A and SCP11C connections.
public Scp11KeyParameters(KeyReference keyReference, ECPublicKeyParameters pkSdEcka, KeyReference oceKeyReference, ECPrivateKeyParameters skOceEcka, IReadOnlyCollection<X509Certificate2> oceCertificates)
Parameters
Type | Name | Description |
---|---|---|
KeyReference | keyReference | The key reference associated with the key parameters. |
ECPublicKeyParameters | 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. |
ECPrivateKeyParameters | skOceEcka | The secret key (skOceEcka) of the off-card entity (OCE) used for key agreement between the off-card entity (OCE) and Yubikey. |
System.Collections.Generic.IReadOnlyCollection<System.Security.Cryptography.X509Certificates.X509Certificate2> | oceCertificates | The certificate chain, containing the public key for the off-card entity (OCE). |