public interface AsymmetricEncryptor
byte[] pubEncode(String data) throws InvalidKeyException, IllegalBlockSizeException, BadPaddingException
byte[] priDecode(byte[] data)
throws InvalidKeyException,
IllegalBlockSizeException,
BadPaddingException
byte[] sign(byte[] data)
throws SignatureException,
InvalidKeyException
boolean verify(byte[] content,
byte[] sign)
throws SignatureException,
InvalidKeyException
Copyright © 2020. All rights reserved.