Class BCKyberPrivateKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.kyber.BCKyberPrivateKey
- All Implemented Interfaces:
Serializable, AsymmetricKey, DEREncodablePREVIEW, Key, PrivateKey, Destroyable, KyberKey, KyberPrivateKey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AsymmetricKey
getParamsMethods inherited from interface Destroyable
destroy, isDestroyed
-
Constructor Details
-
BCKyberPrivateKey
-
BCKyberPrivateKey
- Throws:
IOException
-
-
Method Details
-
equals
-
hashCode
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceKey- Returns:
- name of the algorithm - "KYBER512, KYBER768, etc..."
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
getPublicKey
Description copied from interface:KyberPrivateKeyReturn the public key corresponding to this private key.- Specified by:
getPublicKeyin interfaceKyberPrivateKey- Returns:
- a Kyber Public Key
-
getParameterSpec
Description copied from interface:KyberKeyReturn the parameters for this key.- Specified by:
getParameterSpecin interfaceKyberKey- Returns:
- a KyberParameterSpec
-
getFormat
-