public class KyberPrivateKeySpec extends Object implements KeySpec
Constructor and Description |
---|
KyberPrivateKeySpec(byte[] rawKey,
KyberParameterSpec parameterSpec)
Create the private key spec from the raw byte sequence of the private key.
|
public KyberPrivateKeySpec(byte[] rawKey, KyberParameterSpec 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–2023 Stiftung SIC. All rights reserved.