Packages

c

com.digitalasset.canton.crypto

DomainSyncCryptoClient

class DomainSyncCryptoClient extends SyncCryptoClient with NamedLogging

Crypto operations on a particular domain

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DomainSyncCryptoClient
  2. NamedLogging
  3. SyncCryptoClient
  4. TopologyClientApi
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DomainSyncCryptoClient(owner: KeyOwner, domainId: DomainId, ips: DomainTopologyClient, crypto: Crypto, loggerFactory: NamedLoggerFactory)(implicit ec: ExecutionContext)

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def awaitIpsSnapshot(timestamp: CantonTimestamp)(implicit traceContext: TraceContext): Future[TopologySnapshot]

    Returns a snapshot of the current member topology for the given domain

    Returns a snapshot of the current member topology for the given domain

    The future will wait for the data if the data is not there yet.

    Definition Classes
    DomainSyncCryptoClientSyncCryptoClient
  6. def awaitSnapshot(timestamp: CantonTimestamp)(implicit traceContext: TraceContext): Future[DomainSnapshotSyncCryptoApi]

    Waits until a snapshot is available

    Waits until a snapshot is available

    Definition Classes
    DomainSyncCryptoClientTopologyClientApi
  7. def awaitTimestamp(timestamp: CantonTimestamp): Option[Future[Unit]]

    Returns an optional future which will complete when the topology state at a certain timestamp is known

    Returns an optional future which will complete when the topology state at a certain timestamp is known

    If the topology information is known already, we return None.

    Definition Classes
    DomainSyncCryptoClientTopologyClientApi
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. val crypto: Crypto
  10. val domainId: DomainId

    The domain this client applies to

    The domain this client applies to

    Definition Classes
    DomainSyncCryptoClientTopologyClientApi
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. val ips: DomainTopologyClient
  16. def ipsSnapshot(timestamp: CantonTimestamp)(implicit traceContext: TraceContext): Future[TopologySnapshot]

    Returns a snapshot of the current member topology for the given domain.

    Returns a snapshot of the current member topology for the given domain. The future will log a warning and await the snapshot if the data is not there yet.

    Definition Classes
    DomainSyncCryptoClientSyncCryptoClient
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  19. val loggerFactory: NamedLoggerFactory
    Definition Classes
    DomainSyncCryptoClientNamedLogging
  20. implicit def loggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. val owner: KeyOwner
  26. def pureCrypto: CryptoPureApi
  27. def recentSnapshot(implicit traceContext: TraceContext): DomainSnapshotSyncCryptoApi

    The most recently observed topology state

    The most recently observed topology state

    Definition Classes
    DomainSyncCryptoClientTopologyClientApi
  28. def recentTimestamp: CantonTimestamp

    The timestamp of the most recently observed topology state

    The timestamp of the most recently observed topology state

    Definition Classes
    DomainSyncCryptoClientTopologyClientApi
  29. def snapshot(timestamp: CantonTimestamp)(implicit traceContext: TraceContext): Future[DomainSnapshotSyncCryptoApi]

    Returns the topology information at a certain point in time

    Returns the topology information at a certain point in time

    Use this method if you are sure to be synchronised with the topology state updates. The method will block & wait for an update, but emit a warning if it is not available

    Definition Classes
    DomainSyncCryptoClientTopologyClientApi
  30. def snapshotAvailable(timestamp: CantonTimestamp): Boolean

    Returns true if the topology information at the passed timestamp is already known

    Returns true if the topology information at the passed timestamp is already known

    Definition Classes
    DomainSyncCryptoClientTopologyClientApi
  31. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. def trySnapshot(timestamp: CantonTimestamp)(implicit traceContext: TraceContext): DomainSnapshotSyncCryptoApi

    Returns the topology information at a certain point in time

    Returns the topology information at a certain point in time

    Fails with an exception if the state is not yet known.

    Definition Classes
    DomainSyncCryptoClientTopologyClientApi
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

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

Inherited from NamedLogging

Inherited from SyncCryptoClient

Inherited from AnyRef

Inherited from Any

Ungrouped