org.hyperledger.fabric.client.identity.Identity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fabric-gateway Show documentation
Show all versions of fabric-gateway Show documentation
Hyperledger Fabric Gateway client API for Java
The newest version!
/*
* Copyright 2020 IBM All Rights Reserved.
*
* SPDX-License-Identifier: Apache-2.0
*/
package org.hyperledger.fabric.client.identity;
/**
* 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.
*/
public interface Identity {
/**
* Member services provider to which this identity is associated.
* @return A member services provider identifier.
*/
String getMspId();
/**
* Implementation-specific credentials.
* @return Credential data.
*/
byte[] getCredentials();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy