Constructors
Accessors
fabricId
- get fabricId(): undefined | FabricId
Returns undefined | FabricId
fabricIndex
- get fabricIndex(): undefined | FabricIndex
keyPair
- get keyPair(): PrivateKey
nodeId
- get nodeId(): undefined | NodeId
Returns undefined | NodeId
publicKey
- get publicKey(): Uint8Array
Returns Uint8Array
rootCert
- get rootCert(): undefined | Uint8Array
Returns undefined | Uint8Array
Methods
build
- build(fabricIndex): Promise<Fabric>
Returns Promise<Fabric>
createCertificateSigningRequest
- createCertificateSigningRequest(): Uint8Array
Returns Uint8Array
hasRootCert
- hasRootCert(): boolean
Returns boolean
initializeFromFabricForUpdate
- initializeFromFabricForUpdate(fabric): void
Returns void
matchesToFabric
- matchesToFabric(fabric): boolean
Returns boolean
setIdentityProtectionKey
- setIdentityProtectionKey(key): this
Returns this
setOperationalCert
- setOperationalCert(operationalCert, intermediateCACert?): this
Parameters
- operationalCert: Uint8Array
Optional
intermediateCACert: Uint8Array
Returns this
setRootCert
- setRootCert(rootCert): this
Returns this
setRootNodeId
- setRootNodeId(rootNodeId): this
Returns this
setRootVendorId
- setRootVendorId(rootVendorId): this
Returns this