Class AsymmetricDSTU4145Key

java.lang.Object
org.bouncycastle.crypto.asymmetric.AsymmetricDSTU4145Key
All Implemented Interfaces:
AsymmetricKey, Key
Direct Known Subclasses:
AsymmetricDSTU4145PrivateKey, AsymmetricDSTU4145PublicKey

public abstract class AsymmetricDSTU4145Key extends Object implements AsymmetricKey
Base class for DSTU-4145 keys.
  • Field Details

  • Method Details

    • getAlgorithm

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

      public DSTU4145Parameters getParameters()
      Return the domain parameters for this DSTU4145 key.
      Returns:
      the DSTU4145 domain parameters.
    • isThreadCorrectMode

      protected final boolean isThreadCorrectMode()
    • checkApprovedOnlyModeStatus

      protected final void checkApprovedOnlyModeStatus()
    • zeroize

      protected void zeroize()
    • reverseBytes

      protected static void reverseBytes(byte[] bytes)