Packages

trait CryptoPrivateStore extends AutoCloseable

A store for cryptographic private material such as signing/encryption private keys and hmac secrets.

The cache provides a write-through cache such that get operations can be served without reading from the async store. Async population of the cache is done at creation time.

Self Type
CryptoPrivateStore with NamedLogging
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CryptoPrivateStore
  2. AutoCloseable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def close(): Unit
    Definition Classes
    AutoCloseable
    Annotations
    @throws(classOf[java.lang.Exception])
  2. abstract def deletePrivateKey(keyId: Fingerprint)(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Unit]
    Attributes
    protected
  3. implicit abstract val ec: ExecutionContext
  4. abstract def readDecryptionKey(encryptionKeyId: Fingerprint)(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Option[EncryptionPrivateKeyWithName]]
    Attributes
    protected
  5. abstract def readSigningKey(signingKeyId: Fingerprint)(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Option[SigningPrivateKeyWithName]]
    Attributes
    protected
  6. abstract def writeDecryptionKey(key: EncryptionPrivateKey, name: Option[KeyName])(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Unit]
    Attributes
    protected
  7. abstract def writeHmacSecret(hmacSecret: HmacSecret)(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Unit]
    Attributes
    protected
  8. abstract def writeSigningKey(key: SigningPrivateKey, name: Option[KeyName])(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Unit]
    Attributes
    protected

Concrete 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. val decryptionKeyMap: TrieMap[Fingerprint, EncryptionPrivateKeyWithName]
    Attributes
    protected
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def existsDecryptionKey(decryptionKeyId: Fingerprint)(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Boolean]
  10. def existsPrivateKey(keyId: Fingerprint)(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Boolean]
  11. def existsSigningKey(signingKeyId: Fingerprint)(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Boolean]
  12. def exportPrivateKey(keyId: Fingerprint)(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Option[PrivateKey]]
  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 hmacSecretRef: AtomicReference[Option[HmacSecret]]
    Attributes
    protected
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def removePrivateKey(keyId: Fingerprint)(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Unit]
  21. val signingKeyMap: TrieMap[Fingerprint, SigningPrivateKeyWithName]
    Attributes
    protected
  22. def storeDecryptionKey(key: EncryptionPrivateKey, name: Option[KeyName])(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Unit]
  23. def storeHmacSecret(hmacSecret: HmacSecret)(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Unit]
  24. def storePrivateKey(key: PrivateKey, name: Option[KeyName])(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Unit]
  25. def storeSigningKey(key: SigningPrivateKey, name: Option[KeyName])(implicit traceContext: TraceContext): EitherT[Future, CryptoPrivateStoreError, Unit]
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. 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 AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped