GetKeyInformation Method
GetKeyInformation()
Retrieves the key information stored in the YubiKey and returns it in a dictionary format.
C#
public IReadOnlyDictionary<KeyReference, Dictionary<byte, byte>> GetKeyInformation()
Returns
System.Collections.Generic.IReadOnlyDictionary<KeyReference, System.Collections.Generic.Dictionary<System.Byte, System.Byte>>
A read only dictionary containing the KeyReference as the key and a dictionary of key components as the value.
Exceptions
Type | Condition |
---|---|
SecureChannelException | Thrown when there was an SCP error, described in the exception message. |