Class

com.ubirch.key.model.db

PublicKeyInfo

Related Doc: package db

Permalink

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

hwDeviceId

hardware id of device which owns the private key

pubKey

base 64 encoded public key

pubKeyId

unique public key id

algorithm

used asymetric crypto algorithm, default is ed25519-sha-512

previousPubKeyId

unique public key id of previous plublic key

created

UTC timestamp of PublicKeyInfo object creation

validNotBefore

UTC timestamp since when PublicKey is valid

validNotAfter

UTC timestamp until when PublicKey is valid

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PublicKeyInfo
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PublicKeyInfo(hwDeviceId: String, pubKey: String, pubKeyId: String = UUIDUtil.uuidStr, algorithm: String = "ed25519-sha-512", previousPubKeyId: Option[String] = None, created: DateTime = new DateTime(), validNotBefore: DateTime = new DateTime(), validNotAfter: Option[DateTime] = None)

    Permalink

    hwDeviceId

    hardware id of device which owns the private key

    pubKey

    base 64 encoded public key

    pubKeyId

    unique public key id

    algorithm

    used asymetric crypto algorithm, default is ed25519-sha-512

    previousPubKeyId

    unique public key id of previous plublic key

    created

    UTC timestamp of PublicKeyInfo object creation

    validNotBefore

    UTC timestamp since when PublicKey is valid

    validNotAfter

    UTC timestamp until when PublicKey is valid

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. val algorithm: String

    Permalink

    used asymetric crypto algorithm, default is ed25519-sha-512

  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val created: DateTime

    Permalink

    UTC timestamp of PublicKeyInfo object creation

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. val hwDeviceId: String

    Permalink

    hardware id of device which owns the private key

  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  16. val previousPubKeyId: Option[String]

    Permalink

    unique public key id of previous plublic key

  17. val pubKey: String

    Permalink

    base 64 encoded public key

  18. val pubKeyId: String

    Permalink

    unique public key id

  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. val validNotAfter: Option[DateTime]

    Permalink

    UTC timestamp until when PublicKey is valid

  21. val validNotBefore: DateTime

    Permalink

    UTC timestamp since when PublicKey is valid

  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 Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped