public class HQCPrivateKeySpec extends Object implements KeySpec
[0] Carlos Aguilar Melchor, Nicolas Aragon, Slim Bettaieb, Loïc Bidoux, Olivier Blazy, Jurjen Bos, Jean-Christophe Deneuville, Arnaud Dion, Philippe Gaborit, Jérôme Lacan, Edoardo Persichetti, Jean-Marc Robert, Pascal Véron and Gilles Zémor HQC (30.04.2023) – Submission to round 4 of the NIST post-quantum project.
Constructor and Description |
---|
HQCPrivateKeySpec(byte[] rawKey,
HQCParameterSpec parameterSpec)
Create the private key spec from the raw byte sequence of the private key.
|
public HQCPrivateKeySpec(byte[] rawKey, HQCParameterSpec parameterSpec) throws InvalidKeyException
rawKey
- private key as a raw byte sequenceparameterSpec
- the given specification of the parametersInvalidKeyException
- it will throw an error if the raw key has not the length according to the parameterSpec'sCopyright © 2020–2024 Stiftung SIC. All rights reserved.