MCPcopy Index your code
hub / github.com/aws/aws-cli / __init__

Method __init__

awscli/customizations/cloudfront.py:304–306  ·  view source on GitHub ↗
(self, private_key)

Source from the content-addressed store, hash-verified

302
303class RSASigner:
304 def __init__(self, private_key):
305 key_bytes = private_key.encode('utf8')
306 self.priv_key = RSA.new_private_key_from_pem_data(key_bytes)
307
308 def sign(self, message):
309 return self.priv_key.sign(

Callers 5

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 1

encodeMethod · 0.45

Tested by

no test coverage detected