0.1.0 • Published 10 months ago

certmap-services v0.1.0

Weekly downloads
-
License
PROPRIETARY
Repository
-
Last release
10 months ago

certmap-services

Topic Manager and Lookup Service for CertMap Registry

API

Table of Contents

CertMapLookupService

Implements a lookup service for CertMap name registry

Parameters

  • storageEngine

CertMapTopicManager

Implements a topic manager for CertMap name registry

getDocumentation

Returns the documentation for the CertMap topic

Returns Promise[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) the documentation given as a string

CertMapStorageEngine

Implements a Lookup StorageEngine for CertMap name registry

Parameters

  • db connected mongo database instance

storeRecord

Parameters
  • txid string
  • outputIndex number
  • registration CertMapRegistration
  • certificate

Returns Promise\

deleteRecord

Delete a matching CertMap record

Parameters

Returns Promise\

findByType

Find certificate type registration by type

Parameters

Returns Promise[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)

findByName

Find certificate type registration token by name

Parameters

Returns Promise[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)

License & Confidentiality

This is proprietary software developed and owned by Peer-to-peer Privacy Systems Research, LLC. Except as provided for in your CWI Partner Agreement with us, you may not use this software and must keep it confidential.