object EncryptedViewMessageFactory
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- EncryptedViewMessageFactory
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- sealed trait EncryptedViewMessageCreationError extends Product with Serializable with PrettyPrinting
- final case class FailedToCreateEncryptionKey(cause: EncryptionKeyCreationError) extends EncryptedViewMessageCreationError with Product with Serializable
- final case class FailedToEncryptViewMessage(cause: EncryptionError) extends EncryptedViewMessageCreationError with Product with Serializable
- final case class FailedToSignViewMessage(cause: SyncCryptoError) extends EncryptedViewMessageCreationError with Product with Serializable
- final case class RandomnessAndReference(randomness: SecureRandomness, reference: AnyRef) extends Product with Serializable
- final case class RandomnessRevocationInfo(randomnessAndReference: RandomnessAndReference, encryptedBy: Option[AnyRef], informeeParticipants: NonEmpty[Set[ParticipantId]], newKey: Boolean) extends Product with Serializable
- final case class UnableToDetermineKey(participant: ParticipantId, cause: SyncCryptoError, SynchronizerId: SynchronizerId) extends EncryptedViewMessageCreationError with Product with Serializable
Indicates that the public key of an informee participant could not be determined.
- final case class UnableToDetermineParticipant(party: Set[LfPartyId], SynchronizerId: SynchronizerId) extends EncryptedViewMessageCreationError with Product with Serializable
Indicates that the participant hosting one or more informees could not be determined.
- final case class UnableToDetermineRecipients(cause: String) extends EncryptedViewMessageCreationError with Product with Serializable
Indicates that we could not determine the recipients of the underlying view
- final case class UnableToDetermineSessionKeyRandomness(cause: String) extends EncryptedViewMessageCreationError with Product with Serializable
Indicates that there is no encrypted session key randomness to be found
- final case class ViewHashAndRecipients(viewHash: ViewHash, recipients: Recipients) extends Product with Serializable
- final case class ViewKeyData(viewKeyRandomness: SecureRandomness, viewKey: SymmetricKey, viewKeyRandomnessMap: Seq[AsymmetricEncrypted[SecureRandomness]]) extends Product with Serializable
- final case class ViewParticipantsKeysAndParentRecipients(informeeParticipants: NonEmpty[Set[ParticipantId]], encryptionKeys: Set[Fingerprint], parentRecipients: Option[Recipients]) extends Product with Serializable
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def create[VT <: ViewType](viewType: VT)(viewTree: EncryptedViewMessageFactory.create.VT.View, viewKeyData: (SymmetricKey, Seq[AsymmetricEncrypted[SecureRandomness]]), cryptoSnapshot: SynchronizerSnapshotSyncCryptoApi, protocolVersion: ProtocolVersion)(implicit traceContext: TraceContext, ec: ExecutionContext): EitherT[FutureUnlessShutdown, EncryptedViewMessageCreationError, EncryptedViewMessage[VT]]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def generateKeysFromRecipients(viewRecipients: Seq[(ViewHashAndRecipients, Option[Recipients], List[LfPartyId])], parallel: Boolean, pureCrypto: CryptoPureApi, cryptoSnapshot: SynchronizerSnapshotSyncCryptoApi, sessionKeyStore: ConfirmationRequestSessionKeyStore)(implicit ec: ExecutionContext, traceContext: TraceContext): EitherT[FutureUnlessShutdown, EncryptedViewMessageCreationError, Map[ViewHash, ViewKeyData]]
Generates session keys based on the recipients trees and on the values already cached.
Generates session keys based on the recipients trees and on the values already cached.
- viewRecipients
the list of views and their respective recipients, parent recipients and informees. For this function to work correctly the views MUST be passed in PRE-ORDER.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- 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
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])