|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--TAConnection
Class implementing a CVCA/DVCA web service connector
Defined in taconnection.js
Field Summary | |
Object |
isCVCA
|
Object |
lastReturnCode
|
Object |
soapcon
|
Object |
url
|
Object |
verbose
|
Object |
version
|
Constructor Summary | |
TAConnection(<String> url, <Boolean> isCVCA)
Creates a web service connector to access services of a CVCA/DVCA as defined in TR-03129 |
Method Summary | |
void
|
close()
Close the connector and release allocated resources |
ByteString[]
|
getCACertificates(<String> messageID, <String> responseURL)
Obtain a list of certificates from the CVCA or DVCA |
String
|
getLastError()
Get the last error return code (Deprecated: Use getLastReturnCode() instead) |
XML
|
getLastRequest()
Gets the last request |
XML
|
getLastResponse()
Gets the last response |
String
|
getLastReturnCode()
Get the last return code |
ByteString[]
|
requestCertificate(<ByteString> certreq, <String> messageID, <String> responseURL)
Request a certificate from the parent CA using a web service |
ByteString[]
|
requestForeignCertificate(<ByteString> certreq, <String> foreignCAR, <String> messageID, <String> responseURL)
Request a certificate from the parent CA using a web service |
String
|
sendCertificates(<ByteString[]> certificates, <String> messageID, <String> statusInfo)
Send a certificate to the DVCA |
void
|
setVersion(<String> version)
Sets the version of the WSDL to use |
<static> ByteString[]
|
fromCVCList(<CVC[]> certlist)
Convert a list of certificate objects into a list of certificates in binary format |
<static> void
|
test()
|
<static> CVC[]
|
toCVCList(<ByteString[]> certlist)
Convert a list of certificates in binary format to a list of CVC objects |
Field Detail |
Object isCVCA
Object lastReturnCode
Object soapcon
Object url
Object verbose
Object version
Constructor Detail |
TAConnection(<String> url, <Boolean> isCVCA)
url
- the web service endpoint
isCVCA
- true if connection is made to CVCA instead of DVCA
Method Detail |
void close()
ByteString[] getCACertificates(<String> messageID, <String> responseURL)
messageID
- the messageID for asynchronous requests (optional)
responseURL
- the URL to which the asynchronous response is send (optional)
String getLastError()
XML getLastRequest()
XML getLastResponse()
String getLastReturnCode()
ByteString[] requestCertificate(<ByteString> certreq, <String> messageID, <String> responseURL)
certreq
- the certificate request
messageID
- the messageID for asynchronous requests (optional)
responseURL
- the URL to which the asynchronous response is send (optional)
ByteString[] requestForeignCertificate(<ByteString> certreq, <String> foreignCAR, <String> messageID, <String> responseURL)
certreq
- the certificate request
foreignCAR
- the CAR of the foreign CVCA
messageID
- the messageID for asynchronous requests (optional)
responseURL
- the URL to which the asynchronous response is send (optional)
String sendCertificates(<ByteString[]> certificates, <String> messageID, <String> statusInfo)
certificates
- the list of certificates to post or null
messageID
- the messageID for asynchronous requests (optional)
statusInfo
- the statusInfo field of the message
void setVersion(<String> version)
version
- the version to use
<static> ByteString[] fromCVCList(<CVC[]> certlist)
certlist
- the list of certificate objects
<static> void test()
<static> CVC[] toCVCList(<ByteString[]> certlist)
certlist
- the list of certificates
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |