All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hyperledger.fabric.protos.msp.FabricMSPConfigOrBuilder Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: msp/msp_config.proto
// Protobuf Java Version: 4.28.2

package org.hyperledger.fabric.protos.msp;

public interface FabricMSPConfigOrBuilder extends
    // @@protoc_insertion_point(interface_extends:msp.FabricMSPConfig)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * Name holds the identifier of the MSP; MSP identifier
   * is chosen by the application that governs this MSP.
   * For example, and assuming the default implementation of MSP,
   * that is X.509-based and considers a single Issuer,
   * this can refer to the Subject OU field or the Issuer OU field.
   * 
* * string name = 1 [json_name = "name"]; * @return The name. */ java.lang.String getName(); /** *
   * Name holds the identifier of the MSP; MSP identifier
   * is chosen by the application that governs this MSP.
   * For example, and assuming the default implementation of MSP,
   * that is X.509-based and considers a single Issuer,
   * this can refer to the Subject OU field or the Issuer OU field.
   * 
* * string name = 1 [json_name = "name"]; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
   * List of root certificates trusted by this MSP
   * they are used upon certificate validation (see
   * comment for IntermediateCerts below)
   * 
* * repeated bytes root_certs = 2 [json_name = "rootCerts"]; * @return A list containing the rootCerts. */ java.util.List getRootCertsList(); /** *
   * List of root certificates trusted by this MSP
   * they are used upon certificate validation (see
   * comment for IntermediateCerts below)
   * 
* * repeated bytes root_certs = 2 [json_name = "rootCerts"]; * @return The count of rootCerts. */ int getRootCertsCount(); /** *
   * List of root certificates trusted by this MSP
   * they are used upon certificate validation (see
   * comment for IntermediateCerts below)
   * 
* * repeated bytes root_certs = 2 [json_name = "rootCerts"]; * @param index The index of the element to return. * @return The rootCerts at the given index. */ com.google.protobuf.ByteString getRootCerts(int index); /** *
   * List of intermediate certificates trusted by this MSP;
   * they are used upon certificate validation as follows:
   * validation attempts to build a path from the certificate
   * to be validated (which is at one end of the path) and
   * one of the certs in the RootCerts field (which is at
   * the other end of the path). If the path is longer than
   * 2, certificates in the middle are searched within the
   * IntermediateCerts pool
   * 
* * repeated bytes intermediate_certs = 3 [json_name = "intermediateCerts"]; * @return A list containing the intermediateCerts. */ java.util.List getIntermediateCertsList(); /** *
   * List of intermediate certificates trusted by this MSP;
   * they are used upon certificate validation as follows:
   * validation attempts to build a path from the certificate
   * to be validated (which is at one end of the path) and
   * one of the certs in the RootCerts field (which is at
   * the other end of the path). If the path is longer than
   * 2, certificates in the middle are searched within the
   * IntermediateCerts pool
   * 
* * repeated bytes intermediate_certs = 3 [json_name = "intermediateCerts"]; * @return The count of intermediateCerts. */ int getIntermediateCertsCount(); /** *
   * List of intermediate certificates trusted by this MSP;
   * they are used upon certificate validation as follows:
   * validation attempts to build a path from the certificate
   * to be validated (which is at one end of the path) and
   * one of the certs in the RootCerts field (which is at
   * the other end of the path). If the path is longer than
   * 2, certificates in the middle are searched within the
   * IntermediateCerts pool
   * 
* * repeated bytes intermediate_certs = 3 [json_name = "intermediateCerts"]; * @param index The index of the element to return. * @return The intermediateCerts at the given index. */ com.google.protobuf.ByteString getIntermediateCerts(int index); /** *
   * Identity denoting the administrator of this MSP
   * 
* * repeated bytes admins = 4 [json_name = "admins"]; * @return A list containing the admins. */ java.util.List getAdminsList(); /** *
   * Identity denoting the administrator of this MSP
   * 
* * repeated bytes admins = 4 [json_name = "admins"]; * @return The count of admins. */ int getAdminsCount(); /** *
   * Identity denoting the administrator of this MSP
   * 
* * repeated bytes admins = 4 [json_name = "admins"]; * @param index The index of the element to return. * @return The admins at the given index. */ com.google.protobuf.ByteString getAdmins(int index); /** *
   * Identity revocation list
   * 
* * repeated bytes revocation_list = 5 [json_name = "revocationList"]; * @return A list containing the revocationList. */ java.util.List getRevocationListList(); /** *
   * Identity revocation list
   * 
* * repeated bytes revocation_list = 5 [json_name = "revocationList"]; * @return The count of revocationList. */ int getRevocationListCount(); /** *
   * Identity revocation list
   * 
* * repeated bytes revocation_list = 5 [json_name = "revocationList"]; * @param index The index of the element to return. * @return The revocationList at the given index. */ com.google.protobuf.ByteString getRevocationList(int index); /** *
   * SigningIdentity holds information on the signing identity
   * this peer is to use, and which is to be imported by the
   * MSP defined before
   * 
* * .msp.SigningIdentityInfo signing_identity = 6 [json_name = "signingIdentity"]; * @return Whether the signingIdentity field is set. */ boolean hasSigningIdentity(); /** *
   * SigningIdentity holds information on the signing identity
   * this peer is to use, and which is to be imported by the
   * MSP defined before
   * 
* * .msp.SigningIdentityInfo signing_identity = 6 [json_name = "signingIdentity"]; * @return The signingIdentity. */ org.hyperledger.fabric.protos.msp.SigningIdentityInfo getSigningIdentity(); /** *
   * SigningIdentity holds information on the signing identity
   * this peer is to use, and which is to be imported by the
   * MSP defined before
   * 
* * .msp.SigningIdentityInfo signing_identity = 6 [json_name = "signingIdentity"]; */ org.hyperledger.fabric.protos.msp.SigningIdentityInfoOrBuilder getSigningIdentityOrBuilder(); /** *
   * OrganizationalUnitIdentifiers holds one or more
   * fabric organizational unit identifiers that belong to
   * this MSP configuration
   * 
* * repeated .msp.FabricOUIdentifier organizational_unit_identifiers = 7 [json_name = "organizationalUnitIdentifiers"]; */ java.util.List getOrganizationalUnitIdentifiersList(); /** *
   * OrganizationalUnitIdentifiers holds one or more
   * fabric organizational unit identifiers that belong to
   * this MSP configuration
   * 
* * repeated .msp.FabricOUIdentifier organizational_unit_identifiers = 7 [json_name = "organizationalUnitIdentifiers"]; */ org.hyperledger.fabric.protos.msp.FabricOUIdentifier getOrganizationalUnitIdentifiers(int index); /** *
   * OrganizationalUnitIdentifiers holds one or more
   * fabric organizational unit identifiers that belong to
   * this MSP configuration
   * 
* * repeated .msp.FabricOUIdentifier organizational_unit_identifiers = 7 [json_name = "organizationalUnitIdentifiers"]; */ int getOrganizationalUnitIdentifiersCount(); /** *
   * OrganizationalUnitIdentifiers holds one or more
   * fabric organizational unit identifiers that belong to
   * this MSP configuration
   * 
* * repeated .msp.FabricOUIdentifier organizational_unit_identifiers = 7 [json_name = "organizationalUnitIdentifiers"]; */ java.util.List getOrganizationalUnitIdentifiersOrBuilderList(); /** *
   * OrganizationalUnitIdentifiers holds one or more
   * fabric organizational unit identifiers that belong to
   * this MSP configuration
   * 
* * repeated .msp.FabricOUIdentifier organizational_unit_identifiers = 7 [json_name = "organizationalUnitIdentifiers"]; */ org.hyperledger.fabric.protos.msp.FabricOUIdentifierOrBuilder getOrganizationalUnitIdentifiersOrBuilder( int index); /** *
   * FabricCryptoConfig contains the configuration parameters
   * for the cryptographic algorithms used by this MSP
   * 
* * .msp.FabricCryptoConfig crypto_config = 8 [json_name = "cryptoConfig"]; * @return Whether the cryptoConfig field is set. */ boolean hasCryptoConfig(); /** *
   * FabricCryptoConfig contains the configuration parameters
   * for the cryptographic algorithms used by this MSP
   * 
* * .msp.FabricCryptoConfig crypto_config = 8 [json_name = "cryptoConfig"]; * @return The cryptoConfig. */ org.hyperledger.fabric.protos.msp.FabricCryptoConfig getCryptoConfig(); /** *
   * FabricCryptoConfig contains the configuration parameters
   * for the cryptographic algorithms used by this MSP
   * 
* * .msp.FabricCryptoConfig crypto_config = 8 [json_name = "cryptoConfig"]; */ org.hyperledger.fabric.protos.msp.FabricCryptoConfigOrBuilder getCryptoConfigOrBuilder(); /** *
   * List of TLS root certificates trusted by this MSP.
   * They are returned by GetTLSRootCerts.
   * 
* * repeated bytes tls_root_certs = 9 [json_name = "tlsRootCerts"]; * @return A list containing the tlsRootCerts. */ java.util.List getTlsRootCertsList(); /** *
   * List of TLS root certificates trusted by this MSP.
   * They are returned by GetTLSRootCerts.
   * 
* * repeated bytes tls_root_certs = 9 [json_name = "tlsRootCerts"]; * @return The count of tlsRootCerts. */ int getTlsRootCertsCount(); /** *
   * List of TLS root certificates trusted by this MSP.
   * They are returned by GetTLSRootCerts.
   * 
* * repeated bytes tls_root_certs = 9 [json_name = "tlsRootCerts"]; * @param index The index of the element to return. * @return The tlsRootCerts at the given index. */ com.google.protobuf.ByteString getTlsRootCerts(int index); /** *
   * List of TLS intermediate certificates trusted by this MSP;
   * They are returned by GetTLSIntermediateCerts.
   * 
* * repeated bytes tls_intermediate_certs = 10 [json_name = "tlsIntermediateCerts"]; * @return A list containing the tlsIntermediateCerts. */ java.util.List getTlsIntermediateCertsList(); /** *
   * List of TLS intermediate certificates trusted by this MSP;
   * They are returned by GetTLSIntermediateCerts.
   * 
* * repeated bytes tls_intermediate_certs = 10 [json_name = "tlsIntermediateCerts"]; * @return The count of tlsIntermediateCerts. */ int getTlsIntermediateCertsCount(); /** *
   * List of TLS intermediate certificates trusted by this MSP;
   * They are returned by GetTLSIntermediateCerts.
   * 
* * repeated bytes tls_intermediate_certs = 10 [json_name = "tlsIntermediateCerts"]; * @param index The index of the element to return. * @return The tlsIntermediateCerts at the given index. */ com.google.protobuf.ByteString getTlsIntermediateCerts(int index); /** *
   * fabric_node_ous contains the configuration to distinguish clients from peers from orderers
   * based on the OUs.
   * 
* * .msp.FabricNodeOUs fabric_node_ous = 11 [json_name = "fabricNodeOus"]; * @return Whether the fabricNodeOus field is set. */ boolean hasFabricNodeOus(); /** *
   * fabric_node_ous contains the configuration to distinguish clients from peers from orderers
   * based on the OUs.
   * 
* * .msp.FabricNodeOUs fabric_node_ous = 11 [json_name = "fabricNodeOus"]; * @return The fabricNodeOus. */ org.hyperledger.fabric.protos.msp.FabricNodeOUs getFabricNodeOus(); /** *
   * fabric_node_ous contains the configuration to distinguish clients from peers from orderers
   * based on the OUs.
   * 
* * .msp.FabricNodeOUs fabric_node_ous = 11 [json_name = "fabricNodeOus"]; */ org.hyperledger.fabric.protos.msp.FabricNodeOUsOrBuilder getFabricNodeOusOrBuilder(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy