Uses of Interface
org.bitcoinj.secp.SecpPubKey
Packages that use SecpPubKey
Package
Description
API definition package for the
org.bitcoinj.secp module and JAR.Internal helper classes -- not for public use.
-
Uses of SecpPubKey in org.bitcoinj.secp
Methods in org.bitcoinj.secp that return SecpPubKeyModifier and TypeMethodDescriptionSecp256k1.ecPubKeyCombine(SecpPoint.Uncompressed key1, SecpPoint.Uncompressed key2) Combine two public keys by adding them.Secp256k1.ecPubKeyCreate(SecpPrivKey privKey) Create a public key from the given private key.default SecpPubKeySecp256k1.ecPubKeyFromXOnly(SecpXOnlyPubKey xOnlyPubKey) Convert an x-only public key to a (uncompressed point) public keySecp256k1.ecPubKeyTweakMul(SecpPoint.Uncompressed pubKey, BigInteger scalarMultiplier) Multiply a public key by a scalar, this is known as key "tweaking"SecpKeyPair.publicKey()Get the public keyMethods in org.bitcoinj.secp that return types with arguments of type SecpPubKeyModifier and TypeMethodDescriptionSecp256k1.ecPubKeyParse(byte[] inputData) Parse a byte array as a public keyMethods in org.bitcoinj.secp with parameters of type SecpPubKeyModifier and TypeMethodDescriptionSecp256k1.ecdh(SecpPubKey pubKey, SecpPrivKey privKey) ECDH key agreementSecp256k1.ecdsaVerify(EcdsaSignature sig, byte[] msg_hash_data, SecpPubKey pubKey) Verify an ECDSA signature.byte[]Secp256k1.ecPubKeySerialize(SecpPubKey pubKey, int flags) Serialize a public keystatic SecpKeyPairSecpKeyPair.of(SecpPrivKey privKey, SecpPubKey pubKey) Deprecated, for removal: This API element is subject to removal in a future version.default SecpResult<Boolean> Secp256k1.schnorrSigVerify(SchnorrSignature signature, byte[] msg_hash, SecpPubKey pubKey) Verify a Schnorr signature. -
Uses of SecpPubKey in org.bitcoinj.secp.ffm
Methods in org.bitcoinj.secp.ffm that return SecpPubKeyModifier and TypeMethodDescriptionSecp256k1Foreign.ecPubKeyCombine(SecpPoint.Uncompressed key1, SecpPoint.Uncompressed key2) Secp256k1Foreign.ecPubKeyCombine(SecpPubKey key1) Secp256k1Foreign.ecPubKeyCreate(SecpPrivKey privkey) Secp256k1Foreign.ecPubKeyTweakMul(SecpPoint.Uncompressed pubKey, BigInteger scalarMultiplier) Methods in org.bitcoinj.secp.ffm that return types with arguments of type SecpPubKeyMethods in org.bitcoinj.secp.ffm with parameters of type SecpPubKeyModifier and TypeMethodDescriptionSecp256k1Foreign.ecdh(SecpPubKey pubKey, SecpPrivKey privKey) Secp256k1Foreign.ecdsaVerify(EcdsaSignature sig, byte[] msg_hash_data, SecpPubKey pubKey) Secp256k1Foreign.ecPubKeyCombine(SecpPubKey key1) byte[]Secp256k1Foreign.ecPubKeySerialize(SecpPubKey pubKey, int flags) SincePubKeyDatais serializable without using the native lib, this method serialized without a native call. -
Uses of SecpPubKey in org.bitcoinj.secp.internal
Classes in org.bitcoinj.secp.internal that implement SecpPubKeyModifier and TypeClassDescriptionclassDefault/Internal SecpPubKey implementation storing asSecpPointUncompressed.Methods in org.bitcoinj.secp.internal that return SecpPubKeyModifier and TypeMethodDescriptionstatic SecpPubKeyConstruct a public key from anECPointSecpKeyPairImpl.publicKey()Constructors in org.bitcoinj.secp.internal with parameters of type SecpPubKey