Package pulp :: Package server :: Package auth :: Module certificate :: Class Bundle
[hide private]
[frames] | no frames]

Class Bundle

source code

object --+
         |
        Bundle

Instance Methods [hide private]
 
__init__(self, key=None, cert=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
read(self, path) source code
 
write(self, path) source code
 
__str__(self)
str(x)
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Class Methods [hide private]
 
split(cls, pem) source code
Class Variables [hide private]
  KEY_PATTERN = re.compile('-----BEGIN.+KEY-----\n.+\n-----END.+...
  CERT_PATTERN = re.compile('-----BEGIN CERTIFICATE-----\n.+\n--...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, key=None, cert=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

Class Variable Details [hide private]

KEY_PATTERN

Value:
re.compile('-----BEGIN.+KEY-----\n.+\n-----END.+KEY-----', re.DOTALL)

CERT_PATTERN

Value:
re.compile('-----BEGIN CERTIFICATE-----\n.+\n-----END CERTIFICATE-----\
', re.DOTALL)