Skip to content

Commit 9453aeb

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 0657463 commit 9453aeb

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/hiero_sdk_python/utils/key_utils.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +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(
37-
"Key must be of type PrivateKey or PublicKey, or another SDK Key implementation"
38-
)
36+
raise TypeError("Key must be of type PrivateKey or PublicKey, or another SDK Key implementation")

0 commit comments

Comments
 (0)