File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,7 @@ def from_dict(cls, signature_dict):
43
43
Creates a Signature object from its JSON/dict representation.
44
44
45
45
<Arguments>
46
- signature_dict: A dict containing that should contain valid keyid
47
- and signature.
46
+ signature_dict: A dict that contains a valid keyid and signature.
48
47
Note that the fields should be named "keyid" and "sig" respectively.
49
48
"""
50
49
@@ -83,7 +82,7 @@ def sign(payload):
83
82
84
83
<Returns>
85
84
Returns a "Signature" class instance containing the signature and the
86
- the keyid which uniquely identifies the key used for signature generation.
85
+ keyid which uniquely identifies the key used for signature generation.
87
86
"""
88
87
raise NotImplementedError # pragma: no cover
89
88
@@ -95,7 +94,8 @@ class SSlibSigner(Signer):
95
94
Securesystemslib default implementation of the "Signer" interface.
96
95
With this implementation the following signature schemes are supported:
97
96
98
- 'RSASSA-PSS'
97
+ 'rsassa-pss-(md5|sha1|sha224|sha256|sha384|sha512)'
98
+ 'rsa-pkcs1v15-(md5|sha1|sha224|sha256|sha384|sha512)'
99
99
RFC3447 - RSASSA-PSS
100
100
http://www.ietf.org/rfc/rfc3447.
101
101
You can’t perform that action at this time.
0 commit comments