new X509WalletMixin()
Methods
-
<static> createIdentity(mspId, certificate, privateKey)
-
Create an identity object using X509 credentials.
Parameters:
Name Type Description mspId
string certificate
string Certificate containing the public key in PEM format. privateKey
string Private key in PEM format.