Skip to content

Commit

Permalink
Fixed issues
Browse files Browse the repository at this point in the history
  • Loading branch information
satcfdi committed Jun 21, 2024
1 parent bc3d62c commit f7b67a8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions satcfdi/models/signer.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,9 @@ def key_bytes(
self, password: str | bytes = None, encoding: Encoding = Encoding.DER
) -> bytes:
"""Returns the private key in bytes
Args:
password (str | bytes, optional): The password to decrypt the private key. Defaults to None.
encoding (cryptography.hazmat.primitives.serialization.Encoding, optional): The encoding format of the private key. Defaults to "DER".
Raises:
ValueError: If the encoding is not "DER" or "PEM"
Returns:
bytes: The private key in bytes
"""
Expand Down

0 comments on commit f7b67a8

Please sign in to comment.