twisted.internet._sslverify.PublicKey class documentationtwisted.internet._sslverify
(View In Hierarchy)
Known subclasses: twisted.internet.ssl.KeyPair
| Instance Variable | original | The original private key. | 
| Method | __init__ | |
| Method | matches | Does this PublicKeycontain the same value as anotherPublicKey? | 
| Method | __repr__ | Undocumented | 
| Method | keyHash | Compute a hash of the underlying PKey object. | 
| Method | inspect | Undocumented | 
| Parameters | osslpkey | The underlying pyOpenSSL key object. (type: OpenSSL.crypto.PKey) | 
Compute a hash of the underlying PKey object.
The purpose of this method is to allow you to determine if two certificates share the same public key; it is not really useful for anything else.
In versions of Twisted prior to 15.0, keyHash used a 
technique involving certificate requests for computing the hash that was 
not stable in the face of changes to the underlying OpenSSL library.
| Returns | Return a 32-character hexadecimal string uniquely identifying this public 
key, for this version of Twisted. (type: native str) | |