Class BCFaestPrivateKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.faest.BCFaestPrivateKey
- All Implemented Interfaces:
Serializable, AsymmetricKey, DEREncodablePREVIEW, Key, PrivateKey, Destroyable, FaestKey
- See Also:
-
Constructor Details
-
BCFaestPrivateKey
-
BCFaestPrivateKey
- Throws:
IOException
-
-
Method Details
-
equals
-
hashCode
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceKey- Returns:
- name of the algorithm - upper-case form of the FAEST parameter-set name
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
getParams
Return the parameter set of this key as a java.security.spec.NamedParameterSpec, the form the JDK's own keys report through java.security.AsymmetricKey.getParams() from Java 22.- Specified by:
getParamsin interfaceAsymmetricKey- Returns:
- a NamedParameterSpec naming the parameter set on Java 11 and later, null otherwise.
-
getParameterSpec
Description copied from interface:FaestKeyReturn the parameters for this key.- Specified by:
getParameterSpecin interfaceFaestKey- Returns:
- a FaestParameterSpec
-
getFormat
-