Class SPOCConnection

Object
   |
   +--SPOCConnection

class 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

lastReturnCode

Object lastReturnCode

soapcon

Object soapcon

url

Object url

verbose

Object verbose

Constructor Detail

SPOCConnection

SPOCConnection(<String> url)

Method Detail

close

void close()

generalMessage

void generalMessage(<String> callerID, <String> messageID, <String> subject, <String> body)

getCACertificates

ByteString[] getCACertificates(<String> callerID, <String> messageID)

getLastReturnCode

String getLastReturnCode()

requestCertificate

ByteString[] requestCertificate(<ByteString> certreq, <String> callerID, <String> messageID)

sendCertificates

String sendCertificates(<ByteString[]> certificates, <String> callerID, <String> messageID, <String> statusInfo)

fromCVCList

<static> ByteString[] fromCVCList(<CVC[]> certlist)

test

<static> void test()

toCVCList

<static> CVC[] toCVCList(<ByteString[]> certlist)


Documentation generated by JSDoc on Tue Sep 3 22:29:38 2013