Package

com.ubirch.key.model

db

Permalink

package db

Visibility
  1. Public
  2. All

Type Members

  1. case class FindTrusted(depth: Int = 1, minTrustLevel: Int = 50, queryDate: DateTime = DateUtil.nowUTC, sourcePublicKey: String) extends Product with Serializable

    Permalink

    author: cvandrei since: 2018-09-14

  2. case class FindTrustedSigned(findTrusted: FindTrusted, signature: String) extends Product with Serializable

    Permalink
  3. case class PublicKey(pubKeyInfo: PublicKeyInfo, signature: String, previousPubKeySignature: Option[String] = None, raw: Option[String] = None, signedRevoke: Option[SignedRevoke] = None) extends Product with Serializable

    Permalink

    pubKeyInfo

    public key details

    signature

    signature of field _pubKeyInfo_ created with current key pair

    previousPubKeySignature

    (optional) signature of field _pubKeyInfo_ created with previous key pair

  4. case class PublicKeyDelete(publicKey: String, signature: String) extends Product with Serializable

    Permalink

    publicKey

    base64 encoded public key

    signature

    base64 encoded signature of field _publicKey_

  5. case class PublicKeyInfo(algorithm: String = "ed25519-sha-512", created: DateTime = new DateTime(), hwDeviceId: String, previousPubKeyId: Option[String] = None, pubKey: String, pubKeyId: String, validNotAfter: Option[DateTime] = None, validNotBefore: DateTime = new DateTime()) extends Product with Serializable

    Permalink

    algorithm

    algorithm used to generate public key (defaults to "ed25519-sha-512")

    created

    UTC timestamp

    hwDeviceId

    hardware device id this public key belongs to

    previousPubKeyId

    (optional) public key id of previous key

    pubKey

    base 64 encoded public key

    pubKeyId

    (optional) unique public key id

    validNotAfter

    (optional) UTC timestamp until when PublicKey is valid

    validNotBefore

    UTC timestamp since when PublicKey is valid

  6. case class Revokation(publicKey: String, revokationDate: DateTime = DateUtil.nowUTC) extends Product with Serializable

    Permalink
  7. case class SignedRevoke(revokation: Revokation, signature: String) extends Product with Serializable

    Permalink

    author: cvandrei since: 2018-09-17

  8. case class SignedTrustRelation(trustRelation: TrustRelation, signature: String, created: DateTime = DateUtil.nowUTC) extends Product with Serializable

    Permalink

    author: cvandrei since: 2018-09-11

  9. case class TrustRelation(created: DateTime = DateUtil.nowUTC, sourcePublicKey: String, targetPublicKey: String, trustLevel: Int = 50, validNotAfter: Option[DateTime] = None) extends Product with Serializable

    Permalink
  10. case class TrustedKeyResult(depth: Int, trustLevel: Int, publicKey: PublicKey) extends Product with Serializable

    Permalink

Ungrouped