Class SecpPrivKeyImpl

java.lang.Object
org.bitcoinj.secp.internal.SecpPrivKeyImpl
All Implemented Interfaces:
Serializable, AsymmetricKey, DEREncodablePREVIEW, ECKey, ECPrivateKey, Key, PrivateKey, Destroyable, SecpPrivKey

public class SecpPrivKeyImpl extends Object implements SecpPrivKey
Default/internal implementation of SecpPrivKey
See Also:
  • Constructor Details

    • SecpPrivKeyImpl

      public SecpPrivKeyImpl(byte[] bytes)
      Caller is responsible for defensively copying byte[]. This is to avoid a redundant copy. Exclusive ownership must be passed to this instance.
      Parameters:
      bytes - (will not be defensively copied)
    • SecpPrivKeyImpl

      public SecpPrivKeyImpl(BigInteger privKey)
  • Method Details