KeyDefinitions.KeyDefinition Class
Namespace: Yubico.YubiKey.Cryptography Assembly: Yubico.YubiKey.dllRepresents the definition of a cryptographic key, including its type, length, and other properties.
C#
public class KeyDefinitions.KeyDefinition
Inheritance
object
KeyDefinitions.KeyDefinition
Properties
Name | Description |
---|---|
CoseKeyDefinition | Gets or sets the COSE key definition associated with this key. |
IsEcKey | Gets or sets a value indicating whether the key is an elliptic curve (EC) key. |
IsRsaKey | Gets or sets a value indicating whether the key is an RSA key. |
LengthInBits | Gets or sets the length of the key in bits. |
LengthInBytes | Gets or sets the length of the key in bytes. |
Name | Gets the name of the key, which is the string representation of the key type. |
Oid | Gets or sets the object identifier (OID) of the key. |
Type | Gets or sets the type of the key. |