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 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 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 AKeyPairMnemonic.decodeKeyPair(String s)static AKeyPairAKeyPair.generate()Generates a new, secure random key pair.static AKeyPairPFXTools.getKeyPair(KeyStore ks, String alias, String passPhrase)WalletEntry.getKeyPair()static AKeyPairRead a key pair from a PEM StringMethods in convex.core.crypto with parameters of type AKeyPairModifier and TypeMethodDescriptionstatic WalletEntrystatic CertificatePFXTools.createSelfSignedCertificate(AKeyPair kpToSign)static KeyStoreAdds a key to a key storeWalletEntry.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)