congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ECKey$MissingPrivateKeyException
Code IndexAdd Tabnine to your IDE (free)

How to use
ECKey$MissingPrivateKeyException
in
io.yggdrash.common.crypto

Best Java code snippets using io.yggdrash.common.crypto.ECKey$MissingPrivateKeyException (Showing top 2 results out of 315)

origin: yggdrash/yggdrash

throw new MissingPrivateKeyException();
origin: yggdrash/yggdrash

/**
 * Gets the private key in the form of an integer field element. The public key is derived by performing EC
 * point addition this number of times (i.e. point multiplying).
 *
 * @return -
 * @throws java.lang.IllegalStateException if the private key bytes are not available.
 */
public BigInteger getPrivKey() {
  if (privKey == null) {
    throw new MissingPrivateKeyException();
  } else if (privKey instanceof BCECPrivateKey) {
    return ((BCECPrivateKey) privKey).getD();
  } else {
    throw new MissingPrivateKeyException();
  }
}
io.yggdrash.common.cryptoECKey$MissingPrivateKeyException

Most used methods

  • <init>

Popular in Java

  • Running tasks concurrently on multiple threads
  • addToBackStack (FragmentTransaction)
  • setScale (BigDecimal)
  • scheduleAtFixedRate (Timer)
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • ImageIO (javax.imageio)
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now