Object

com.ubirch.keyService.testTools.data.generator

TestDataGeneratorRest

Related Doc: package generator

Permalink

object TestDataGeneratorRest

author: cvandrei since: 2017-05-09

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TestDataGeneratorRest
  2. AnyRef
  3. 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. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def findTrustedSigned(depth: Int = 1, sourcePublicKey: String, sourcePrivateKey: String, minTrust: Int = 50): FindTrustedSigned

    Permalink
  10. def generateOneKeyPair(): KeyMaterial

    Permalink
  11. def generateTwoKeyPairs(): KeyMaterialAAndBRest

    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. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  18. def publicKey(signature: String = "some-signature", previousPubKeySignature: Option[String] = None, infoHwDeviceId: String = UUIDUtil.uuidStr, infoPubKey: Option[String] = None, infoPubKeyId: Option[String] = None, infoAlgorithm: String = "RSA4096", infoPreviousPubKeyId: Option[String] = None, infoCreated: DateTime = DateTime.now(DateTimeZone.UTC), infoValidNotBefore: DateTime = DateTime.now(DateTimeZone.UTC), infoValidNotAfter: Option[DateTime] = ...): PublicKey

    Permalink

    Generates a PublicKey for test purposes.

    Generates a PublicKey for test purposes. All fields will have values.

  19. def publicKeyInfo(hwDeviceId: String = UUIDUtil.uuidStr, pubKey: Option[String] = None, pubKeyId: Option[String] = None, algorithm: String = "RSA4096", previousPubKeyId: Option[String] = None, created: DateTime = DateTime.now(DateTimeZone.UTC), validNotBefore: DateTime = DateTime.now(DateTimeZone.UTC), validNotAfter: Option[DateTime] = None): PublicKeyInfo

    Permalink

    Generate a PublicKeyInfo with all fields set.

  20. def publicKeyInfoMandatoryOnly(hwDeviceId: String = UUIDUtil.uuidStr, pubKey: Option[String] = None, algorithm: String = "RSA4096", created: DateTime = DateTime.now(DateTimeZone.UTC), validNotBefore: DateTime = DateTime.now(DateTimeZone.UTC)): PublicKeyInfo

    Permalink

    Generate a PublicKeyInfo for test purposes with only mandatory fields being set.

    Generate a PublicKeyInfo for test purposes with only mandatory fields being set. Fields not set are:

    - previousPubKeyId validNotAfter

  21. def publicKeyMandatoryOnly(signature: String = "some-signature", infoHwDeviceId: String = UUIDUtil.uuidStr, infoPubKey: Option[String] = None, infoPubKeyId: Option[String] = None, infoAlgorithm: String = "RSA4096", infoCreated: DateTime = DateTime.now(DateTimeZone.UTC), infoValidNotBefore: DateTime = DateTime.now(DateTimeZone.UTC)): PublicKey

    Permalink

    Generates a PublicKey for test purposes with only mandatory fields being set.

    Generates a PublicKey for test purposes with only mandatory fields being set. Fields not set are:

    - previousPubKeySignature pubKeyInfo.previousPubKeyId pubKeyInfo.validNotAfter

  22. def signedRevoke(publicKey: String, privateKey: String, created: DateTime = DateUtil.nowUTC): SignedRevoke

    Permalink
  23. def signedTrustRelation(from: KeyMaterial, to: KeyMaterial, trustLevel: Int = 50, validNotAfter: Option[DateTime] = Some(DateUtil.nowUTC.plusMonths(3))): SignedTrustRelation

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped