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