public class FipsAsymmetricalEncryptor extends Object implements IAsymmetricalEncryptor
Constructor and Description |
---|
FipsAsymmetricalEncryptor() |
public byte[] encrypt(byte[] bytes) throws InvalidKeyException, NoSuchAlgorithmException, NoSuchPaddingException, IllegalBlockSizeException, BadPaddingException
encrypt
in interface IAsymmetricalEncryptor
InvalidKeyException
NoSuchAlgorithmException
NoSuchPaddingException
IllegalBlockSizeException
BadPaddingException
public void importParameters(byte[] exponent, byte[] modulus) throws NoSuchAlgorithmException, InvalidKeySpecException
importParameters
in interface IAsymmetricalEncryptor
NoSuchAlgorithmException
InvalidKeySpecException
Copyright © 2016. All Rights Reserved.