origami-name-registry
v0.3.4
Published
Origami name registry
Downloads
12
Readme
Origami name registry
Purpose
To authenticate then other party through challenge messages. The name registry itself provides the mechanism for verifying the challenge.
Requirements
- privateKey: a private key in an acceptable format for crypto-utils. That format is currently PKCS1-PEM.
Usage
var NameRegistry = require('origami-name-registry');
var myRegistry = new NameRegistry(privateKey);
myRegistry
.authorizeNamespace(
'OtherSide',
publicKey1
);
myRegistry
.addPublicNamespace(
'PublicConnections'
);