Class BCSmaugTPrivateKey
- java.lang.Object
-
- org.bouncycastle.pqc.jcajce.provider.smaugt.BCSmaugTPrivateKey
-
- All Implemented Interfaces:
java.io.Serializable,java.security.Key,java.security.PrivateKey,javax.security.auth.Destroyable,SmaugTKey
public class BCSmaugTPrivateKey extends java.lang.Object implements java.security.PrivateKey, SmaugTKey
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BCSmaugTPrivateKey(PrivateKeyInfo keyInfo)BCSmaugTPrivateKey(SmaugTPrivateKeyParameters params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetAlgorithm()byte[]getEncoded()java.lang.StringgetFormat()SmaugTParameterSpecgetParameterSpec()Return the parameters for this key.inthashCode()
-
-
-
Constructor Detail
-
BCSmaugTPrivateKey
public BCSmaugTPrivateKey(SmaugTPrivateKeyParameters params)
-
BCSmaugTPrivateKey
public BCSmaugTPrivateKey(PrivateKeyInfo keyInfo) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
getAlgorithm
public final java.lang.String getAlgorithm()
- Specified by:
getAlgorithmin interfacejava.security.Key
-
getEncoded
public byte[] getEncoded()
- Specified by:
getEncodedin interfacejava.security.Key
-
getParameterSpec
public SmaugTParameterSpec getParameterSpec()
Description copied from interface:SmaugTKeyReturn the parameters for this key.- Specified by:
getParameterSpecin interfaceSmaugTKey- Returns:
- a SmaugTParameterSpec
-
getFormat
public java.lang.String getFormat()
- Specified by:
getFormatin interfacejava.security.Key
-
-