Uses of Interface
org.bitcoinj.secp.SecpPrivKey
Packages that use SecpPrivKey
Package
Description
API definition package for the
org.bitcoinj.secp module and JAR.Internal helper classes -- not for public use.
-
Uses of SecpPrivKey in org.bitcoinj.secp
Subinterfaces of SecpPrivKey in org.bitcoinj.secpModifier and TypeInterfaceDescriptioninterfaceA single object containing a private key and its derived public key.Methods in org.bitcoinj.secp that return SecpPrivKeyModifier and TypeMethodDescriptionSecp256k1.ecPrivKeyCreate()Create a new, randomly-generated private key.static SecpPrivKeySecpPrivKey.of(byte[] bytes) Construct a private key from bytesstatic SecpPrivKeySecpPrivKey.of(BigInteger p) Construct a private key from an integerSecpKeyPair.privateKey()Get the private keyMethods in org.bitcoinj.secp with parameters of type SecpPrivKeyModifier and TypeMethodDescriptionSecp256k1.ecdh(SecpPubKey pubKey, SecpPrivKey privKey) ECDH key agreementSecp256k1.ecdsaSign(byte[] msg_hash_data, SecpPrivKey privKey) Sign a message hash using the ECDSA algorithmSecp256k1.ecdsaSignLowR(byte[] messageHashData, SecpPrivKey privKey) Sign a message hash using the ECDSA algorithm and Low-R signature gridingSecp256k1.ecKeyPairCreate(SecpPrivKey privKey) Create a key pair structure from a known private keySecp256k1.ecPubKeyCreate(SecpPrivKey privKey) Create a public key from the given private key.static SecpKeyPairSecpKeyPair.of(SecpPrivKey privKey, SecpPubKey pubKey) Deprecated, for removal: This API element is subject to removal in a future version.Secp256k1.schnorrSigSign32(byte[] msg_hash, SecpPrivKey privKey) Create a Schnorr signature for a message.Secp256k1.schnorrSigSign32(byte[] messageHash, SecpPrivKey privKey, byte[] auxiliaryRandom) Create a Schnorr signature for a message. -
Uses of SecpPrivKey in org.bitcoinj.secp.ffm
Methods in org.bitcoinj.secp.ffm that return SecpPrivKeyMethods in org.bitcoinj.secp.ffm with parameters of type SecpPrivKeyModifier and TypeMethodDescriptionSecp256k1Foreign.ecdh(SecpPubKey pubKey, SecpPrivKey privKey) Secp256k1Foreign.ecdsaSign(byte[] msg_hash_data, SecpPrivKey privKey) Secp256k1Foreign.ecdsaSignLowR(byte[] msg_hash_data, SecpPrivKey privKey) ECDSA signing with Low-R grinding.Secp256k1Foreign.ecKeyPairCreate(SecpPrivKey privKey) Secp256k1Foreign.ecPubKeyCreate(SecpPrivKey privkey) Secp256k1Foreign.schnorrSigSign32(byte[] messageHash, SecpPrivKey privKey) Secp256k1Foreign.schnorrSigSign32(byte[] messageHash, SecpPrivKey privKey, byte[] auxiliaryRandom) schnorrSigSign32 using provided randomness. -
Uses of SecpPrivKey in org.bitcoinj.secp.internal
Classes in org.bitcoinj.secp.internal that implement SecpPrivKeyMethods in org.bitcoinj.secp.internal that return SecpPrivKeyConstructors in org.bitcoinj.secp.internal with parameters of type SecpPrivKey