|
BSL v2.0.1 - 13.gad0cb52
AMMOS Bundle Protocol Security Library (BSL)
|
Header for COSE message structures [16]. More...
This graph shows which files directly or indirectly include this file:Enumerations | |
| enum | BSL_Crypto_KeyParam_e { BSL_CRYPTO_KEYPARAM_KTY = 1 , BSL_CRYPTO_KEYPARAM_KID = 2 , BSL_CRYPTO_KEYPARAM_ALG = 3 , BSL_CRYPTO_KEYPARAM_BASEIV = 5 , BSL_CRYPTO_KEYPARAM_EC2_CRV = -1 , BSL_CRYPTO_KEYPARAM_EC2_X = -2 , BSL_CRYPTO_KEYPARAM_EC2_Y = -3 , BSL_CRYPTO_KEYPARAM_EC2_D = -4 , BSL_CRYPTO_KEYPARAM_AKP_PUB = -1 , BSL_CRYPTO_KEYPARAM_AKP_PRIV = -2 } |
| Key parameter code points managed by IANA. More... | |
| enum | BSL_Crypto_KeyParam_Type_e { BSL_CRYPTO_KEYPARAM_TYPE_EC2 = 2 , BSL_CRYPTO_KEYPARAM_TYPE_SYMMETRIC = 4 , BSL_CRYPTO_KEYPARAM_TYPE_AKP = 7 } |
| Relevant key types managed by IANA. More... | |
| enum | BSL_Crypto_KeyParam_Curve_e { BSL_CRYPTO_KEYPARAM_CRV_P256 = 1 , BSL_CRYPTO_KEYPARAM_CRV_P384 = 2 , BSL_CRYPTO_KEYPARAM_CRV_P521 = 3 } |
| Relevant key curves managed by IANA. More... | |
Header for COSE message structures [16].
Relevant key curves managed by IANA.
https://www.iana.org/assignments/cose#elliptic-curves
| Enumerator | |
|---|---|
| BSL_CRYPTO_KEYPARAM_CRV_P256 | P-256. |
| BSL_CRYPTO_KEYPARAM_CRV_P384 | P-256. |
| BSL_CRYPTO_KEYPARAM_CRV_P521 | P-256. |
Key parameter code points managed by IANA.
https://www.iana.org/assignments/cose/cose.xhtml#key-common-parameters Symmetric key k (-1) is handled specially in this API version of BSL.
| Enumerator | |
|---|---|
| BSL_CRYPTO_KEYPARAM_KTY | Key type value as Values supported are in BSL_Crypto_KeyParam_Type_e |
| BSL_CRYPTO_KEYPARAM_KID | Key ID value as bytes. |
| BSL_CRYPTO_KEYPARAM_ALG | Algorithm value as |
| BSL_CRYPTO_KEYPARAM_BASEIV | Base IV value as bytes. |
| BSL_CRYPTO_KEYPARAM_EC2_CRV | Curve as |
| BSL_CRYPTO_KEYPARAM_EC2_X | EC2 public X as bytes. |
| BSL_CRYPTO_KEYPARAM_EC2_Y | EC2 public Y as bytes. |
| BSL_CRYPTO_KEYPARAM_EC2_D | EC2 private D as bytes. |
| BSL_CRYPTO_KEYPARAM_AKP_PUB | AKP public key as bytes. |
| BSL_CRYPTO_KEYPARAM_AKP_PRIV | AKP private key as bytes. |
Relevant key types managed by IANA.
https://www.iana.org/assignments/cose#key-type
| Enumerator | |
|---|---|
| BSL_CRYPTO_KEYPARAM_TYPE_EC2 | EC2 key type. |
| BSL_CRYPTO_KEYPARAM_TYPE_SYMMETRIC | Symmetric key type. |
| BSL_CRYPTO_KEYPARAM_TYPE_AKP | Algorithm-key pair type. |