Class BCHawkPrivateKey

java.lang.Object
org.bouncycastle.pqc.jcajce.provider.hawk.BCHawkPrivateKey
All Implemented Interfaces:
Serializable, AsymmetricKey, DEREncodablePREVIEW, Key, PrivateKey, Destroyable, HawkKey

public class BCHawkPrivateKey extends Object implements PrivateKey, HawkKey
JCA private key wrapper for Hawk. Round-trips through PKCS#8 PrivateKeyInfo via the lightweight PrivateKeyFactory. Equality uses Arrays.constantTimeAreEqual(byte[], byte[]) on the encoded private key bytes to avoid leaking secret material through timing-distinguishable comparisons.
See Also: