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