Class BCUOVPrivateKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.uov.BCUOVPrivateKey
- All Implemented Interfaces:
Serializable, AsymmetricKey, DEREncodablePREVIEW, Key, PrivateKey, Destroyable, UOVKey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfinal Stringbyte[]Return the parameter set this key is bound to.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.inthashCode()Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Destroyable
destroy, isDestroyed
-
Constructor Details
-
BCUOVPrivateKey
-
BCUOVPrivateKey
- Throws:
IOException
-
-
Method Details
-
equals
-
hashCode
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceKey
-
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:UOVKeyReturn the parameter set this key is bound to.- Specified by:
getParameterSpecin interfaceUOVKey- Returns:
- a UOVParameterSpec naming the (security-level, encoding-variant) pair.
-
getFormat
-