Class DSAPrivateKeyParameters

All Implemented Interfaces:
Destroyable, CipherParameters

public class DSAPrivateKeyParameters extends DSAKeyParameters implements Destroyable
  • Constructor Details

  • Method Details

    • getX

      public BigInteger getX()
    • destroy

      public void destroy()
      Destroy this object, dropping its reference to the private value.

      As BigInteger is immutable the private value cannot be zeroized in place; destruction drops the internal reference so the value becomes unreachable (cleared on garbage collection). The (public) domain parameters are retained. After destruction getX() throws IllegalStateException.

      Specified by:
      destroy in interface Destroyable
    • isDestroyed

      public boolean isDestroyed()
      Specified by:
      isDestroyed in interface Destroyable