Example #1
0
 async def signer(digest, digest_algo):
     log.debug(
         "signing %s with %s",
         hexlify(digest),
         priv_key.public_key().public_numbers(),
     )
     return sign_signer_digest(priv_key, digest_algo, digest)
Example #2
0
 def signer(digest, digest_algo):
     return sign_signer_digest(priv_key, digest_algo, digest)