Module @ndn/ndncert

@ndn/ndncert

This package is part of NDNts, Named Data Networking libraries for the modern web.

This package partially implements NDN Certificate Management protocol v0.3 and challenges. This implementation is validated against the reference implementation using ndncert-interop.

Features:

  • [X] CA profile (segmentation not supported)
  • [X] PROBE command
  • [X] PROBE extension for redirection
  • [ ] PROBE extension for privacy
  • [X] certificate issuance: NEW and CHALLENGE commands
  • [ ] certificate renewal
  • [ ] certificate revocation
  • [X] CA publishes issued certificates to @ndn/repo

Challenges:

  • [X] PIN
  • [X] email, with name assignment policy
  • [X] proof of possession, with name assignment policy
  • [X] "nop" (not in NDNCERT spec)

@ndn/keychain-cli package offers ndnts-keychain ndncert03-make-profile, ndnts-keychain ndncert03-show-profile, ndnts-keychain ndncert03-ca, ndnts-keychain ndncert03-probe, and ndnts-keychain ndncert03-client commands that use this implementation.

Namespaces

CaProfile
ChallengeRequest
ChallengeResponse
ClientConf
ClientEmailInboxImap
ClientPinLikeChallenge
crypto
ErrorMsg
NewRequest
NewResponse
ProbeRequest
ProbeResponse
ServerEmailChallenge
ServerOptions
ServerPinChallenge
ServerPinLikeChallenge
ServerPossessionChallenge
Status

Enumerations

ErrorCode
Status

Classes

CaProfile
ChallengeRequest
ChallengeResponse
ClientEmailChallenge
ClientEmailInboxImap
ClientNopChallenge
ClientPinChallenge
ClientPinLikeChallenge
ClientPossessionChallenge
NewRequest
NewResponse
ProbeRequest
ProbeResponse
Server
ServerEmailChallenge
ServerNopChallenge
ServerPinChallenge
ServerPinLikeChallenge
ServerPossessionChallenge

Interfaces

ClientChallenge
ClientChallengeContext
ClientChallengeStartContext
ClientConf
ClientOptions
ClientProbeOptions
ErrorMsg
RetrieveCaProfileOptions
ServerChallenge
ServerChallengeContext
ServerChallengeResponse
ServerOptions

Type Aliases

ParameterKV

Variables

C
TT

Functions

exportClientConf
importClientConf
matchProbe
requestCertificate
requestProbe
retrieveCaProfile