Package org.bitcoinj.secp
package org.bitcoinj.secp
API definition package for the
org.bitcoinj.secp module and JAR. Part of
secp256k1-jdk, a Java library providing
Elliptic Curve Cryptography functions using the SECG curve
secp256k1.
It provides both ECDSA and Schnorr message-signing functions.
The main interface is defined in Secp256k1.
-
ClassDescriptionAn effectively-immutable sequence of bytes.An secp256k1 ECDH shared secret (a 32-byte hash.)An secp256k1 ECDSA signature.A secp256k1 Schnorr signature.Main interface providing Elliptic Curve Cryptography functions using the SECG curve.Provider interface for implementations of
Secp256k1.Standard, well-known providersA number that is a valid element of the P256K1 field.A single object containing a private key and its derived public key.A P256K1 point in compressed format.Singleton representing the point-at-infinityA non-infinity point, eitherSecpPoint.CompressedorSecpPoint.Uncompressed.A P256K1 point in uncompressed format.A P256k1 private key.A valid secp256k1 Public Key that is a subclass ofECPublicKeySecpResult<T>Functional-style result for secp256k1 -- eitherSecpResult.OkorSecpResult.Err.An error result, with aninterror code inSecpResult.Err.code().A successful result containing a value of type<T>inSecpResult.Ok.result().An x-only public key from a point on the secp256k1 curve