The vmware_nsx.plugins.nsx_v3.cert_utils Module

class vmware_nsx.plugins.nsx_v3.cert_utils.DbCertificateStorageDriver(context)

Bases: object

Storage for certificate and private key in neutron DB

delete_cert(purpose)
get_cert(purpose)
store_cert(purpose, certificate, private_key)
class vmware_nsx.plugins.nsx_v3.cert_utils.DummyCertificateStorageDriver

Bases: object

Dummy driver API implementation

Used for external certificate import scenario (nsx_client_cert_storage == None)

delete_cert(purpose)
get_cert(purpose)
store_cert(purpose, certificate, private_key)
vmware_nsx.plugins.nsx_v3.cert_utils.generate_secret_from_password(password)
vmware_nsx.plugins.nsx_v3.cert_utils.reset_secret()
vmware_nsx.plugins.nsx_v3.cert_utils.symmetric_decrypt(secret, ciphertext)
vmware_nsx.plugins.nsx_v3.cert_utils.symmetric_encrypt(secret, plaintext)