CertificateFetcher Class

CertificateFetcher is an abstract base class which provides an interface used by the Validator to fetch missing certificates. You should create one of the subclasses.

[C++]:
#include <ndn-cpp/security/v2/certificate-fetcher.hpp>
Namespace: ndn
[Python]:

Module: pyndn.security.v2

[Java]:

Package: net.named_data.jndn.security.v2

Realizations:

CertificateFetcherFromNetwork Class

CertificateFetcherFromNetwork extends CertificateFetcher to fetch missing certificates from the network.

[C++]:
#include <ndn-cpp/security/v2/certificate-fetcher-from-network.hpp>
Namespace: ndn
[Python]:Module: pyndn.security.v2
[Java]:Package: net.named_data.jndn.security.v2

CertificateFetcherFromNetwork Constructor

Create a CertificateFetcherFromNetwork to fetch certificates using the Face.

[C++]:
CertificateFetcherFromNetwork(
    Face& face
);
[Python]:
def __init__(self,
    face  # Face
)
[JavaScript]:
var CertificateFetcherFromNetwork = function CertificateFetcherFromNetwork(
    face  // Face
)
[Java]:
public CertificateFetcherFromNetwork(
    Face face
)
Parameters:
  • face
    The Face for calling expressInterest.

CertificateFetcherOffline Class

CertificateFetcherOffline extends CertificateFetcher to implement a fetcher that does not fetch certificates (always offline).

[C++]:
#include <ndn-cpp/security/v2/certificate-fetcher-offline.hpp>
Namespace: ndn
[Python]:Module: pyndn.security.v2
[Java]:Package: net.named_data.jndn.security.v2

CertificateFetcherOffline Constructor

Create a CertificateFetcherOffline object.

[C++]:
CertificateFetcherOffline();
[Python]:
def __init__(self)
[JavaScript]:
var CertificateFetcherOffline = function CertificateFetcherOffline()
[Java]:
public CertificateFetcherOffline()