public interface EgovCryptoService
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
decrypt(BigDecimal encryptedNumber,
String password)
BigDecimal 복호화 처리.
|
byte[] |
decrypt(byte[] encryptedData,
String password)
복호화 처리.
|
void |
decrypt(File encryptedFile,
String password,
File trgtFile)
파일 복호화 처리.
|
BigDecimal |
encrypt(BigDecimal number,
String password)
BigDecimal 암호화 처리.
|
byte[] |
encrypt(byte[] data,
String password)
암호화 처리.
|
void |
encrypt(File srcFile,
String password,
File trgtFile)
파일 암호화 처리.
|
void |
setBlockSize(int blockSize)
파일처리시 사용되는 blockSize 지정.
|
void |
setPasswordEncoder(EgovPasswordEncoder passwordEncoder)
패스워드 암호화 지정.
|
void setPasswordEncoder(EgovPasswordEncoder passwordEncoder)
passwordEncoder - void setBlockSize(int blockSize)
blockSize - byte[] encrypt(byte[] data,
String password)
data - ExceptionBigDecimal encrypt(BigDecimal number, String password)
number - Exceptionvoid encrypt(File srcFile, String password, File trgtFile) throws FileNotFoundException, IOException
srcFile - trgtFile - password - ExceptionFileNotFoundExceptionIOExceptionbyte[] decrypt(byte[] encryptedData,
String password)
encryptedData - password - ExceptionBigDecimal decrypt(BigDecimal encryptedNumber, String password)
encryptedNumber - password - Exceptionvoid decrypt(File encryptedFile, String password, File trgtFile) throws FileNotFoundException, IOException
encryptedFile - password - trgtFile - ExceptionFileNotFoundExceptionIOExceptionCopyright © 2019. All rights reserved.