toProto

Converts a Secp256k1PublicKey object to a CompressedECKeyData object.

Return

the converted CompressedECKeyData object.


Converts the Usage value of a PrismDIDPublicKey to the corresponding KeyUsage enum value.

Return

The KeyUsage enum value corresponding to the Usage value of the PrismDIDPublicKey.