Class: EmbeddedIdentityService

(protected) EmbeddedIdentityService(identity)

Base class representing the identity service provided by a Container.

Constructor

(protected) new EmbeddedIdentityService(identity)

Constructor.

Parameters:
Name Type Description
identity String

The current identity.

Source:

Methods

getCertificate() → {string}

Get the certificate for the identity used to submit the transaction.

Source:
Returns:

The certificate for the identity used to submit the transaction.

Type
string

getIdentifier() → {string}

Get a unique identifier for the identity used to submit the transaction.

Source:
Returns:

A unique identifier for the identity used to submit the transaction.

Type
string

getIssuer() → {string}

Get the issuer of the identity used to submit the transaction.

Source:
Returns:

The issuer of the identity used to submit the transaction.

Type
string

getName() → {string}

Get the name of the identity used to submit the transaction.

Source:
Returns:

The name of the identity used to submit the transaction.

Type
string