1# OH_Huks_KeyMaterial25519 2 3 4## Overview 5 6Defines the structure of a 25519 key. 7 8**Since**: 9 9 10**Related module**: [HuksTypeApi](_huks_type_api.md) 11 12 13## Summary 14 15 16### Member Variables 17 18| Name | Description | 19| -------- | -------- | 20| enum [OH_Huks_KeyAlg](_huks_type_api.md#oh_huks_keyalg) [keyAlg](#keyalg) | Algorithm of the key. | 21| uint32_t [keySize](#keysize) | Length of the 25519 key. | 22| uint32_t [pubKeySize](#pubkeysize) | Length of the public key. | 23| uint32_t [priKeySize](#prikeysize) | Length of the private key. | 24| uint32_t [reserved](#reserved) | Reserved field. You are advised to set the value to **0**. | 25 26 27## Member Variable Description 28 29 30### keyAlg 31 32``` 33enum OH_Huks_KeyAlg OH_Huks_KeyMaterial25519::keyAlg 34``` 35**Description**<br> 36Algorithm of the key. 37 38 39### keySize 40 41``` 42uint32_t OH_Huks_KeyMaterial25519::keySize 43``` 44**Description**<br> 45Length of the 25519 key. 46 47 48### priKeySize 49 50``` 51uint32_t OH_Huks_KeyMaterial25519::priKeySize 52``` 53**Description**<br> 54Length of the private key. 55 56 57### pubKeySize 58 59``` 60uint32_t OH_Huks_KeyMaterial25519::pubKeySize 61``` 62**Description**<br> 63Length of the public key. 64 65 66### reserved 67 68``` 69uint32_t OH_Huks_KeyMaterial25519::reserved 70``` 71**Description**<br> 72Reserved. 73