Interface NotaryInfo

  • All Implemented Interfaces:

    
    public interface NotaryInfo
    
                        

    Stores information about a notary service available in the network.

    Example usages:

    • Java:
      
      MemberX500Name name = notaryInfo.getName();
      String protocol = notaryInfo.getProtocol();
      Collection<Integer> protocolVersions = notaryInfo.getProtocolVersions();
      PublicKey publicKey = notaryInfo.getPublicKey();
      Boolean backchainRequired = notaryInfo.getBackchainRequired();
      
    • Kotlin:
      
      val name = notaryInfo.name
      val protocol = notaryInfo.protocol
      val protocolVersions = notaryInfo.protocolVersions
      val publicKey = notaryInfo.publicKey
      val backchainRequired = notaryInfo.backchainRequired
      
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Constructor Detail

    • Method Detail

      • getName

        @NotNull() abstract MemberX500Name getName()
        Returns:

        Name of the notary (note that it can be an identity of the distributed node).

      • getProtocol

        @NotNull() abstract String getProtocol()
        Returns:

        The name of the flow protocol used by this notary.

      • getPublicKey

        @NotNull() abstract PublicKey getPublicKey()
        Returns:

        The public key of the notary service, which will be a composite key of all notary virtual nodes keys.

      • isBackchainRequired

        @NotNull() abstract Boolean isBackchainRequired()
        Returns:

        boolean of whether it requires backchain verification.