True if 'other' issued 'self', i.e.: - self.issuer == other.subject - self is signed by other
(self, other)
| 1000 | self.signatureLen = len(self.signatureValue) |
| 1001 | |
| 1002 | def isIssuer(self, other): |
| 1003 | """ |
| 1004 | True if 'other' issued 'self', i.e.: |
| 1005 | - self.issuer == other.subject |
| 1006 | - self is signed by other |
| 1007 | """ |
| 1008 | if self.issuer_hash != other.subject_hash: |
| 1009 | return False |
| 1010 | return other.pubkey.verifyCert(self) |
| 1011 | |
| 1012 | def isIssuerCert(self, other): |
| 1013 | return self.isIssuer(other) |
no test coverage detected