Пример #1
0
 def algorithm(self):
     return hashlib.sha1()
Пример #2
0
 def x509(self, subject, subject_key):
     return CSR.new(subject_key, subject, hashlib.sha1())