Represents a client identity used to interact with a Fabric network. The identity consists of an identifier for the organization to which the identity belongs, and implementation-specific credentials describing the identity.

interface Identity {
    credentials: Uint8Array<ArrayBufferLike>;
    mspId: string;
}

Properties

Properties

credentials: Uint8Array<ArrayBufferLike>

Implementation-specific credentials. For an identity described by a X.509 certificate, the credentials are the PEM-encoded certificate.

mspId: string

Member services provider to which this identity is associated.