public class McElieceKemSpi
extends iaik.security.kem.KeyEncapsulationMechanismSpi
Constructor and Description |
---|
McElieceKemSpi() |
Modifier and Type | Method and Description |
---|---|
protected void |
engineDecapsule(byte[] c,
byte[] sk) |
protected void |
engineDeriveKey(byte[] output,
List input) |
protected byte[] |
engineEncapsule(byte[] sk) |
protected AlgorithmParameters |
engineGetParameters() |
protected void |
engineInit(Key key) |
protected void |
engineInit(Key key,
AlgorithmParameterSpec params) |
protected void |
engineInit(Key key,
AlgorithmParameterSpec params,
SecureRandom secureRandom) |
protected void |
engineInit(Key key,
SecureRandom random) |
protected void engineInit(Key key) throws InvalidKeyException
engineInit
in class iaik.security.kem.KeyEncapsulationMechanismSpi
InvalidKeyException
protected void engineInit(Key key, SecureRandom random) throws InvalidKeyException
engineInit
in class iaik.security.kem.KeyEncapsulationMechanismSpi
InvalidKeyException
protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException
engineInit
in class iaik.security.kem.KeyEncapsulationMechanismSpi
InvalidKeyException
InvalidAlgorithmParameterException
protected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom secureRandom) throws InvalidKeyException, InvalidAlgorithmParameterException
engineInit
in class iaik.security.kem.KeyEncapsulationMechanismSpi
InvalidKeyException
InvalidAlgorithmParameterException
protected AlgorithmParameters engineGetParameters()
engineGetParameters
in class iaik.security.kem.KeyEncapsulationMechanismSpi
protected void engineDeriveKey(byte[] output, List input) throws DigestException
engineDeriveKey
in class iaik.security.kem.KeyEncapsulationMechanismSpi
DigestException
protected byte[] engineEncapsule(byte[] sk) throws InvalidKeyException, DigestException
engineEncapsule
in class iaik.security.kem.KeyEncapsulationMechanismSpi
InvalidKeyException
DigestException
protected void engineDecapsule(byte[] c, byte[] sk) throws InvalidKeyException, InvalidParameterException, DigestException
engineDecapsule
in class iaik.security.kem.KeyEncapsulationMechanismSpi
InvalidKeyException
InvalidParameterException
DigestException
Copyright © 2020–2023 Stiftung SIC. All rights reserved.