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()
EgovGeneralCryptoService
getAlgorithm
in interface EgovGeneralCryptoService
public void setAlgorithm(String algorithm)
EgovGeneralCryptoService
setAlgorithm
in interface EgovGeneralCryptoService
public void setPasswordEncoder(EgovPasswordEncoder passwordEncoder)
EgovCryptoService
setPasswordEncoder
in interface EgovCryptoService
public void setBlockSize(int blockSize)
EgovCryptoService
setBlockSize
in interface EgovCryptoService
public byte[] encrypt(byte[] data, String password)
EgovCryptoService
encrypt
in interface EgovCryptoService
public BigDecimal encrypt(BigDecimal number, String password)
EgovCryptoService
encrypt
in interface EgovCryptoService
public void encrypt(File srcFile, String password, File trgtFile) throws FileNotFoundException, IOException
EgovCryptoService
encrypt
in interface EgovCryptoService
FileNotFoundException
IOException
public byte[] decrypt(byte[] encryptedData, String password)
EgovCryptoService
decrypt
in interface EgovCryptoService
public BigDecimal decrypt(BigDecimal encryptedNumber, String password)
EgovCryptoService
decrypt
in interface EgovCryptoService
public void decrypt(File encryptedFile, String password, File trgtFile) throws FileNotFoundException, IOException
EgovCryptoService
decrypt
in interface EgovCryptoService
FileNotFoundException
IOException
Copyright © 2019. All rights reserved.