public class MLKEMPrivateKeySpec extends Object implements KeySpec
Constructor and Description |
---|
MLKEMPrivateKeySpec(byte[] rawKey,
MLKEMParameterSpec parameterSpec)
Create the private key spec from the raw byte sequence of the private key.
|
public MLKEMPrivateKeySpec(byte[] rawKey, MLKEMParameterSpec 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.