Package com.bld.crypto.formatter
Class CryptoFormatter<T>
java.lang.Object
com.bld.crypto.formatter.CryptoFormatter<T>
- All Implemented Interfaces:
org.springframework.format.Formatter<T>,org.springframework.format.Parser<T>,org.springframework.format.Printer<T>
- Direct Known Subclasses:
CryptoAesFormatter,CryptoJksFormatter,CryptoPubKeyFormatter
public abstract class CryptoFormatter<T>
extends Object
implements org.springframework.format.Formatter<T>
-
Constructor Summary
ConstructorsConstructorDescriptionCryptoFormatter(com.fasterxml.jackson.databind.ObjectMapper objMapper, Class<T> fieldType) -
Method Summary
-
Constructor Details
-
CryptoFormatter
-
-
Method Details
-
print
- Specified by:
printin interfaceorg.springframework.format.Printer<T>
-
parse
- Specified by:
parsein interfaceorg.springframework.format.Parser<T>- Throws:
ParseException
-
encryptValue
-
decrypt
-