| |
- fgcp.FGCPError(exceptions.Exception)
-
- FGCPResponseError
- FGCPConnection
-
- FGCPProxyServer
- FGCPResponseParser
class FGCPConnection |
|
FGCP XML-RPC Connection |
|
Methods defined here:
- __init__(self, key_file='client.pem', region='de', verbose=0, debug=0, conn=None)
- Use the same PEM file for SSL client certificate and RSA key signature
Note: to convert your .p12 or .pfx file to unencrypted PEM format, you can use
the following 'openssl' command:
openssl pkcs12 -in UserCert.p12 -out client.pem -nodes
- __repr__(self)
- add_param(self, key=None, value=None, depth=0)
- close(self)
- connect(self)
- do_action(self, action, params=None, attachments=None)
- Send the XML-RPC request and get the response
- get_accesskeyid(self)
- # see com.fujitsu.oviss.pub.OViSSSignature
- get_body(self, action, params=None, attachments=None)
- get_headers(self, attachments=None)
- get_signature(self, acc=None)
- # see com.fujitsu.oviss.pub.OViSSSignature
- receive(self)
- send(self, method, uri, body, headers)
- set_conn(self, conn)
- set_key(self, key_string)
- set_region(self, region)
Data and other attributes defined here:
- api_version = '2012-02-18'
- debug = 0
- key_file = 'client.pem'
- locale = 'en'
- region = 'de'
- timezone = 'Central European Time'
- uri = '/ovissapi/endpoint'
- user_agent = 'OViSS-API-CLIENT'
- verbose = 0
|
class FGCPProxyServer(FGCPConnection) |
|
FGCP XML-RPC Proxy Server |
|
Methods inherited from FGCPConnection:
- __init__(self, key_file='client.pem', region='de', verbose=0, debug=0, conn=None)
- Use the same PEM file for SSL client certificate and RSA key signature
Note: to convert your .p12 or .pfx file to unencrypted PEM format, you can use
the following 'openssl' command:
openssl pkcs12 -in UserCert.p12 -out client.pem -nodes
- __repr__(self)
- add_param(self, key=None, value=None, depth=0)
- close(self)
- connect(self)
- do_action(self, action, params=None, attachments=None)
- Send the XML-RPC request and get the response
- get_accesskeyid(self)
- # see com.fujitsu.oviss.pub.OViSSSignature
- get_body(self, action, params=None, attachments=None)
- get_headers(self, attachments=None)
- get_signature(self, acc=None)
- # see com.fujitsu.oviss.pub.OViSSSignature
- receive(self)
- send(self, method, uri, body, headers)
- set_conn(self, conn)
- set_key(self, key_string)
- set_region(self, region)
Data and other attributes inherited from FGCPConnection:
- api_version = '2012-02-18'
- debug = 0
- key_file = 'client.pem'
- locale = 'en'
- region = 'de'
- timezone = 'Central European Time'
- uri = '/ovissapi/endpoint'
- user_agent = 'OViSS-API-CLIENT'
- verbose = 0
|
|