Class RIConnection
Object
|
+--RIConnection
- class
RIConnection
Class implementing a revocation service web service connector
Defined in riconnection.js
Constructor Summary |
RIConnection(<String> url, <Boolean> isMBS)
Creates a web service connector to access a revocation service as per TR-03129
|
Method Summary |
void
|
close()
Close the connector and release allocated resources
|
ByteString
|
getCompleteBlackList()
Obtain a complete blacklist list from the revocation service
|
ByteString
|
getDeltaBlackLists(deltaBase)
Obtain a complete blacklist list from the revocation service
|
String
|
getLastError()
Get the last error return code
|
ByteString
|
getSectorPublicKey(sectorID)
Get sector public key
|
void
|
setTrustAndKeystore(<KeyStore> truststore, <TrustStore> keystore, privateKeyPIN)
Set the keystore used for HTTPS downloads
|
void
|
setVersion(<String> version)
Sets the version of the WSDL to use
|
<static> void
|
test()
|
isMBS
Object isMBS
lastError
Object lastError
soapcon
Object soapcon
url
Object url
verbose
Object verbose
version
Object version
RIConnection
RIConnection(<String> url, <Boolean> isMBS)
Creates a web service connector to access a revocation service as per TR-03129
Parameters:
url
- the web service endpoint
isMBS
- true if connection is made to an CVCA/MBS, otherwise connection is made to a DV
close
void close()
Close the connector and release allocated resources
getCompleteBlackList
ByteString getCompleteBlackList()
Obtain a complete blacklist list from the revocation service
Returns:
the blacklist as CMS object
getDeltaBlackLists
ByteString getDeltaBlackLists(deltaBase)
Obtain a complete blacklist list from the revocation service
Returns:
the blacklist as CMS object
getLastError
String getLastError()
Get the last error return code
Returns:
the last error return code received or null if none defined
getSectorPublicKey
ByteString getSectorPublicKey(sectorID)
setTrustAndKeystore
void setTrustAndKeystore(<KeyStore> truststore, <TrustStore> keystore, privateKeyPIN)
Set the keystore used for HTTPS downloads
Parameters:
truststore
- the truststore for the HTTPS file download
keystore
- the keystore for the HTTPS file download
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