org.hyperledger.fabric.protos.discovery.AuthInfoOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: discovery/protocol.proto
// Protobuf Java Version: 4.28.2
package org.hyperledger.fabric.protos.discovery;
public interface AuthInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:discovery.AuthInfo)
com.google.protobuf.MessageOrBuilder {
/**
*
* This is the identity of the client that is used to verify the signature
* on the SignedRequest's payload.
* It is a msp.SerializedIdentity in bytes form
*
*
* bytes client_identity = 1 [json_name = "clientIdentity"];
* @return The clientIdentity.
*/
com.google.protobuf.ByteString getClientIdentity();
/**
*
* This is the hash of the client's TLS cert.
* When the network is running with TLS, clients that don't include a certificate
* will be denied access to the service.
* Since the Request is encapsulated with a SignedRequest (which is signed),
* this binds the TLS session to the enrollement identity of the client and
* therefore both authenticates the client to the server,
* and also prevents the server from relaying the request message to another server.
*
*
* bytes client_tls_cert_hash = 2 [json_name = "clientTlsCertHash"];
* @return The clientTlsCertHash.
*/
com.google.protobuf.ByteString getClientTlsCertHash();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy