Packages

case class KeyPair(pk: EdDSAPublicKey, sk: EdDSAPrivateKey) extends PublicKeyOps with Product with Serializable

Linear Supertypes
Serializable, Product, Equals, PublicKeyOps, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KeyPair
  2. Serializable
  3. Product
  4. Equals
  5. PublicKeyOps
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new KeyPair(pk: EdDSAPublicKey, sk: EdDSAPrivateKey)

Value Members

  1. def accountId: String

    returns

    the human readable account ID

    Definition Classes
    PublicKeyOps
  2. 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
  3. def encode: LazyList[Byte]
    Definition Classes
    PublicKeyOps
  4. 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
  5. val pk: EdDSAPublicKey
    Definition Classes
    KeyPairPublicKeyOps
  6. def productElementNames: Iterator[String]
    Definition Classes
    Product
  7. def publicKey: Array[Byte]
    Definition Classes
    PublicKeyOps
  8. def secretSeed: Seq[Char]

    Returns the human readable secret seed encoded in strkey.

  9. 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.

  10. val sk: EdDSAPrivateKey
  11. def toAccountId: AccountId
    Definition Classes
    PublicKeyOps
  12. def toString(): String
    Definition Classes
    KeyPair → AnyRef → Any
  13. 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
  14. def xdr: org.stellar.xdr.PublicKey
    Definition Classes
    PublicKeyOps