AuthenticatorPublicKey Property
AuthenticatorPublicKey
The public key returned by the YubiKey.
C#
public CoseKey AuthenticatorPublicKey { get; protected set; }
Property Value
Type | Description |
---|---|
CoseKey |
Remarks
The caller will obtain the YubiKey's public key using the GetKeyAgreementCommand and pass it to the Encapsulate(CoseKey) method. A reference to the key passed into that method will be stored in this property.
A call to Initialize() will set this to null
. That
is, a new public key must be obtained for each PIN/UV authentication
session with the YubiKey. Even if the new session is initiated with
the previously-used YubiKey, the public key must be obtained, because
the YubiKey might generate a new public key.