# otPlatCryptoEcdsaKeyPair Struct Reference

# otPlatCryptoEcdsaKeyPair


`#include <openthread/platform/crypto.h>`

Represents an ECDSA key pair (public and private keys).

## Summary

The key pair is stored using Distinguished Encoding Rules (DER) format (per RFC 5915).

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-plat-crypto-ecdsa-key-pair#structot_plat_crypto_ecdsa_key_pair_1a8e8d7ffe4cec0bef1a492d63d6b9066c[125]` | `uint8_t` |
| `https://openthread.io/reference/struct/ot-plat-crypto-ecdsa-key-pair#structot_plat_crypto_ecdsa_key_pair_1aaa5033c5faab32252427652b9ef53ca9` | `uint8_t` |

## Public attributes

### mDerBytes

```
uint8_t otPlatCryptoEcdsaKeyPair::mDerBytes[125]
```

### mDerLength

```
uint8_t otPlatCryptoEcdsaKeyPair::mDerLength
```

## Resources

OpenThread API Reference topics originate from the source code, available
on [GitHub](https://github.com/openthread/openthread/tree/main/include/openthread).
For more information, or to contribute to our documentation, refer to
[Resources](https://openthread.io/resources).