object KeyPair extends Serializable
- Alphabetic
- By Inheritance
- KeyPair
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
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}
-
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 }
-
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}
-
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
-
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}
- def fromXDRPublicKey(key: org.stellar.sdk.xdr.PublicKey): PublicKey
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
random: KeyPair
Generates a random Stellar keypair.
Generates a random Stellar keypair.
- returns
a random Stellar keypair.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )