Package org.bouncycastle.crypto.params
Class CMCEPrivateKeyParameters
- java.lang.Object
-
- org.bouncycastle.crypto.params.AsymmetricKeyParameter
-
- org.bouncycastle.crypto.params.CMCEKeyParameters
-
- org.bouncycastle.crypto.params.CMCEPrivateKeyParameters
-
- All Implemented Interfaces:
javax.security.auth.Destroyable,CipherParameters
public class CMCEPrivateKeyParameters extends CMCEKeyParameters implements javax.security.auth.Destroyable
-
-
Constructor Summary
Constructors Constructor Description CMCEPrivateKeyParameters(CMCEParameters params, byte[] privateKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()Zeroize the secret key material held by this object.byte[]getEncoded()booleanisDestroyed()-
Methods inherited from class org.bouncycastle.crypto.params.CMCEKeyParameters
getParameters
-
Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter
isPrivate
-
-
-
-
Constructor Detail
-
CMCEPrivateKeyParameters
public CMCEPrivateKeyParameters(CMCEParameters params, byte[] privateKey)
-
-
Method Detail
-
getEncoded
public byte[] getEncoded()
-
destroy
public void destroy()
Zeroize the secret key material held by this object.- Specified by:
destroyin interfacejavax.security.auth.Destroyable
-
isDestroyed
public boolean isDestroyed()
- Specified by:
isDestroyedin interfacejavax.security.auth.Destroyable
-
-