trait CryptoPublicStore extends AutoCloseable
Store for all public cryptographic material such as certificates or public keys.
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- CryptoPublicStore
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def close(): Unit
- Definition Classes
- AutoCloseable
- Annotations
- @throws(classOf[java.lang.Exception])
- implicit abstract val ec: ExecutionContext
- abstract def readEncryptionKey(encryptionKeyId: Fingerprint)(implicit traceContext: TraceContext): EitherT[Future, CryptoPublicStoreError, Option[EncryptionPublicKeyWithName]]
- Attributes
- protected
- abstract def readSigningKey(signingKeyId: Fingerprint)(implicit traceContext: TraceContext): EitherT[Future, CryptoPublicStoreError, Option[SigningPublicKeyWithName]]
- Attributes
- protected
- abstract def writeEncryptionKey(key: EncryptionPublicKey, name: Option[KeyName])(implicit traceContext: TraceContext): EitherT[Future, CryptoPublicStoreError, Unit]
- Attributes
- protected
- abstract def writeSigningKey(key: SigningPublicKey, name: Option[KeyName])(implicit traceContext: TraceContext): EitherT[Future, CryptoPublicStoreError, Unit]
- Attributes
- protected
Concrete 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() @IntrinsicCandidate()
- def encryptionKey(encryptionKeyId: Fingerprint)(implicit traceContext: TraceContext): EitherT[Future, CryptoPublicStoreError, Option[EncryptionPublicKey]]
- val encryptionKeyMap: TrieMap[Fingerprint, EncryptionPublicKeyWithName]
- Attributes
- protected
- def encryptionKeys(implicit traceContext: TraceContext): EitherT[Future, CryptoPublicStoreError, Set[EncryptionPublicKey]]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def existsPublicKey(keyId: Fingerprint, purpose: KeyPurpose)(implicit traceContext: TraceContext): EitherT[Future, CryptoPublicStoreError, Boolean]
- def findEncryptionKeyIdByFingerprint(fingerprint: Fingerprint)(implicit traceContext: TraceContext): EitherT[Future, CryptoPublicStoreError, Option[EncryptionPublicKey]]
- def findEncryptionKeyIdByName(keyName: KeyName)(implicit traceContext: TraceContext): EitherT[Future, CryptoPublicStoreError, Option[EncryptionPublicKey]]
- def findSigningKeyIdByFingerprint(fingerprint: Fingerprint)(implicit traceContext: TraceContext): EitherT[Future, CryptoPublicStoreError, Option[SigningPublicKey]]
- def findSigningKeyIdByName(keyName: KeyName)(implicit traceContext: TraceContext): EitherT[Future, CryptoPublicStoreError, Option[SigningPublicKey]]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def listAllKeyFingerprints(implicit traceContext: TraceContext): EitherT[Future, CryptoPublicStoreError, Set[Fingerprint]]
- Attributes
- protected[crypto]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def publicKey(keyId: Fingerprint)(implicit traceContext: TraceContext): EitherT[Future, CryptoPublicStoreError, Option[PublicKey]]
- def publicKeyWithName(keyId: Fingerprint)(implicit traceContext: TraceContext): EitherT[Future, CryptoPublicStoreError, Option[PublicKeyWithName]]
- def publicKeysWithName(implicit traceContext: TraceContext): EitherT[Future, CryptoPublicStoreError, Set[PublicKeyWithName]]
- def signingKey(signingKeyId: Fingerprint)(implicit traceContext: TraceContext): EitherT[Future, CryptoPublicStoreError, Option[SigningPublicKey]]
- val signingKeyMap: TrieMap[Fingerprint, SigningPublicKeyWithName]
- Attributes
- protected
- def signingKeys(implicit traceContext: TraceContext): EitherT[Future, CryptoPublicStoreError, Set[SigningPublicKey]]
- def storeEncryptionKey(key: EncryptionPublicKey, name: Option[KeyName] = None)(implicit traceContext: TraceContext): EitherT[Future, CryptoPublicStoreError, Unit]
- def storePublicKey(publicKey: PublicKey, name: Option[KeyName])(implicit traceContext: TraceContext): EitherT[Future, CryptoPublicStoreError, Unit]
- def storeSigningKey(key: SigningPublicKey, name: Option[KeyName] = None)(implicit traceContext: TraceContext): EitherT[Future, CryptoPublicStoreError, Unit]
- 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])