object KeyPair extends Decode with Serializable
- Alphabetic
- By Inheritance
- KeyPair
- Serializable
- Serializable
- Decode
- LazyLogging
- 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
-
def
arr[T](parseT: State[Seq[Byte], T]): State[Seq[Byte], Seq[T]]
- Definition Classes
- Decode
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
bool: State[Seq[Byte], Boolean]
- Definition Classes
- Decode
-
def
bytes(len: Int): State[Seq[Byte], Seq[Byte]]
- Definition Classes
- Decode
-
val
bytes: State[Seq[Byte], Seq[Byte]]
- Definition Classes
- Decode
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def decode: State[Seq[Byte], PublicKey]
- def decodeXDR(base64: String): PublicKey
-
def
drop[T](parse: State[Seq[Byte], _])(t: T): State[Seq[Byte], T]
- Definition Classes
- Decode
-
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
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 }]
-
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 }
-
def
fromPublicKey(publicKey: Seq[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: Seq[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}
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
val
instant: State[Seq[Byte], Instant]
- Definition Classes
- Decode
-
val
int: State[Seq[Byte], Int]
- Definition Classes
- Decode
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
log[T](t: T): State[Seq[Byte], Unit]
- Definition Classes
- Decode
-
lazy val
logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- Annotations
- @transient()
-
val
long: State[Seq[Byte], Long]
- Definition Classes
- Decode
-
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
opt[T](parseT: State[Seq[Byte], T]): State[Seq[Byte], Option[T]]
- Definition Classes
- Decode
-
def
padded(multipleOf: Int = 4): State[Seq[Byte], Seq[Byte]]
- Definition Classes
- Decode
-
def
random: KeyPair
Generates a random Stellar keypair.
Generates a random Stellar keypair.
- returns
a random Stellar keypair.
-
def
seq[T](qty: Int, parseT: State[Seq[Byte], T]): State[Seq[Byte], Seq[T]]
- Definition Classes
- Decode
-
val
string: State[Seq[Byte], String]
- Definition Classes
- Decode
-
def
switch[T](zero: State[Seq[Byte], T], others: State[Seq[Byte], T]*): IndexedStateT[Eval, Seq[Byte], Seq[Byte], T]
- Definition Classes
- Decode
-
def
switchInt[T](zero: State[Seq[Byte], T], others: State[Seq[Byte], T]*): State[Seq[Byte], (T, Int)]
- Definition Classes
- Decode
-
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( ... )
-
def
widen[A, W, O <: W](s: State[A, O]): State[A, W]
- Definition Classes
- Decode