Class BCKyberPrivateKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.kyber.BCKyberPrivateKey
- All Implemented Interfaces:
Serializable,Key,PrivateKey,Destroyable,KyberKey,KyberPrivateKey
- See Also:
-
Constructor Details
-
BCKyberPrivateKey
-
BCKyberPrivateKey
- Throws:
IOException
-
-
Method Details
-
equals
Compare this Kyber private key with another object. -
hashCode
public int 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
-