Packages

final case class PartyToParticipant(party: String, threshold: Int, participants: Seq[HostingParticipant], partySigningKeys: Option[SigningKeysWithThreshold]) extends GeneratedMessage with Updatable[PartyToParticipant] with Product with Serializable

Mapping that maps a party to a participant The PartyToParticipant mapping may also specify a list of signing keys for setting up an external party, in which case the keys and the threshold take precedence over any PartyToKeyMapping for the same party. Additionally, the list of signing keys may contain the public key of the party's namespace, which allows this mapping to authorize itself without the need of a NamespaceDelegation root certificate (called self-signed). authorization: the required authorization of the mapping is a union of the authorization for individual changes

  • threshold change: party namespace
  • adding a signing key: party namespace + all the new signing key
  • removing a signing key: party namespace
  • changing the signing key threshold: party namespace
  • upgrading a participant permission or adding a new participant: namespaces from party and the participant namespace
  • downgrading a participant permission or removing a participant: party namespace OR the participant namespace
  • setting a participant's onboarding flag from false to true: party namespace
  • setting a participant's onboarding flag from true to false: participant namespace
  • the removal of a PTP must be authorized just by the party revocation: Revoking a self-signed PTP does not prevent later re-creation of a PTP with the same partyId. To prevent further usage of the key associated with the party's namespace, revoke a NamespaceDelegation root certificate for that namespace. UNIQUE(party)
party

the party that is to be represented by the participants

threshold

the signatory threshold required by the participants to be able to act on behalf of the party. a mapping with threshold > 1 is considered a definition of a consortium party

participants

which participants will host the party. if threshold > 1, must be Confirmation or Observation. if all participants have Observation permission, the confirmation treshold is ignored, making the party a purely observing party.

partySigningKeys

Contains protocol signing keys for the party used to authorize externally signed Daml transactions, along with a signing threshold. The max number of keys is 20

Annotations
@SerialVersionUID()
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PartyToParticipant
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PartyToParticipant(party: String, threshold: Int, participants: Seq[HostingParticipant], partySigningKeys: Option[SigningKeysWithThreshold])

    party

    the party that is to be represented by the participants

    threshold

    the signatory threshold required by the participants to be able to act on behalf of the party. a mapping with threshold > 1 is considered a definition of a consortium party

    participants

    which participants will host the party. if threshold > 1, must be Confirmation or Observation. if all participants have Observation permission, the confirmation treshold is ignored, making the party a purely observing party.

    partySigningKeys

    Contains protocol signing keys for the party used to authorize externally signed Daml transactions, along with a signing threshold. The max number of keys is 20

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAllParticipants(__vs: Iterable[HostingParticipant]): PartyToParticipant
  5. def addParticipants(__vs: HostingParticipant*): PartyToParticipant
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clearParticipants: PartyToParticipant
  8. def clearPartySigningKeys: PartyToParticipant
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def companion: PartyToParticipant.type
    Definition Classes
    PartyToParticipant → GeneratedMessage
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    PartyToParticipant → GeneratedMessage
  14. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    PartyToParticipant → GeneratedMessage
  15. def getPartySigningKeys: SigningKeysWithThreshold
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. val participants: Seq[HostingParticipant]
  21. val party: String
  22. val partySigningKeys: Option[SigningKeysWithThreshold]
  23. def productElementNames: Iterator[String]
    Definition Classes
    Product
  24. def serializedSize: Int
    Definition Classes
    PartyToParticipant → GeneratedMessage
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. val threshold: Int
  27. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  28. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  29. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  30. def toProtoString: String
    Definition Classes
    PartyToParticipant → GeneratedMessage
  31. def update(ms: (Lens[PartyToParticipant, PartyToParticipant]) => Mutation[PartyToParticipant]*): PartyToParticipant
    Definition Classes
    Updatable
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  35. def withParticipants(__v: Seq[HostingParticipant]): PartyToParticipant
  36. def withParty(__v: String): PartyToParticipant
  37. def withPartySigningKeys(__v: SigningKeysWithThreshold): PartyToParticipant
  38. def withThreshold(__v: Int): PartyToParticipant
  39. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  40. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    PartyToParticipant → GeneratedMessage
  41. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped