Uses of Class
convex.core.crypto.AKeyPair
Packages that use AKeyPair
Package
Description
Fundamental Convex classes used for the decentralised network
Crypto algorithms used within Convex, particularly for digital signatures and
cryptographic hashes
Data structures and algorithms, including a complete set of classes
required to implement immutable, decentralised data objects.
-
Uses of AKeyPair in convex.core
Methods in convex.core that return AKeyPairMethods in convex.core with parameters of type AKeyPairModifier and TypeMethodDescriptionstatic Belief
Create a Belief with a single order signed by the given key pair, using initial timestamp.static MergeContext
Create a MergeContextstatic Peer
Creates a Peerstatic Peer
Create a Peer instance from a remotely acquired Beliefstatic Peer
Peer.createGenesisPeer
(AKeyPair keyPair, State genesisState) Creates a new Peer instance at server startup using the provided configuration.static Belief
Belief.createSingleOrder
(AKeyPair kp) Create a Belief with a single empty order.static Peer
Constructs a Peer instance from persisted PEer DataBelief.proposeBlock
(AKeyPair kp, SignedData<Block> signedBlock) static Peer
Peer.restorePeer
(AStore store, AKeyPair keyPair) LikePeer.restorePeer(AStore, AKeyPair, ACell)
but uses a null root key.static Peer
Peer.restorePeer
(AStore store, AKeyPair keyPair, ACell rootKey) Restores a Peer from the Etch database specified in Config -
Uses of AKeyPair in convex.core.crypto
Methods in convex.core.crypto with type parameters of type AKeyPairModifier and TypeMethodDescriptionstatic <T extends AKeyPair>
TMnemonic.decodeKeyPair
(String mnemonic) Create a keypair from a mnemonic stringstatic <T extends AKeyPair>
TMnemonic.decodeKeyPair
(String mnemonic, String passphrase) Create a keypair from a mnemonic stringMethods in convex.core.crypto that return AKeyPairModifier and TypeMethodDescriptionstatic AKeyPair
AKeyPair.create
(byte[] keyMaterial) Creates a key pair using specific key material.static AKeyPair
Create a key pair with the given seed.static AKeyPair
Create a KeyPair from a JCA KeyPairstatic AKeyPair
AKeyPair.create
(PrivateKey privateKey) Create a KeyPair from given private key.static AKeyPair
AKeyPair.create
(PublicKey publicKey, PrivateKey privateKey) Creates an Ed25519 Key Pair with the specified keysabstract AKeyPair
Create a key pair with the given seedstatic AKeyPair
AKeyPair.createSeeded
(long seed) Create a deterministic key pair with the given seed.static AKeyPair
AKeyPair.generate()
Generates a new, secure random key pair.AProvider.generate()
Generates a secure random key pair.AProvider.generate
(SecureRandom random) Generates a key pair using the provided source of randomness.static AKeyPair
Providers.generate()
static AKeyPair
static AKeyPair
PFXTools.getKeyPair
(KeyStore ks, String alias, String passphrase) Retrieves a key pair from a key store.WalletEntry.getKeyPair()
static AKeyPair
Read a key pair from a PEM StringMethods in convex.core.crypto with parameters of type AKeyPairModifier and TypeMethodDescriptionstatic WalletEntry
abstract boolean
Tests if this keypair is equal to another key pair.static KeyStore
PFXTools.setKeyPair
(KeyStore ks, AKeyPair kp, String passPhrase) Adds a key pair to a key store.static KeyStore
PFXTools.setKeyPair
(KeyStore ks, String alias, AKeyPair kp, String passPhrase) Adds a key pair to a key store.WalletEntry.withKeyPair
(AKeyPair kp) static String
Writes a key pair to a String -
Uses of AKeyPair in convex.core.crypto.bc
Subclasses of AKeyPair in convex.core.crypto.bcModifier and TypeClassDescriptionclass
Class representing an Ed25519 Key Pair using Sodium libraryMethods in convex.core.crypto.bc with parameters of type AKeyPair -
Uses of AKeyPair in convex.core.data
Methods in convex.core.data with parameters of type AKeyPairModifier and TypeMethodDescriptionstatic SignedData<ATransaction>
SignedData.create
(AKeyPair kp, ASignature sig, Ref<ATransaction> ref) static <T extends ACell>
SignedData<T>static <T extends ACell>
SignedData<T>SignedData.createWithRef
(AKeyPair keyPair, Ref<T> ref) Signs a data value Ref with the given keypair.