Package proton :: Class SSL
[frames] | no frames]

Class SSL

source code


Instance Methods
 
__new__(cls, transport, domain, session_details=None)
Enforce a singleton SSL object per Transport
source code
 
cipher_name(self) source code
 
protocol_name(self) source code
 
get_cert_subject_subfield(self, subfield_name) source code
 
get_cert_subject(self) source code
 
get_cert_common_name(self) source code
 
get_cert_organization(self) source code
 
get_cert_organization_unit(self) source code
 
get_cert_locality_or_city(self) source code
 
get_cert_country(self) source code
 
get_cert_state_or_province(self) source code
 
get_cert_fingerprint(self, fingerprint_length, digest_name) source code
 
get_cert_fingerprint_sha1(self) source code
 
get_cert_fingerprint_sha256(self) source code
 
get_cert_fingerprint_sha512(self) source code
 
get_cert_fingerprint_md5(self) source code
 
remote_subject(self) source code
 
resume_status(self) source code
Static Methods
 
present() source code
Class Variables
  SHA1 = PN_SSL_SHA1
  SHA256 = PN_SSL_SHA256
  SHA512 = PN_SSL_SHA512
  MD5 = PN_SSL_MD5
  CERT_COUNTRY_NAME = PN_SSL_CERT_SUBJECT_COUNTRY_NAME
  CERT_STATE_OR_PROVINCE = PN_SSL_CERT_SUBJECT_STATE_OR_PROVINCE
  CERT_CITY_OR_LOCALITY = PN_SSL_CERT_SUBJECT_CITY_OR_LOCALITY
  CERT_ORGANIZATION_NAME = PN_SSL_CERT_SUBJECT_ORGANIZATION_NAME
  CERT_ORGANIZATION_UNIT = PN_SSL_CERT_SUBJECT_ORGANIZATION_UNIT
  CERT_COMMON_NAME = PN_SSL_CERT_SUBJECT_COMMON_NAME
  RESUME_UNKNOWN = PN_SSL_RESUME_UNKNOWN
  RESUME_NEW = PN_SSL_RESUME_NEW
  RESUME_REUSED = PN_SSL_RESUME_REUSED
  peer_hostname = property(_get_peer_hostname, _set_peer_hostnam...
Method Details

__new__(cls, transport, domain, session_details=None)

source code 

Enforce a singleton SSL object per Transport

Overrides: object.__new__

remote_subject(self)

source code 
Decorators:
  • @property

Class Variable Details

peer_hostname

Value:
property(_get_peer_hostname, _set_peer_hostname, doc= """
Manage the expected name of the remote peer.  Used to authenticate the\
 remote.
""")