summaryrefslogtreecommitdiffstats
path: root/base/common/python/pki/systemcert.py
diff options
context:
space:
mode:
authorAbhishek Koneru <akoneru@redhat.com>2014-05-02 17:35:48 -0400
committerAbhishek Koneru <akoneru@redhat.com>2014-05-29 11:13:32 -0400
commitb4e89529c9a93510433190bbe2a72bb380545512 (patch)
tree10c1d60a0318125d78092a9dab8c08e0815884fe /base/common/python/pki/systemcert.py
parent989e5d3c4ce2b77d8612094d6d95b59d75d04637 (diff)
downloadpki-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.py2
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