Class AsymmetricECKey

java.lang.Object
org.bouncycastle.crypto.asymmetric.AsymmetricECKey
All Implemented Interfaces:
AsymmetricKey, Key
Direct Known Subclasses:
AsymmetricECPrivateKey, AsymmetricECPublicKey

public abstract class AsymmetricECKey extends Object implements AsymmetricKey
Base class for Elliptic Curve (EC) keys.
  • Method Details

    • getAlgorithm

      public Algorithm getAlgorithm()
      Return the algorithm this Elliptic Curve key is for.
      Specified by:
      getAlgorithm in interface Key
      Returns:
      the key's algorithm.
    • getDomainParameters

      public ECDomainParameters getDomainParameters()
      Return the Elliptic Curve domain parameters associated with this key.
      Returns:
      the EC domain parameters for the key.
    • zeroize

      protected void zeroize()
    • isThreadCorrectMode

      protected final boolean isThreadCorrectMode()
    • checkApprovedOnlyModeStatus

      protected final void checkApprovedOnlyModeStatus()