Class PAConnection
Object
|
+--PAConnection
- class
PAConnection
Class implementing a DV or NPKD web service connector
Defined in paconnection.js
Constructor Summary |
PAConnection(url, isNPKD)
Creates a web service connector to obtain Master and Defect Lists from a Document Verifier or
a National Public Key Directory (NPKD) as per TR-03129
|
Method Summary |
void
|
close()
Close the connector and release allocated resources
|
ByteString
|
getDefectList()
Obtain a defect list from the NPKD
|
ByteString
|
getMasterList()
Obtain a master list from the NPKD
|
String
|
getReturnCode()
Get the return code
|
void
|
setVersion(<String> version)
Sets the version of the WSDL to use
|
<static> void
|
test()
|
isNPKD
Object isNPKD
returnCode
Object returnCode
soapcon
Object soapcon
url
Object url
verbose
Object verbose
version
Object version
PAConnection
PAConnection(url, isNPKD)
Creates a web service connector to obtain Master and Defect Lists from a Document Verifier or
a National Public Key Directory (NPKD) as per TR-03129
Parameters:
String
- or URLConnection} url the web service endpoint
true
- if connection is made to an CVCA/NPKD, otherwise connection is made to a DV
close
void close()
Close the connector and release allocated resources
getDefectList
ByteString getDefectList()
Obtain a defect list from the NPKD
getMasterList
ByteString getMasterList()
Obtain a master list from the NPKD
getReturnCode
String getReturnCode()
Returns:
the last return code received or null if none defined
setVersion
void setVersion(<String> version)
Sets the version of the WSDL to use
Parameters:
version
- the version to use
test
<static> void test()
Documentation generated by
JSDoc on Tue Sep 3 22:29:38 2013