public class EgovGeneralCryptoServiceImpl extends java.lang.Object implements EgovGeneralCryptoService
Constructor and Description |
---|
EgovGeneralCryptoServiceImpl() |
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
decrypt(java.math.BigDecimal encryptedNumber,
java.lang.String password)
BigDecimal 복호화 처리.
|
byte[] |
decrypt(byte[] encryptedData,
java.lang.String password)
복호화 처리.
|
void |
decrypt(java.io.File encryptedFile,
java.lang.String password,
java.io.File trgtFile)
파일 복호화 처리.
|
java.math.BigDecimal |
encrypt(java.math.BigDecimal number,
java.lang.String password)
BigDecimal 암호화 처리.
|
byte[] |
encrypt(byte[] data,
java.lang.String password)
암호화 처리.
|
void |
encrypt(java.io.File srcFile,
java.lang.String password,
java.io.File trgtFile)
파일 암호화 처리.
|
java.lang.String |
getAlgorithm()
암복호화 알고리즘.
|
void |
setAlgorithm(java.lang.String algorithm)
암복호화 알고리즘.
|
void |
setBlockSize(int blockSize)
파일처리시 사용되는 blockSize 지정.
|
void |
setPasswordEncoder(EgovPasswordEncoder passwordEncoder)
패스워드 암호화 지정.
|
public java.lang.String getAlgorithm()
EgovGeneralCryptoService
getAlgorithm
in interface EgovGeneralCryptoService
public void setAlgorithm(java.lang.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, java.lang.String password)
EgovCryptoService
encrypt
in interface EgovCryptoService
public java.math.BigDecimal encrypt(java.math.BigDecimal number, java.lang.String password)
EgovCryptoService
encrypt
in interface EgovCryptoService
public void encrypt(java.io.File srcFile, java.lang.String password, java.io.File trgtFile) throws java.io.FileNotFoundException, java.io.IOException
EgovCryptoService
encrypt
in interface EgovCryptoService
java.io.FileNotFoundException
java.io.IOException
public byte[] decrypt(byte[] encryptedData, java.lang.String password)
EgovCryptoService
decrypt
in interface EgovCryptoService
public java.math.BigDecimal decrypt(java.math.BigDecimal encryptedNumber, java.lang.String password)
EgovCryptoService
decrypt
in interface EgovCryptoService
public void decrypt(java.io.File encryptedFile, java.lang.String password, java.io.File trgtFile) throws java.io.FileNotFoundException, java.io.IOException
EgovCryptoService
decrypt
in interface EgovCryptoService
java.io.FileNotFoundException
java.io.IOException
Copyright © 2019. All Rights Reserved.