Class AsymmetricGOST3410Key<T>

java.lang.Object
org.bouncycastle.crypto.asymmetric.AsymmetricGOST3410Key<T>
Type Parameters:
T - domain parameters for the particular key type.
All Implemented Interfaces:
AsymmetricKey, Key
Direct Known Subclasses:
AsymmetricECGOST3410PrivateKey, AsymmetricECGOST3410PublicKey, AsymmetricGOST3410PrivateKey, AsymmetricGOST3410PublicKey

public abstract class AsymmetricGOST3410Key<T> extends Object implements AsymmetricKey
Base class for keys for GOST R 34.10-1994 and GOST R 34.10-2001.
  • Field Details

    • ecAcceptable

      protected static final Set ecAcceptable
    • fpAcceptable

      protected static final Set fpAcceptable
  • Method Details

    • getAlgorithm

      public Algorithm getAlgorithm()
      Return the algorithm this GOST R 34.10 key is for.
      Specified by:
      getAlgorithm in interface Key
      Returns:
      the key's algorithm.
    • getParameters

      public GOST3410Parameters<T> getParameters()
      Return the domain parameters associated with this key.These will either be for GOST R 34.10-1994 or GOST R 34.10-2001 depending on the key type.
      Returns:
      the GOST3410 domain parameters.
    • isThreadCorrectMode

      protected final boolean isThreadCorrectMode()
    • checkApprovedOnlyModeStatus

      protected final void checkApprovedOnlyModeStatus()
    • zeroize

      protected void zeroize()