Package

com.ubirch.key.model

rest

Permalink

package rest

Visibility
  1. Public
  2. All

Type Members

  1. case class PublicKey(pubKeyInfo: PublicKeyInfo, signature: String, previousPubKeySignature: Option[String] = None, raw: Option[String] = 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

    raw

    the raw data of the public key structure (in case it is binary)

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

    Permalink

    publicKey

    base64 encoded public key

    signature

    base64 encoded signature of field _publicKey_

  3. case class PublicKeyInfo(algorithm: String, created: DateTime, hwDeviceId: String, previousPubKeyId: Option[String] = None, pubKey: String, pubKeyId: String, validNotAfter: Option[DateTime] = None, validNotBefore: 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

  4. case class PublicKeys(publicKeys: Set[PublicKey]) extends Product with Serializable

    Permalink

Ungrouped