Package-level declarations

Types

Link copied to clipboard
class Ed25519KeyPair(var privateKey: PrivateKey, var publicKey: PublicKey) : KeyPair

Represents a pair of Ed25519 private and public keys.

Link copied to clipboard

Represents a private key for the Ed25519 algorithm.

Link copied to clipboard

Represents an Ed25519 public key.

Link copied to clipboard

Enumeration class representing different key usages.

Link copied to clipboard
class PrismDerivationPath(walletPurpose: Int = 29, didMethod: Int = 29, didIndex: Int = 0, keyPurpose: Int, keyIndex: Int)

Represents the derivation path of a Prism key, used for deriving child keys from a master key.

Link copied to clipboard
class Secp256k1KeyPair(var privateKey: PrivateKey, var publicKey: PublicKey) : KeyPair

Represents a key pair consisting of a private key and public key.

Link copied to clipboard

The Secp256k1PrivateKey class represents a private key that uses the secp256k1 elliptic curve. It extends the PrivateKey class and implements the SignableKey, StorableKey, ExportableKey, and DerivableKey interfaces.

Link copied to clipboard

Represents a public key in the Secp256k1 elliptic curve algorithm.

Link copied to clipboard
class X25519KeyPair(var privateKey: PrivateKey, var publicKey: PublicKey) : KeyPair

Represents a pair of X25519 private and public keys.

Link copied to clipboard

Represents a private key for the X25519 elliptic curve.

Link copied to clipboard

Class representing a public key for the X25519 curve.

Functions

Link copied to clipboard
fun <Error class: unknown class>.toKotlinBigInteger(): BigInteger

Converts a java.math.BigInteger to a com.ionspin.kotlin.bignum.integer.BigInteger object.

Link copied to clipboard
fun <Error class: unknown class>.toUnsignedByteArray(): ByteArray

Converts a BigInteger to an unsigned byte array.