case class KeyPair(pk: EdDSAPublicKey, sk: EdDSAPrivateKey) extends PublicKeyOps with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- KeyPair
- Serializable
- Product
- Equals
- PublicKeyOps
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new KeyPair(pk: EdDSAPublicKey, sk: EdDSAPrivateKey)
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 accountId: String
- returns
the human readable account ID
- Definition Classes
- PublicKeyOps
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asPublicKey: PublicKey
This key pair or verifying key without the private key.
This key pair or verifying key without the private key.
- Definition Classes
- PublicKeyOps
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def encode: LazyList[Byte]
- Definition Classes
- PublicKeyOps
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hint: Array[Byte]
A four-byte code that provides a hint to the identity of this public key
A four-byte code that provides a hint to the identity of this public key
- Definition Classes
- PublicKeyOps
- 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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val pk: EdDSAPublicKey
- Definition Classes
- KeyPair → PublicKeyOps
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def publicKey: Array[Byte]
- Definition Classes
- PublicKeyOps
- def secretSeed: Seq[Char]
Returns the human readable secret seed encoded in strkey.
- def sign(data: Array[Byte]): Signature
Sign the provided data with the private key.
Sign the provided data with the private key.
- data
The data to sign.
- returns
signed bytes.
- val sk: EdDSAPrivateKey
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toAccountId: AccountId
- Definition Classes
- PublicKeyOps
- def toString(): String
- Definition Classes
- KeyPair → AnyRef → Any
- def verify(data: Array[Byte], signature: Array[Byte]): Boolean
Verify the provided data and signature match.
Verify the provided data and signature match.
- data
The data that was signed.
- signature
The signature.
- returns
True if they match, false otherwise.
- Definition Classes
- PublicKeyOps
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def xdr: org.stellar.xdr.PublicKey
- Definition Classes
- PublicKeyOps
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated