Class BCHawkPublicKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.hawk.BCHawkPublicKey
- All Implemented Interfaces:
Serializable, AsymmetricKey, DEREncodablePREVIEW, Key, PublicKey, HawkKey
JCA public key wrapper for Hawk. Round-trips through X.509
SubjectPublicKeyInfo via the lightweight PublicKeyFactory
(the BC provider's BCPQC key-info-converter chain reaches this class for
every Hawk OID).- See Also:
-
Constructor Details
-
BCHawkPublicKey
-
BCHawkPublicKey
- Throws:
IOException
-
-
Method Details
-
equals
-
hashCode
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceKey- Returns:
- name of the algorithm - upper-case form of the Hawk parameter-set name
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
getFormat
-
getParameterSpec
Description copied from interface:HawkKeyReturn the parameters for this key.- Specified by:
getParameterSpecin interfaceHawkKey- Returns:
- a HawkParameterSpec
-