Object

com.ubirch.keyservice.core.manager

TrustManager

Related Doc: package manager

Permalink

object TrustManager extends StrictLogging

author: cvandrei since: 2018-09-11

Linear Supertypes
StrictLogging, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TrustManager
  2. StrictLogging
  3. Logging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def delete(signedTrust: SignedTrustRelation)(implicit neo4jDriver: Driver): Future[Either[DeleteTrustException, Boolean]]

    Permalink

    Delete a trust relationship if it exists.

    Delete a trust relationship if it exists.

    signedTrust

    trust relationship to delete

    neo4jDriver

    database connection

    returns

    true if delete was successful or there was nothing to delete; a DeleteTrustException with an error message describing the problem if there's an error

  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def findBySourceTarget(sourcePubKey: String, targetPubKey: String)(implicit neo4jDriver: Driver): Future[Either[FindTrustException, Option[SignedTrustRelation]]]

    Permalink

    Search for a trust relationship based on it's source- and targetPublicKey.

    Search for a trust relationship based on it's source- and targetPublicKey.

    sourcePubKey

    source public key

    targetPubKey

    target public key

    neo4jDriver

    database connection

    returns

    trust relationship if it exists; None if not; FindTrustException with an error message describing the problem if there's an error

  11. def findTrusted(findTrustedSigned: FindTrustedSigned)(implicit neo4jDriver: Driver): Future[Either[FindTrustedException, Set[TrustedKeyResult]]]

    Permalink
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    StrictLogging → Logging
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. def upsert(signedTrust: SignedTrustRelation)(implicit neo4jDriver: Driver): Future[Either[ExpressingTrustException, SignedTrustRelation]]

    Permalink

    Upserts a trust relationship if:

    Upserts a trust relationship if:

    * trustLevel is valid (range: 1-100) * signature is valid

    signedTrust

    trust relationship to persist.

    neo4jDriver

    database connection

    returns

    the created trust relationship; ExpressingTrustException with an error message describing the problem if there's an error

  22. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from StrictLogging

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped