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()
- Alphabetic
- By Inheritance
- PartyToParticipant
- Updatable
- GeneratedMessage
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addAllParticipants(__vs: Iterable[HostingParticipant]): PartyToParticipant
- def addParticipants(__vs: HostingParticipant*): PartyToParticipant
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearParticipants: PartyToParticipant
- def clearPartySigningKeys: PartyToParticipant
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def companion: PartyToParticipant.type
- Definition Classes
- PartyToParticipant → GeneratedMessage
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getField(__field: FieldDescriptor): PValue
- Definition Classes
- PartyToParticipant → GeneratedMessage
- def getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- PartyToParticipant → GeneratedMessage
- def getPartySigningKeys: SigningKeysWithThreshold
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val participants: Seq[HostingParticipant]
- val party: String
- val partySigningKeys: Option[SigningKeysWithThreshold]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def serializedSize: Int
- Definition Classes
- PartyToParticipant → GeneratedMessage
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val threshold: Int
- final def toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
- final def toByteString: ByteString
- Definition Classes
- GeneratedMessage
- final def toPMessage: PMessage
- Definition Classes
- GeneratedMessage
- def toProtoString: String
- Definition Classes
- PartyToParticipant → GeneratedMessage
- def update(ms: (Lens[PartyToParticipant, PartyToParticipant]) => Mutation[PartyToParticipant]*): PartyToParticipant
- Definition Classes
- Updatable
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withParticipants(__v: Seq[HostingParticipant]): PartyToParticipant
- def withParty(__v: String): PartyToParticipant
- def withPartySigningKeys(__v: SigningKeysWithThreshold): PartyToParticipant
- def withThreshold(__v: Int): PartyToParticipant
- final def writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
- def writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- PartyToParticipant → GeneratedMessage
- final def writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage