Class BCHaetaePublicKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.haetae.BCHaetaePublicKey
- All Implemented Interfaces:
Serializable, AsymmetricKey, DEREncodablePREVIEW, Key, PublicKey, HaetaeKey
JCA public key wrapper for HAETAE. Round-trips through X.509
SubjectPublicKeyInfo via the lightweight PublicKeyFactory
(the BC provider's BCPQC key-info-converter chain reaches this class for
every HAETAE OID).- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BCHaetaePublicKey
-
BCHaetaePublicKey
- Throws:
IOException
-
-
Method Details
-
equals
-
hashCode
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceKey- Returns:
- name of the algorithm - upper-case form of the HAETAE parameter-set name
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
getFormat
-
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:HaetaeKeyReturn the parameters for this key.- Specified by:
getParameterSpecin interfaceHaetaeKey- Returns:
- a HaetaeParameterSpec
-