Skip to content

Commit 06c217e

Browse files
committed
feat: add DER encoding methods and update key type alias in key_utils
Signed-off-by: MonaaEid <monaa_eid@hotmail.com>
1 parent 1926a85 commit 06c217e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hiero_sdk_python/utils/key_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ def key_to_proto(key: Key | None) -> basic_types_pb2.Key | None:
3333
if isinstance(key, Key):
3434
return key.to_proto_key()
3535

36-
raise TypeError("Key must be of type PrivateKey or PublicKey")
36+
raise TypeError("Key must be of type PrivateKey or PublicKey, or another SDK Key implementation")

0 commit comments

Comments
 (0)