-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
William Tisäter
committed
Oct 25, 2023
1 parent
7c51434
commit 490ebb0
Showing
6 changed files
with
45 additions
and
97 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "rsmime" | ||
version = "0.4.0" | ||
version = "0.4.1" | ||
edition = "2021" | ||
|
||
[lib] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
class ReadCertificateError(Exception): | ||
... | ||
|
||
class LoadCertificateError(Exception): | ||
class CertificateError(Exception): | ||
... | ||
|
||
class SignError(Exception): | ||
... | ||
|
||
class VerifyError(Exception): | ||
... | ||
|
||
def sign(cert_file: str, key_file: str, data_to_sign: bytes) -> bytes: | ||
... | ||
|
||
def verify(cert_file: str, data_to_verify: bytes, throw_on_expiry: bool = False) -> bytes: | ||
def verify(data_to_verify: bytes, throw_on_expiry: bool = False) -> bytes: | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters