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
- Exception
BigDecimal encrypt(BigDecimal number, String password)
number
- Exception
void encrypt(File srcFile, String password, File trgtFile) throws FileNotFoundException, IOException
srcFile
- trgtFile
- password
- Exception
FileNotFoundException
IOException
byte[] decrypt(byte[] encryptedData, String password)
encryptedData
- password
- Exception
BigDecimal decrypt(BigDecimal encryptedNumber, String password)
encryptedNumber
- password
- Exception
void decrypt(File encryptedFile, String password, File trgtFile) throws FileNotFoundException, IOException
encryptedFile
- password
- trgtFile
- Exception
FileNotFoundException
IOException
Copyright © 2019. All rights reserved.