new CertificateFetcherFromNetwork(face)
CertificateFetcherFromNetwork extends CertificateFetcher to fetch missing
certificates from the network.
Create a CertificateFetcherFromNetwork to fetch certificates using the Face.
Parameters:
Name | Type | Description |
---|---|---|
face |
Face | The face for calling expressInterest. |
Methods
doFetch_(certificateRequest, state, continueValidation)
Implement doFetch to use face_.expressInterest to fetch a certificate.
Parameters:
Name | Type | Description |
---|---|---|
certificateRequest |
CertificateRequest | The the request with the Interest for fetching the certificate. |
state |
ValidationState | The validation state. |
continueValidation |
function | After fetching, this calls continueValidation.continueValidation(certificate, state) where certificate is the fetched certificate and state is the ValidationState. |