ot::Crypto::Ecdsa::P256::KeyPair::GetPublicKey() const method
Gets the associated public key from the `KeyPair`.
Arguments
aPublicKey
A reference to a `PublicKey` to output the value.
Return value
kErrorNone Public key was retrieved successfully, and @p aPublicKey is updated. kErrorParse The key-pair DER format could not be parsed (invalid format).
ot::Crypto::Ecdsa::P256::KeyPair::GetPublicKey() const is called by 2 functions:
![]()
ot::Crypto::Ecdsa::P256::KeyPair::GetPublicKey() const