public class CertificateFetcherFromNetwork extends CertificateFetcher
CertificateFetcher.ValidationContinuationcertificateStorage_| Constructor and Description |
|---|
CertificateFetcherFromNetwork(Face face)
Create a CertificateFetcherFromNetwork to fetch certificates using the Face.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doFetch(CertificateRequest certificateRequest,
ValidationState state,
CertificateFetcher.ValidationContinuation continueValidation)
Implement doFetch to use face_.expressInterest to fetch a certificate.
|
fetch, setCertificateStoragepublic CertificateFetcherFromNetwork(Face face)
face - The face for calling expressInterest.protected void doFetch(CertificateRequest certificateRequest, ValidationState state, CertificateFetcher.ValidationContinuation continueValidation) throws CertificateV2.Error
doFetch in class CertificateFetchercertificateRequest - The the request with the Interest for fetching
the certificate.state - The validation state.continueValidation - After fetching, this calls
continueValidation.continueValidation(certificate, state) where certificate
is the fetched certificate and state is the ValidationState.CertificateV2.ErrorCopyright © 2019. All rights reserved.