certmap-services v0.1.0
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
Returns Promise\
deleteRecord
Delete a matching CertMap record
Parameters
Returns Promise\
findByType
Find certificate type registration by type
Parameters
type
stringregistryOperators
Array[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)registryOperator
Returns Promise[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)
findByName
Find certificate type registration token by name
Parameters
name
string certificate type name to search forregistryOperators
Array[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)registryOperator
string operator of the certificate registration
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.
10 months ago