object KeyPair extends Serializable

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. def decode: State[Seq[Byte], PublicKey]
  7. def decodeXDR(base64: String): PublicKey
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fromAccountId(accountId: String): PublicKey

    Creates a new Stellar PublicKey from a strkey encoded Stellar account ID.

    Creates a new Stellar PublicKey from a strkey encoded Stellar account ID.

    accountId

    The strkey encoded Stellar account ID.

    returns

    { @link PublicKey}

  12. def fromAddress(address: String)(implicit ec: ExecutionContext): Future[PublicKey]

    Returns the public key associated with the federated address.

    Returns the public key associated with the federated address.

    address

    formatted as name*domain, as per https://www.stellar.org/developers/guides/concepts/federation.html#stellar-addresses

    returns

    Future[{ @link PublicKey }]

  13. def fromPassphrase(passphrase: String): KeyPair

    Creates a new Stellar keypair from a passphrase

    Creates a new Stellar keypair from a passphrase

    passphrase

    the secret passphrase.

    returns

    ( @link KeyPair }

  14. def fromPublicKey(publicKey: Array[Byte]): PublicKey

    Creates a new Stellar verifying key from a 32 byte address.

    Creates a new Stellar verifying key from a 32 byte address.

    publicKey

    The 32 byte public key.

    returns

    { @link PublicKey }

  15. def fromSecretSeed(seed: Array[Byte]): KeyPair

    Creates a new Stellar keypair from a raw 32 byte secret seed.

    Creates a new Stellar keypair from a raw 32 byte secret seed.

    seed

    The 32 byte secret seed.

    returns

    { @link KeyPair}

  16. def fromSecretSeed(seed: String): KeyPair

    Insecure Creates a new Stellar KeyPair from a strkey encoded Stellar secret seed.

    Insecure Creates a new Stellar KeyPair from a strkey encoded Stellar secret seed. This method is <u>insecure</u>. Use only if you are aware of security implications.

    seed

    The strkey encoded Stellar secret seed.

    returns

    { @link KeyPair}

    See also

    Using Password-Based Encryption

  17. def fromSecretSeed(seed: Array[Char]): KeyPair

    Creates a new Stellar KeyPair from a strkey encoded Stellar secret seed.

    Creates a new Stellar KeyPair from a strkey encoded Stellar secret seed.

    seed

    Char array containing strkey encoded Stellar secret seed.

    returns

    { @link KeyPair}

  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def random: KeyPair

    Generates a random Stellar keypair.

    Generates a random Stellar keypair.

    returns

    a random Stellar keypair.

  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped