|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--SPOCConnection
Class implementing a SPOC web service connector
Defined in spocconnection.js
| Field Summary | |
Object |
lastReturnCode
|
Object |
soapcon
|
Object |
url
|
Object |
verbose
|
| Constructor Summary | |
SPOCConnection(<String> url)
Creates a web service connector to access services of a SPOC as defined in CSN 36 9791 |
|
| Method Summary | |
void
|
close()
Close the connector and release allocated resources |
void
|
generalMessage(<String> callerID, <String> messageID, <String> subject, <String> body)
Obtain a list of certificates from the SPOC |
ByteString[]
|
getCACertificates(<String> callerID, <String> messageID)
Obtain a list of certificates from the SPOC |
String
|
getLastReturnCode()
Get the last return code |
ByteString[]
|
requestCertificate(<ByteString> certreq, <String> callerID, <String> messageID)
Request a certificate from the SPOC using a web service |
String
|
sendCertificates(<ByteString[]> certificates, <String> callerID, <String> messageID, <String> statusInfo)
Send a certificate to the SPOC |
<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 lastReturnCode
Object soapcon
Object url
Object verbose
| Constructor Detail |
SPOCConnection(<String> url)
url - the web service endpoint
| Method Detail |
void close()
void generalMessage(<String> callerID, <String> messageID, <String> subject, <String> body)
callerID - two letter country code of the calling CVCA
messageID - unique message id generated by the caller
subject - the subject of the message
body - the body of the message
ByteString[] getCACertificates(<String> callerID, <String> messageID)
callerID - two letter country code of the calling CVCA
messageID - unique message id generated by the caller
String getLastReturnCode()
ByteString[] requestCertificate(<ByteString> certreq, <String> callerID, <String> messageID)
certreq - the certificate request
callerID - two letter country code of the calling CVCA
messageID - unique message id generated by the caller
String sendCertificates(<ByteString[]> certificates, <String> callerID, <String> messageID, <String> statusInfo)
certificates - the list of certificates to post or null
callerID - two letter country code of the calling CVCA
messageID - unique message id generated by the caller
statusInfo - the status info provided by the sender
<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 | ||||||||