case class KeyPair(pk: EdDSAPublicKey, sk: EdDSAPrivateKey) extends PublicKeyOps with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- KeyPair
- Serializable
- Serializable
- Product
- Equals
- PublicKeyOps
- Encodable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
encode: Stream[Byte]
- Definition Classes
- PublicKeyOps → Encodable
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
pk: EdDSAPublicKey
- Definition Classes
- KeyPair → PublicKeyOps
-
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
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(): 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( ... )