Package | Description |
---|---|
org.hyperledger.fabric_ca.sdk | |
org.hyperledger.fabric.sdk | |
org.hyperledger.fabric.sdk.identity |
Modifier and Type | Method and Description |
---|---|
HFCAAffiliation.HFCAAffiliationResp |
HFCAAffiliation.create(User registrar)
create an affiliation
|
int |
HFCAIdentity.create(User registrar)
create an identity
|
HFCAAffiliation.HFCAAffiliationResp |
HFCAAffiliation.create(User registrar,
boolean force)
create an affiliation
|
HFCAAffiliation.HFCAAffiliationResp |
HFCAAffiliation.delete(User registrar)
delete an affiliation
|
int |
HFCAIdentity.delete(User registrar)
delete an identity
|
HFCAAffiliation.HFCAAffiliationResp |
HFCAAffiliation.delete(User registrar,
boolean force)
delete an affiliation
|
String |
HFCAClient.generateCRL(User registrar,
Date revokedBefore,
Date revokedAfter,
Date expireBefore,
Date expireAfter)
Generate certificate revocation list.
|
HFCAAffiliation |
HFCAClient.getHFCAAffiliations(User registrar)
gets all affiliations that the registrar is allowed to see
|
HFCACertificateResponse |
HFCAClient.getHFCACertificates(User registrar,
HFCACertificateRequest req)
Gets all certificates that the registrar is allowed to see and based on filter parameters that
are part of the certificate request.
|
Collection<HFCAIdentity> |
HFCAClient.getHFCAIdentities(User registrar)
gets all identities that the registrar is allowed to see
|
int |
HFCAAffiliation.read(User registrar)
gets a specific affiliation
|
int |
HFCAIdentity.read(User registrar)
read retrieves a specific identity
|
Enrollment |
HFCAClient.reenroll(User user)
Re-Enroll the user with member service
|
Enrollment |
HFCAClient.reenroll(User user,
EnrollmentRequest req)
Re-Enroll the user with member service
|
String |
HFCAClient.register(RegistrationRequest request,
User registrar)
Register a user.
|
void |
HFCAClient.revoke(User revoker,
Enrollment enrollment,
String reason)
revoke one enrollment of user
|
String |
HFCAClient.revoke(User revoker,
Enrollment enrollment,
String reason,
boolean genCRL)
revoke one enrollment of user
|
void |
HFCAClient.revoke(User revoker,
String revokee,
String reason)
revoke one user (including his all enrollments)
|
String |
HFCAClient.revoke(User revoker,
String revokee,
String reason,
boolean genCRL)
revoke one user (including his all enrollments)
|
void |
HFCAClient.revoke(User revoker,
String serial,
String aki,
String reason)
revoke one certificate
|
String |
HFCAClient.revoke(User revoker,
String serial,
String aki,
String reason,
boolean genCRL)
revoke one enrollment of user
|
HFCAAffiliation.HFCAAffiliationResp |
HFCAAffiliation.update(User registrar)
update an affiliation
|
int |
HFCAIdentity.update(User registrar)
update an identity
|
HFCAAffiliation.HFCAAffiliationResp |
HFCAAffiliation.update(User registrar,
boolean force)
update an affiliation
|
Modifier and Type | Class and Description |
---|---|
static class |
NetworkConfig.UserInfo
Holds details of a User
|
Modifier and Type | Method and Description |
---|---|
User |
HFClient.getUserContext() |
User |
HFClient.setUserContext(User userContext)
Set the User context for this client.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
Channel.getChannelConfigurationBytes(User userContext)
Channel Configuration bytes.
|
byte[] |
Channel.getChannelConfigurationBytes(User userContext,
Orderer orderer)
Get channel configuration from a specific Orderer
|
byte[] |
Channel.getChannelConfigurationBytes(User userContext,
Peer peer)
Get channel configuration from a specific peer
|
byte[] |
HFClient.getChannelConfigurationSignature(ChannelConfiguration channelConfiguration,
User signer)
Get signature for channel configuration
|
Channel.AnchorPeersConfigUpdateResult |
Channel.getConfigUpdateAnchorPeers(Peer peer,
User userContext,
Collection<String> peersToAdd,
Collection<String> peersToRemove)
Get a channel configuration update to add or remove peers.
|
byte[] |
Channel.getUpdateChannelConfigurationSignature(UpdateChannelConfiguration updateChannelConfiguration,
User signer)
Get signed byes of the update channel.
|
byte[] |
HFClient.getUpdateChannelConfigurationSignature(UpdateChannelConfiguration updateChannelConfiguration,
User signer)
Get signature for update channel configuration
|
static QueryByChaincodeRequest |
QueryByChaincodeRequest.newInstance(User userContext) |
static TransactionProposalRequest |
TransactionProposalRequest.newInstance(User userContext) |
BlockInfo |
Channel.queryBlockByHash(byte[] blockHash,
User userContext)
query this channel for a Block by the block hash.
|
BlockInfo |
Channel.queryBlockByHash(Collection<Peer> peers,
byte[] blockHash,
User userContext)
Query a peer in this channel for a Block by the block hash.
|
BlockInfo |
Channel.queryBlockByNumber(Collection<Peer> peers,
long blockNumber,
User userContext)
query a peer in this channel for a Block by the blockNumber
|
BlockInfo |
Channel.queryBlockByNumber(long blockNumber,
User userContext)
query this channel for a Block by the blockNumber.
|
BlockInfo |
Channel.queryBlockByNumber(Peer peer,
long blockNumber,
User userContext)
query a peer in this channel for a Block by the blockNumber
|
BlockInfo |
Channel.queryBlockByTransactionID(Collection<Peer> peers,
String txID,
User userContext)
query a peer in this channel for a Block by a TransactionID contained in the block
|
BlockInfo |
Channel.queryBlockByTransactionID(Peer peer,
String txID,
User userContext)
query a peer in this channel for a Block by a TransactionID contained in the block
|
BlockInfo |
Channel.queryBlockByTransactionID(String txID,
User userContext)
query this channel for a Block by a TransactionID contained in the block
The request is sent to a random peer in the channel
|
BlockchainInfo |
Channel.queryBlockchainInfo(Collection<Peer> peers,
User userContext)
query for chain information
|
BlockchainInfo |
Channel.queryBlockchainInfo(Peer peer,
User userContext)
query for chain information
|
BlockchainInfo |
Channel.queryBlockchainInfo(User userContext)
query this channel for chain information.
|
CollectionConfigPackage |
Channel.queryCollectionsConfig(String chaincodeName,
Peer peer,
User userContext)
Get information on the collections used by the chaincode.
|
List<org.hyperledger.fabric.protos.peer.Query.ChaincodeInfo> |
Channel.queryInstantiatedChaincodes(Peer peer,
User userContext)
Query peer for chaincode that has been instantiated
|
TransactionInfo |
Channel.queryTransactionByID(Collection<Peer> peers,
String txID,
User userContext)
Query for a Fabric Transaction given its transactionID
|
TransactionInfo |
Channel.queryTransactionByID(Peer peer,
String txID,
User userContext)
Query for a Fabric Transaction given its transactionID
|
TransactionInfo |
Channel.queryTransactionByID(String txID,
User userContext)
Query this channel for a Fabric Transaction given its transactionID.
|
CompletableFuture<BlockEvent.TransactionEvent> |
Channel.sendTransaction(Collection<? extends ProposalResponse> proposalResponses,
Collection<Orderer> orderers,
User userContext)
Send transaction to one of a specified set of orderers with the specified user context.
|
CompletableFuture<BlockEvent.TransactionEvent> |
Channel.sendTransaction(Collection<ProposalResponse> proposalResponses,
User userContext)
Send transaction to one of the orderers on the channel using a specific user context.
|
void |
TransactionRequest.setUserContext(User userContext)
Set the user context for this request.
|
User |
HFClient.setUserContext(User userContext)
Set the User context for this client.
|
void |
Channel.updateChannelConfiguration(User userContext,
UpdateChannelConfiguration updateChannelConfiguration,
Orderer orderer,
byte[]... signers)
Update channel with specified channel configuration
|
Channel.TransactionOptions |
Channel.TransactionOptions.userContext(User userContext)
The user context that is to be used.
|
static void |
User.userContextCheck(User userContext) |
Constructor and Description |
---|
QuerySCCRequest(User userContext) |
Modifier and Type | Method and Description |
---|---|
static SigningIdentity |
IdentityFactory.getSigningIdentity(org.hyperledger.fabric.sdk.security.CryptoSuite cryptoSuite,
User user) |
Constructor and Description |
---|
X509Identity(User user) |
X509SigningIdentity(org.hyperledger.fabric.sdk.security.CryptoSuite cryptoSuite,
User user) |
Copyright © 2022. All rights reserved.