Package-level declarations

Types

Link copied to clipboard
class AlgorithmKey(val property: String = "algorithm") : KeyProperties

Represents a key that holds an algorithm property.

Link copied to clipboard
class CurveKey(val property: String = "curve") : KeyProperties

Represents a key property for the curve.

Link copied to clipboard
class CurvePointXKey(val property: String = "curvePoint.x") : KeyProperties

Class representing the CurvePointXKey.

Link copied to clipboard
class CurvePointYKey(val property: String = "curvePoint.y") : KeyProperties

Represents a key property for the y-coordinate of a curve point.

Link copied to clipboard
class CustomKey(val property: String) : KeyProperties

Represents a custom key with a specific property.

Link copied to clipboard
interface DerivableKey

This interface defines the functionality of a derivable key.

Link copied to clipboard
class DerivationPathKey(val property: String = "derivationPath") : KeyProperties

Represents a derivation path key. Inherits from the KeyProperties class.

Link copied to clipboard
interface ExportableKey

This interface defines what is required for a key to be exportable

Link copied to clipboard
interface ImportableKey

This interface defines what is required for a key to be importable

Link copied to clipboard
class IndexKey(val property: String = "index") : KeyProperties

Class representing an index key.

Link copied to clipboard
data class JWK(val kty: String, val alg: String? = null, val kid: String? = null, val use: String? = null, val n: String? = null, val e: String? = null, val d: String? = null, val p: String? = null, val q: String? = null, val dp: String? = null, val dq: String? = null, val qi: String? = null, val crv: String? = null, val x: String? = null, val y: String? = null, val k: String? = null)

Representation of a JWK (JSON Web Key)

Link copied to clipboard
abstract class Key

Abstraction defining the base of what a Key is.

Link copied to clipboard
abstract class KeyPair

Data class representing a pair of private and public keys for a specific key curve.

Link copied to clipboard
abstract class KeyProperties

The KeyProperties class is an abstract class that provides a framework for defining key properties. Each subclass of KeyProperties must implement the property property.

Link copied to clipboard
interface KeyRestoration

This interface defines the functionality to verify and restore cryptographic keys

Link copied to clipboard

Enumeration class representing different types of keys.

Link copied to clipboard
data class PEMKey(val keyType: PEMKeyType, val keyData: ByteArray)

Representation of a cryptographic key in PEM format.

Link copied to clipboard

Definition of the PEM key types available

Link copied to clipboard
abstract class PrivateKey : Key

Abstraction of what a PrivateKey is and what functionality provides.

Link copied to clipboard
abstract class PublicKey : Key

Abstraction of what a PublicKey is and the functionality it provides.

Link copied to clipboard
class RawKey(val property: String = "raw") : KeyProperties

Represents a raw key with the property "raw".

Link copied to clipboard
class SeedKey(val property: String = "seed") : KeyProperties

Represents a seed key used for deriving private keys.

Link copied to clipboard
interface SignableKey

This interface defines the functionality of a signable key.

Link copied to clipboard
interface StorableKey

This interface defines what a key requires to be storable.

Link copied to clipboard
data class StorablePrivateKey(val id: String, val restorationIdentifier: String, val data: String, val keyPathIndex: Int?)
Link copied to clipboard
class TypeKey(val property: String = "type") : KeyProperties

Represents a specific type of key with a "type" property. Inherits from the abstract class KeyProperties.

Link copied to clipboard
interface VerifiableKey

This interface defines the functionality of a verifiable key.

Functions

Link copied to clipboard

Method to get a KeyCurve instance based on a key String name.

Link copied to clipboard

Returns a KeyProperties object based on the given name.