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 BeliefCreate a Belief with a single order signed by the given key pair, using initial timestamp.static BeliefMergeCreate a Belief Merge contextstatic PeerCreates a Peerstatic PeerCreate a Peer instance from a remotely acquired Beliefstatic PeerPeer.createGenesisPeer(AKeyPair keyPair, State genesisState) Creates a new Peer instance at server startup using the provided configuration.static BeliefBelief.createSingleOrder(AKeyPair kp) Create a Belief with a single empty order.static PeerConstructs a Peer instance from persisted PEer DataBelief.proposeBlock(AKeyPair kp, SignedData<Block> signedBlock) Propose a new Block at the end of the current Orderstatic PeerPeer.restorePeer(AStore store, AKeyPair keyPair) LikePeer.restorePeer(AStore, AKeyPair, ACell)but uses a null root key.static PeerPeer.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 AKeyPairAKeyPair.create(byte[] keyMaterial) Creates a key pair using specific key material.static AKeyPairCreate a key pair with the given seed.static AKeyPairCreate a KeyPair from a JCA KeyPairstatic AKeyPairAKeyPair.create(PrivateKey privateKey) Create a KeyPair from given private key.static AKeyPairAKeyPair.create(PublicKey publicKey, PrivateKey privateKey) Creates an Ed25519 Key Pair with the specified keysabstract AKeyPairCreate a key pair with the given seedstatic AKeyPairAKeyPair.createSeeded(long seed) Create a deterministic key pair with the given seed.static AKeyPairSLIP10.deriveKeyPair(Blob seed, int... ixs) static AKeyPairAKeyPair.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 AKeyPairProviders.generate()static AKeyPairstatic AKeyPairPFXTools.getKeyPair(KeyStore ks, String alias, char[] keyPassword) Retrieves a key pair from a key store.static AKeyPairRead a key pair from a PEM Stringstatic AKeyPairBIP39.seedToKeyPair(Blob seed) Methods in convex.core.crypto with parameters of type AKeyPairModifier and TypeMethodDescriptionabstract booleanTests if this keypair is equal to another key pair.static KeyStorePFXTools.setKeyPair(KeyStore ks, AKeyPair kp, char[] keyPassword) Adds a key pair to a key store.static KeyStorePFXTools.setKeyPair(KeyStore ks, String alias, AKeyPair kp, char[] keyPassword) Adds a key pair to a key store.static StringWrites a key pair to a String -
Uses of AKeyPair in convex.core.crypto.bc
Subclasses of AKeyPair in convex.core.crypto.bcModifier and TypeClassDescriptionclassClass representing an Ed25519 Key Pair using Sodium libraryMethods in convex.core.crypto.bc with parameters of type AKeyPair -
Uses of AKeyPair in convex.core.crypto.wallet
Methods in convex.core.crypto.wallet that return AKeyPairModifier and TypeMethodDescriptionHotWalletEntry.getKeyPair()IWalletEntry.getKeyPair()Gets the key pair associated with this wallet entry, if unlockedMethods in convex.core.crypto.wallet with parameters of type AKeyPairConstructors in convex.core.crypto.wallet with parameters of type AKeyPair -
Uses of AKeyPair in convex.core.data
Methods in convex.core.data with parameters of type AKeyPairModifier and TypeMethodDescriptionstatic <T extends ACell>
SignedData<T> Create a SignedData by signing a value with the given key pairstatic <T extends ACell>
SignedData<T> Signs a data value Ref with the given keypair.