Package org.bouncycastle.crypto.params
Class SLHDSAPrivateKeyParameters
- java.lang.Object
-
- org.bouncycastle.crypto.params.AsymmetricKeyParameter
-
- org.bouncycastle.crypto.params.SLHDSAKeyParameters
-
- org.bouncycastle.crypto.params.SLHDSAPrivateKeyParameters
-
- All Implemented Interfaces:
javax.security.auth.Destroyable,CipherParameters
public class SLHDSAPrivateKeyParameters extends SLHDSAKeyParameters implements javax.security.auth.Destroyable
-
-
Constructor Summary
Constructors Constructor Description SLHDSAPrivateKeyParameters(SLHDSAParameters parameters, byte[] skpkEncoded)SLHDSAPrivateKeyParameters(SLHDSAParameters parameters, byte[] skSeed, byte[] prf, byte[] pkSeed, byte[] pkRoot)
-
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()byte[]getEncodedPublicKey()byte[]getPrf()byte[]getPublicKey()byte[]getPublicSeed()byte[]getRoot()byte[]getSeed()booleanisDestroyed()-
Methods inherited from class org.bouncycastle.crypto.params.SLHDSAKeyParameters
getParameters
-
Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter
isPrivate
-
-
-
-
Constructor Detail
-
SLHDSAPrivateKeyParameters
public SLHDSAPrivateKeyParameters(SLHDSAParameters parameters, byte[] skpkEncoded)
-
SLHDSAPrivateKeyParameters
public SLHDSAPrivateKeyParameters(SLHDSAParameters parameters, byte[] skSeed, byte[] prf, byte[] pkSeed, byte[] pkRoot)
-
-
Method Detail
-
getSeed
public byte[] getSeed()
-
getPrf
public byte[] getPrf()
-
getPublicSeed
public byte[] getPublicSeed()
-
getRoot
public byte[] getRoot()
-
getPublicKey
public byte[] getPublicKey()
-
getEncoded
public byte[] getEncoded()
-
getEncodedPublicKey
public byte[] getEncodedPublicKey()
-
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
-
-