public class EgovGeneralCryptoServiceImpl extends Object implements EgovGeneralCryptoService
| Constructor and Description |
|---|
EgovGeneralCryptoServiceImpl() |
| 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)
파일 암호화 처리.
|
String |
getAlgorithm()
암복호화 알고리즘.
|
void |
setAlgorithm(String algorithm)
암복호화 알고리즘.
|
void |
setBlockSize(int blockSize)
파일처리시 사용되는 blockSize 지정.
|
void |
setPasswordEncoder(EgovPasswordEncoder passwordEncoder)
패스워드 암호화 지정.
|
public String getAlgorithm()
EgovGeneralCryptoServicegetAlgorithm in interface EgovGeneralCryptoServicepublic void setAlgorithm(String algorithm)
EgovGeneralCryptoServicesetAlgorithm in interface EgovGeneralCryptoServicepublic void setPasswordEncoder(EgovPasswordEncoder passwordEncoder)
EgovCryptoServicesetPasswordEncoder in interface EgovCryptoServicepublic void setBlockSize(int blockSize)
EgovCryptoServicesetBlockSize in interface EgovCryptoServicepublic byte[] encrypt(byte[] data,
String password)
EgovCryptoServiceencrypt in interface EgovCryptoServicepublic BigDecimal encrypt(BigDecimal number, String password)
EgovCryptoServiceencrypt in interface EgovCryptoServicepublic void encrypt(File srcFile, String password, File trgtFile) throws FileNotFoundException, IOException
EgovCryptoServiceencrypt in interface EgovCryptoServiceFileNotFoundExceptionIOExceptionpublic byte[] decrypt(byte[] encryptedData,
String password)
EgovCryptoServicedecrypt in interface EgovCryptoServicepublic BigDecimal decrypt(BigDecimal encryptedNumber, String password)
EgovCryptoServicedecrypt in interface EgovCryptoServicepublic void decrypt(File encryptedFile, String password, File trgtFile) throws FileNotFoundException, IOException
EgovCryptoServicedecrypt in interface EgovCryptoServiceFileNotFoundExceptionIOExceptionCopyright © 2019. All rights reserved.