Members
ComponentType
A ComponentType specifies the recognized types of a name component. If
the component type in the packet is not a recognized enum value, then we
use ComponentType.OTHER_CODE and you can call
Name.Component.getOtherTypeCode(). We do this to keep the recognized
component type values independent of packet encoding details.
ContentType
A ContentType specifies the content type in a MetaInfo object. If the
content type in the packet is not a recognized enum value, then we use
ContentType.OTHER_CODE and you can call MetaInfo.getOtherTypeCode(). We do
this to keep the recognized content type values independent of packet
encoding formats.
- Source:
KeyClassExtensions
File extensions by KeyClass type
KeyLocatorType
KeyLocator
- Source:
MimeTypes
MimeTypes contains a mapping of filename extension to MIME type, and a function getContentTypeAndCharset to select it.
- Source:
sqlite3
Copyright (C) 2015-2018 Regents of the University of California.
- Source:
WireFormat
Copyright (C) 2014-2018 Regents of the University of California.
Methods
DerNodeType()
The DerNodeType enum defines the known DER node types.
- Source:
DetectSubtleCrypto()
This module checks for the availability of various crypto.subtle api's at runtime,
exporting a function that returns the known availability of necessary NDN crypto apis
Copyright (C) 2014-2018 Regents of the University of California.
- Source:
EcdsaKeyParams()
- Deprecated:
- Use EcKeyParams .
- Source:
encodeToBinaryInterest()
- Deprecated:
- Use interest.wireEncode().
- Source:
EncryptError()
EncryptError holds the ErrorCode enum for errors from the encrypt library.
- Source:
FireflyFace((optional))
FireflyFace extends Face to override expressInterest, registerPrefix and
putData to interface with Google Firestore. In general, this converts each
NDN name like "/ndn/user/bob" to the Firestore path "/ndn/_/user/_/bob/_"
where each name component has a document named "_" and a collection having
the name of its child component. This updates the "_" document with fields
like "interestExpressTime" and "data" to simulate NDN messaging. (The "_"
document also has a "children" field with a set of the names of the children
nodes, which is necessary because Firestore doesn't allow enumerating
children.)
Parameters:
Name | Type | Description |
---|---|---|
(optional) |
firebase.firestore.Firestore | The Firestore object which is already created. If omitted, use the default "ndn-firefly" project. |
- Source:
Log()
The Log class holds the global static variable LOG.
VerificationHelpers()
The VerificationHelpers class has static methods to verify signatures and
digests.
- Source: