c
com.digitalasset.canton.participant.protocol.submission
SeedGenerator
Companion object SeedGenerator
class SeedGenerator extends AnyRef
Creates seeds and UUIDs for requests.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SeedGenerator
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new SeedGenerator(hmacOps: HmacPrivateOps, hashOps: HashOps)(implicit ec: ExecutionContext)
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]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def generateSeedForTransaction(changeId: ChangeId, originDomain: DomainId, let: CantonTimestamp, transactionUuid: UUID): EitherT[Future, SaltError, Salt]
Yields a hash from the method parameters and com.digitalasset.canton.crypto.HmacPrivateOps.hmac.
Yields a hash from the method parameters and com.digitalasset.canton.crypto.HmacPrivateOps.hmac. It is assumed that the hash uniquely identifies the method parameters.
If two instances of this class have different
hmacOps
, they will create different hashes, even if the method is called with the same parameters.Moreover, if the secret key used by
hmacOps
is unknown, the result of this method cannot be predicted. - def generateSeedForTransferIn(contractId: LfContractId, transferOutResultEvent: DeliveredTransferOutResult, targetDomain: DomainId, transferInUuid: UUID): EitherT[Future, SaltError, Salt]
- def generateSeedForTransferOut(request: TransferOutRequest, transferOutUuid: UUID): EitherT[Future, SaltError, Salt]
- def generateUuid(): UUID
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val hmacOps: HmacPrivateOps
- 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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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])