NdnsecKeyChain constructor options.

interface Options {
    home?: string;
    importOptions?: ImportOptions;
    pibLocator?: string;
    tpmLocator?: string;
}

Properties

home?: string

HOME environment variable to pass to ndnsec command.

Remarks

ndn-cxx will derive PIB locator and TPM locator from HOME environment variable. This is ignored when both .pibLocator and .tpmLocator are specified.

importOptions?: ImportOptions

SafeBag import options.

pibLocator?: string

ndn-cxx PIB locator.

Remarks

This must be specified together with .tpmLocator.

See

https://docs.named-data.net/ndn-cxx/0.8.1/manpages/ndn-client.conf.html#key-management

tpmLocator?: string

ndn-cxx TPM locator.

Remarks

This must be specified together with .pibLocator.

See

https://docs.named-data.net/ndn-cxx/0.8.1/manpages/ndn-client.conf.html#key-management