Uses of Class
convex.core.crypto.AKeyPair
Packages that use AKeyPair
Package
Description
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 Datastatic Peer
Peer.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 that return AKeyPairModifier and TypeMethodDescriptionstatic AKeyPair
AKeyPair.create(byte[] keyMaterial)
Creates a key pair using specific key material.static AKeyPair
AKeyPair.create(AccountKey publicKey, Blob encodedPrivateKey)
Create a key pair with the given Address and encoded private keystatic AKeyPair
AKeyPair.createSeeded(long seed)
Create a deterministic key pair with the given seed.static AKeyPair
Mnemonic.decodeKeyPair(String s)
static AKeyPair
AKeyPair.generate()
Generates a new, secure random key pair.static AKeyPair
PFXTools.getKeyPair(KeyStore ks, String alias, String passPhrase)
WalletEntry.getKeyPair()
static AKeyPair
Read a key pair from a PEM StringMethods in convex.core.crypto with parameters of type AKeyPairModifier and TypeMethodDescriptionstatic WalletEntry
static Certificate
PFXTools.createSelfSignedCertificate(AKeyPair kpToSign)
static KeyStore
Adds a key to a key storeWalletEntry.withKeyPair(AKeyPair kp)
static String
Writes 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.peerKeyPairs
protected AKeyPair[]
AInitConfig.userKeyPairs
Methods 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 AKeyPairModifierConstructorDescriptionprotected
AInitConfig(AKeyPair[] userKeyPairs, AKeyPair[] peerKeyPairs)