Represents a COSE (CBOR Object Signing and Encryption) key, as defined in FIDO CTAP2 Specification. This class is used to store cryptographic key information used in FIDO authentication.
More...
|
| COSEKey (byte[] xCoordinate, byte[] yCoordinate) |
| Initializes a new instance of the COSEKey class.
|
|
|
int | Algorithm [get, set] |
| Algorithm identifier - Corresponds to the COSE "alg" parameter (algorithm). Represents the cryptographic algorithm used with the key. For example, -25 for ES256 (ECDSA with SHA-256). See IANA COSE Algorithms registry.
|
|
int | Curve [get, set] |
| Elliptic curve identifier - corresponds to the COSE "crv" parameter (curve). Specifies the elliptic curve used for the key. For example, 1 for P-256. See IANA COSE Elliptic Curves registry.
|
|
int | KeyType [get, set] |
| Key type - Corresponds to the COSE "kty" parameter (key type). According to FIDO CTAP2 Specification, this should be 2 for Elliptic Curve keys (EC2).
|
|
byte[] | XCoordinate [get, set] |
| Byte array representing the X coordinate. Corresponds to the COSE "x" parameter.
|
|
byte[] | YCoordinate [get, set] |
| Byte array representing the Y coordinate. Corresponds to the COSE "y" parameter.
|
|
Represents a COSE (CBOR Object Signing and Encryption) key, as defined in FIDO CTAP2 Specification. This class is used to store cryptographic key information used in FIDO authentication.
◆ COSEKey()
CrescendoDLL.PCSC.FIDODataStructures.COSEKey.COSEKey |
( |
byte[] |
xCoordinate, |
|
|
byte[] |
yCoordinate |
|
) |
| |
|
inline |
Initializes a new instance of the COSEKey class.
- Parameters
-
xCoordinate | The X coordinate of the elliptic curve point. |
yCoordinate | The Y coordinate of the elliptic curve point. |
◆ Algorithm
int CrescendoDLL.PCSC.FIDODataStructures.COSEKey.Algorithm |
|
getset |
Algorithm identifier - Corresponds to the COSE "alg" parameter (algorithm). Represents the cryptographic algorithm used with the key. For example, -25 for ES256 (ECDSA with SHA-256). See IANA COSE Algorithms registry.
◆ Curve
int CrescendoDLL.PCSC.FIDODataStructures.COSEKey.Curve |
|
getset |
Elliptic curve identifier - corresponds to the COSE "crv" parameter (curve). Specifies the elliptic curve used for the key. For example, 1 for P-256. See IANA COSE Elliptic Curves registry.
◆ KeyType
int CrescendoDLL.PCSC.FIDODataStructures.COSEKey.KeyType |
|
getset |
Key type - Corresponds to the COSE "kty" parameter (key type). According to FIDO CTAP2 Specification, this should be 2 for Elliptic Curve keys (EC2).
◆ XCoordinate
byte [] CrescendoDLL.PCSC.FIDODataStructures.COSEKey.XCoordinate |
|
getset |
Byte array representing the X coordinate. Corresponds to the COSE "x" parameter.
◆ YCoordinate
byte [] CrescendoDLL.PCSC.FIDODataStructures.COSEKey.YCoordinate |
|
getset |
Byte array representing the Y coordinate. Corresponds to the COSE "y" parameter.