Difference between revisions of "PKI 10.8 Python Changes"

From Dogtag
Jump to: navigation, search
(Created page with "= pki.client.PKIConnection = Previously the subsystem name had to be specified when creating the connection object, limiting the use of the connection object to a specific su...")
(No difference)

Revision as of 16:19, 9 September 2019

pki.client.PKIConnection

Previously the subsystem name had to be specified when creating the connection object, limiting the use of the connection object to a specific subsystem only. For example:

ca_connection = PKIConnection(subsystem='ca')
cert_client = CertClient(ca_connection)

kra_connection = PKIConnection(subsystem='kra')
key_client = KeyClient(kra_connection)

Since PKI 10.8 the subsystem should be specified when creating the objects instead, allowing the connection object to be used with various subsystems. For example:

connection = PKIConnection()
cert_client = CertClient(connection, subsystem='ca')
key_client = KeyClient(kra_connection, subsystem='kra')

See Also