diff options
| author | Abhishek Koneru <akoneru@redhat.com> | 2014-05-02 17:35:48 -0400 |
|---|---|---|
| committer | Abhishek Koneru <akoneru@redhat.com> | 2014-05-29 11:13:32 -0400 |
| commit | b4e89529c9a93510433190bbe2a72bb380545512 (patch) | |
| tree | 10c1d60a0318125d78092a9dab8c08e0815884fe /base/common/python/pki/systemcert.py | |
| parent | 989e5d3c4ce2b77d8612094d6d95b59d75d04637 (diff) | |
| download | pki-b4e89529c9a93510433190bbe2a72bb380545512.tar.gz pki-b4e89529c9a93510433190bbe2a72bb380545512.tar.xz pki-b4e89529c9a93510433190bbe2a72bb380545512.zip | |
Implemented CertResource methods in CertClient on the python side.
The methods currently implemented in the CertClient are:
get_cert(), review_cert(), list_certs(), revoke_cert(),
revoke_ca_cert(), hold_cert(), unrevoke_cert()
Also included some test code in main method.
Diffstat (limited to 'base/common/python/pki/systemcert.py')
| -rw-r--r-- | base/common/python/pki/systemcert.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/common/python/pki/systemcert.py b/base/common/python/pki/systemcert.py index f91bbeca0..53fbad653 100644 --- a/base/common/python/pki/systemcert.py +++ b/base/common/python/pki/systemcert.py @@ -44,4 +44,4 @@ class SystemCertClient(object): url = self.cert_url + '/transport' response = self.connection.get(url, self.headers) cert_data = CertData.from_json(response.json()) - return cert_data.Encoded + return cert_data.encoded |
