FabricCAServices Node.js Class

Q

What is the FabricCAServices Node.js Class?

✍: FYIcenter.com

A

FabricCAServices is a class provided in Node.js SDK 'fabric-ca-client' module. FabricCAServices can be used by client applications to communicate with the Fabric CA server.

Key properties and methods provided in FabricCAServices class are:

  • new FabricCAServices() - The constructor to create a new FabricCAServices object with a given URL of the Fabric CA server.
  • enroll() - A method to enroll (sign in or login) a user to the Fabric CA server and to receive its member object, which includes the member certificate and private key.

 

sign-in.js - Sign in to CA Server

Node.js SDK and Client Application

Interfaces to Communicate with Ledger Peer

⇑⇑ Hyperledger Tutorials

2019-11-08, 1272🔥, 0💬