Packages

c

com.digitalasset.canton.crypto.store.memory

InMemoryCryptoPrivateStore

class InMemoryCryptoPrivateStore extends CryptoPrivateStore with NamedLogging

The in-memory store does not provide any persistence and keys during runtime are stored in the generic caching layer.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InMemoryCryptoPrivateStore
  2. NamedLogging
  3. CryptoPrivateStore
  4. AutoCloseable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new InMemoryCryptoPrivateStore(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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def close(): Unit
    Definition Classes
    InMemoryCryptoPrivateStore → AutoCloseable
  7. val decryptionKeyMap: TrieMap[Fingerprint, EncryptionPrivateKeyWithName]
    Attributes
    protected
    Definition Classes
    CryptoPrivateStore
  8. def deletePrivateKey(keyId: Fingerprint)(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Unit]
    Attributes
    protected
    Definition Classes
    InMemoryCryptoPrivateStoreCryptoPrivateStore
  9. implicit val ec: ExecutionContext
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def existsDecryptionKey(decryptionKeyId: Fingerprint)(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Boolean]
    Definition Classes
    CryptoPrivateStore
  13. def existsPrivateKey(keyId: Fingerprint)(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Boolean]
    Definition Classes
    CryptoPrivateStore
  14. def existsSigningKey(signingKeyId: Fingerprint)(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Boolean]
    Definition Classes
    CryptoPrivateStore
  15. def exportPrivateKey(keyId: Fingerprint)(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Option[PrivateKey]]
    Definition Classes
    CryptoPrivateStore
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. val hmacSecretRef: AtomicReference[Option[HmacSecret]]
    Attributes
    protected
    Definition Classes
    CryptoPrivateStore
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def logger: TracedLogger
    Attributes
    protected
    Definition Classes
    NamedLogging
  21. val loggerFactory: NamedLoggerFactory
    Attributes
    protected
    Definition Classes
    InMemoryCryptoPrivateStoreNamedLogging
  22. implicit def loggingContext(implicit traceContext: TraceContext): ErrorLoggingContext
    Attributes
    protected
    Definition Classes
    NamedLogging
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def noTracingLogger: Logger
    Attributes
    protected
    Definition Classes
    NamedLogging
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. def readDecryptionKey(encryptionKeyId: Fingerprint)(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Option[EncryptionPrivateKeyWithName]]
  28. def readSigningKey(signingKeyId: Fingerprint)(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Option[SigningPrivateKeyWithName]]
  29. def removePrivateKey(keyId: Fingerprint)(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Unit]
    Definition Classes
    CryptoPrivateStore
  30. val signingKeyMap: TrieMap[Fingerprint, SigningPrivateKeyWithName]
    Attributes
    protected
    Definition Classes
    CryptoPrivateStore
  31. def storeDecryptionKey(key: EncryptionPrivateKey, name: Option[KeyName])(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Unit]
    Definition Classes
    CryptoPrivateStore
  32. def storeHmacSecret(hmacSecret: HmacSecret)(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Unit]
    Definition Classes
    CryptoPrivateStore
  33. def storePrivateKey(key: PrivateKey, name: Option[KeyName])(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Unit]
    Definition Classes
    CryptoPrivateStore
  34. def storeSigningKey(key: SigningPrivateKey, name: Option[KeyName])(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Unit]
    Definition Classes
    CryptoPrivateStore
  35. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. def writeDecryptionKey(key: EncryptionPrivateKey, name: Option[KeyName])(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Unit]
    Attributes
    protected
    Definition Classes
    InMemoryCryptoPrivateStoreCryptoPrivateStore
  41. def writeHmacSecret(hmacSecret: HmacSecret)(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Unit]
    Attributes
    protected
    Definition Classes
    InMemoryCryptoPrivateStoreCryptoPrivateStore
  42. def writeSigningKey(key: SigningPrivateKey, name: Option[KeyName])(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Unit]
    Attributes
    protected
    Definition Classes
    InMemoryCryptoPrivateStoreCryptoPrivateStore

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 CryptoPrivateStore

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped