new CertificateAuthority(name)
Construct a CertificateAuthority object
Parameters:
Name | Type | Description |
---|---|---|
name |
string | The name of this Certificate Authority |
Returns:
-
The url of this CertificateAuthority
- Type
- string
-
The CertificateAuthority instance.
- Type
- CertificateAuthority
Methods
-
enroll()
-
-
generateCRL()
-
-
getCaName()
-
Gets the name of this CertificateAuthority to use in request
Returns:
The ca name of this CertificateAuthority- Type
- string
-
getConnectionOptions()
-
Gets the connection options of this CertificateAuthority
Returns:
The connection options of this CertificateAuthority- Type
- object
-
getFabricCAServices()
-
Get the FabricCAServices implementation
Returns:
-
getName()
-
Gets the name of this CertificateAuthority
Returns:
The name of this CertificateAuthority- Type
- string
-
getRegistrar()
-
Gets the registrar of this CertificateAuthority
Returns:
The registrar of this CertificateAuthority- Type
- object
-
getTlsCACerts()
-
Gets the TLS CA Cert of this CertificateAuthority
Returns:
The TLS CA Cert PEM string of this CertificateAuthority- Type
- string
-
getUrl()
-
Gets the url of this CertificateAuthority
Returns:
The url of this CertificateAuthority- Type
- string
-
newAffiliationService()
-
-
newCertificateService()
-
-
newIdentityService()
-
-
reenroll()
-
-
register()
-
-
revoke()
-
-
setFabricCAServices(ca_services)
-
Set the FabricCAServices implementation
Parameters:
Name Type Description ca_services
FabricCAServices FabricCAServices -
toString()
-
return a printable representation of this object