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.
Package used to create genesis states for new Convex networks
-
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 MergeContextCreate a MergeContextstatic 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 Datastatic PeerPeer.restorePeer(AStore store, AKeyPair keyPair) Restores a Peer from the Etch database specified in Config -
Uses of AKeyPair in convex.core.crypto
Subclasses of AKeyPair in convex.core.cryptoMethods 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 AKeyPairAKeyPair.create(AccountKey publicKey, Blob encodedPrivateKey) Create a key pair with the given Address and encoded private keystatic AKeyPairAKeyPair.createSeeded(long seed) Create a deterministic key pair with the given seed.static AKeyPairAKeyPair.generate()Generates a new, secure random key pair.static AKeyPairPFXTools.getKeyPair(KeyStore ks, String alias, String passphrase) Retrieves a key pair from a key store.WalletEntry.getKeyPair()static AKeyPairRead a key pair from a PEM StringMethods in convex.core.crypto with parameters of type AKeyPairModifier and TypeMethodDescriptionstatic WalletEntrystatic KeyStorePFXTools.setKeyPair(KeyStore ks, AKeyPair kp, String passPhrase) Adds a key pair to a key store.static KeyStorePFXTools.setKeyPair(KeyStore ks, String alias, AKeyPair kp, String passPhrase) Adds a key pair to a key store.WalletEntry.withKeyPair(AKeyPair kp) static StringWrites a key pair to a String -
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. -
Uses of AKeyPair in convex.core.init
Fields in convex.core.init declared as AKeyPairModifier and TypeFieldDescriptionprotected AKeyPair[]AInitConfig.peerKeyPairsprotected AKeyPair[]AInitConfig.userKeyPairsMethods in convex.core.init that return AKeyPairModifier and TypeMethodDescriptionAInitConfig.getPeerKeyPair(int index) AKeyPair[]AInitConfig.getPeerKeyPairs()AInitConfig.getUserKeyPair(int index) Constructors in convex.core.init with parameters of type AKeyPairModifierConstructorDescriptionprotectedAInitConfig(AKeyPair[] userKeyPairs, AKeyPair[] peerKeyPairs)