Class CAConnection
Object
|
+--CAConnection
- class
CAConnection
Class implementing a CA web service connector
Defined in requestcert.js
|
Constructor Summary |
CAConnection(<String> url)
Creates a web service connector to access an online CA
|
|
Method Summary |
void
|
close()
Close the connector and release allocated resources
|
XML
|
getLastRequest()
Gets the last request
|
XML
|
getLastResponse()
Gets the last response
|
String
|
getLastReturnCode()
Get the last return code
|
ByteString[]
|
requestCertificate(<ByteString> certreq, devicecert, commonName, eMailAddress, activationCode)
Request a certificate from the CA using a web service
|
lastReturnCode
Object lastReturnCode
soapcon
Object soapcon
url
Object url
verbose
Object verbose
CAConnection
CAConnection(<String> url)
Creates a web service connector to access an online CA
Parameters:
url - the web service endpoint
close
void close()
Close the connector and release allocated resources
getLastRequest
XML getLastRequest()
getLastResponse
XML getLastResponse()
getLastReturnCode
String getLastReturnCode()
Returns:
the last return code received or null if none defined
requestCertificate
ByteString[] requestCertificate(<ByteString> certreq, devicecert, commonName, eMailAddress, activationCode)
Request a certificate from the CA using a web service
Parameters:
certreq - the certificate request
messageID - the messageID for asynchronous requests (optional)
responseURL - the URL to which the asynchronous response is send (optional)
Documentation generated by
JSDoc on Tue Sep 3 22:29:45 2013