octavia.certificates.common package

octavia.certificates.common package

Submodules

octavia.certificates.common.barbican module

Common classes for Barbican certificate handling

class BarbicanAuth[source]

Bases: object

get_barbican_client(project_id)[source]

Creates a Barbican client object.

Parameters:project_id – Project ID that the request will be used for
Returns:a Barbican Client object
Raises:Exception – if the client cannot be created
class BarbicanCert(cert_container)[source]

Bases: octavia.certificates.common.cert.Cert

Representation of a Cert based on the Barbican CertificateContainer.

get_certificate()[source]
get_intermediates()[source]
get_private_key()[source]
get_private_key_passphrase()[source]

octavia.certificates.common.cert module

class Cert[source]

Bases: object

Base class to represent all certificates.

get_certificate()[source]

Returns the certificate.

get_intermediates()[source]

Returns the intermediate certificates as a list.

get_private_key()[source]

Returns the private key for the certificate.

get_private_key_passphrase()[source]

Returns the passphrase for the private key.

octavia.certificates.common.local module

Common classes for local filesystem certificate handling

class LocalCert(certificate, private_key, intermediates=None, private_key_passphrase=None)[source]

Bases: octavia.certificates.common.cert.Cert

Representation of a Cert for local storage.

get_certificate()[source]
get_intermediates()[source]
get_private_key()[source]
get_private_key_passphrase()[source]

Module contents

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.