Python cryptography.x509._SIG_OIDS_TO_HASH Examples
The following are 30
code examples of cryptography.x509._SIG_OIDS_TO_HASH().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
cryptography.x509
, or try the search function
.
Example #1
Source File: ocsp.py From teleport with Apache License 2.0 | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{} not recognized".format(oid) )
Example #2
Source File: ocsp.py From Carnets with BSD 3-Clause "New" or "Revised" License | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{} not recognized".format(oid) )
Example #3
Source File: x509.py From Carnets with BSD 3-Clause "New" or "Revised" License | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{} not recognized".format(oid) )
Example #4
Source File: x509.py From Carnets with BSD 3-Clause "New" or "Revised" License | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{} not recognized".format(oid) )
Example #5
Source File: x509.py From Carnets with BSD 3-Clause "New" or "Revised" License | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{} not recognized".format(oid) )
Example #6
Source File: ocsp.py From quickstart-redhat-openshift with Apache License 2.0 | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{} not recognized".format(oid) )
Example #7
Source File: x509.py From quickstart-redhat-openshift with Apache License 2.0 | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{} not recognized".format(oid) )
Example #8
Source File: x509.py From quickstart-redhat-openshift with Apache License 2.0 | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{} not recognized".format(oid) )
Example #9
Source File: x509.py From quickstart-redhat-openshift with Apache License 2.0 | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{} not recognized".format(oid) )
Example #10
Source File: x509.py From quickstart-git2s3 with Apache License 2.0 | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{0} not recognized".format(oid) )
Example #11
Source File: x509.py From quickstart-git2s3 with Apache License 2.0 | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{0} not recognized".format(oid) )
Example #12
Source File: x509.py From quickstart-git2s3 with Apache License 2.0 | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{0} not recognized".format(oid) )
Example #13
Source File: ocsp.py From learn_python3_spider with MIT License | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{} not recognized".format(oid) )
Example #14
Source File: x509.py From learn_python3_spider with MIT License | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{} not recognized".format(oid) )
Example #15
Source File: x509.py From learn_python3_spider with MIT License | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{} not recognized".format(oid) )
Example #16
Source File: x509.py From learn_python3_spider with MIT License | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{} not recognized".format(oid) )
Example #17
Source File: x509.py From oss-ftp with MIT License | 5 votes |
def signature_hash_algorithm(self): oid = _obj2txt(self._backend, self._x509.sig_alg.algorithm) try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{0} not recognized".format(oid) )
Example #18
Source File: x509.py From teleport with Apache License 2.0 | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{} not recognized".format(oid) )
Example #19
Source File: x509.py From teleport with Apache License 2.0 | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{} not recognized".format(oid) )
Example #20
Source File: x509.py From teleport with Apache License 2.0 | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{} not recognized".format(oid) )
Example #21
Source File: ocsp.py From teleport with Apache License 2.0 | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{} not recognized".format(oid) )
Example #22
Source File: x509.py From teleport with Apache License 2.0 | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{} not recognized".format(oid) )
Example #23
Source File: x509.py From teleport with Apache License 2.0 | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{} not recognized".format(oid) )
Example #24
Source File: x509.py From teleport with Apache License 2.0 | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{0} not recognized".format(oid) )
Example #25
Source File: x509.py From teleport with Apache License 2.0 | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{0} not recognized".format(oid) )
Example #26
Source File: x509.py From teleport with Apache License 2.0 | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{0} not recognized".format(oid) )
Example #27
Source File: x509.py From Safejumper-for-Desktop with GNU General Public License v2.0 | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{0} not recognized".format(oid) )
Example #28
Source File: x509.py From Safejumper-for-Desktop with GNU General Public License v2.0 | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{0} not recognized".format(oid) )
Example #29
Source File: x509.py From Safejumper-for-Desktop with GNU General Public License v2.0 | 5 votes |
def signature_hash_algorithm(self): oid = self.signature_algorithm_oid try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{0} not recognized".format(oid) )
Example #30
Source File: x509.py From oss-ftp with MIT License | 5 votes |
def signature_hash_algorithm(self): oid = _obj2txt(self._backend, self._x509_req.sig_alg.algorithm) try: return x509._SIG_OIDS_TO_HASH[oid] except KeyError: raise UnsupportedAlgorithm( "Signature algorithm OID:{0} not recognized".format(oid) )