Bouncy Castle Cryptography Library 1.85.2

org.bouncycastle.crypto.params
Class CMCEPrivateKeyParameters

java.lang.Object
  extended byorg.bouncycastle.crypto.params.AsymmetricKeyParameter
      extended byorg.bouncycastle.crypto.params.CMCEKeyParameters
          extended byorg.bouncycastle.crypto.params.CMCEPrivateKeyParameters
All Implemented Interfaces:
CipherParameters, javax.security.auth.Destroyable

public class CMCEPrivateKeyParameters
extends CMCEKeyParameters
implements javax.security.auth.Destroyable


Constructor Summary
CMCEPrivateKeyParameters(CMCEParameters params, byte[] privateKey)
           
 
Method Summary
 void destroy()
          Zeroize the secret key material held by this object.
 byte[] getEncoded()
           
 byte[] getPrivateKey()
          Deprecated. use getEncoded()
 boolean isDestroyed()
           
 
Methods inherited from class org.bouncycastle.crypto.params.CMCEKeyParameters
getParameters
 
Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter
isPrivate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMCEPrivateKeyParameters

public CMCEPrivateKeyParameters(CMCEParameters params,
                                byte[] privateKey)
Method Detail

getPrivateKey

public byte[] getPrivateKey()
Deprecated. use getEncoded()


getEncoded

public byte[] getEncoded()

destroy

public void destroy()
Zeroize the secret key material held by this object.

Specified by:
destroy in interface javax.security.auth.Destroyable

isDestroyed

public boolean isDestroyed()
Specified by:
isDestroyed in interface javax.security.auth.Destroyable

Bouncy Castle Cryptography Library 1.85.2