Class CVCAConnection
Class implementing a CVCA web service connector
Defined in: cvcaconnection.js.
Constructor Attributes | Constructor Name and Description |
---|---|
CVCAConnection(url)
Creates a web service connector to access services of a CVCA as defined in TR-03129
|
Method Attributes | Method Name and Description |
---|---|
close()
Close the connector and release allocated resources
|
|
Obtain a list of certificates from the CVCA
|
|
Get the last error return code
|
|
requestCertificate(serviceRequest)
Request a certificate from the parent CA using a web service
|
Class Detail
CVCAConnection(url)
Creates a web service connector to access services of a CVCA as defined in TR-03129
- Parameters:
- {String} url
- the web service endpoint
Method Detail
close()
Close the connector and release allocated resources
{CVC[]}
getCACertificates()
Obtain a list of certificates from the CVCA
- Returns:
- a lists of card verifiable certificates from the CVCA or null in case of error
{String}
getLastError()
Get the last error return code
- Returns:
- the last error return code received or null if none defined
{CVC[]}
requestCertificate(serviceRequest)
Request a certificate from the parent CA using a web service
- Parameters:
- {ServiceRequest} serviceRequest
- the underlying request
- Returns:
- the new certificates