public class DefaultSensitiveStringCodec extends Object implements SensitiveDataCodec<String>
| Constructor and Description |
|---|
DefaultSensitiveStringCodec() |
public String decode(Object secret) throws NoSuchPaddingException, NoSuchAlgorithmException, InvalidKeyException, BadPaddingException, IllegalBlockSizeException
decode in interface SensitiveDataCodec<String>NoSuchPaddingExceptionNoSuchAlgorithmExceptionInvalidKeyExceptionBadPaddingExceptionIllegalBlockSizeExceptionpublic Object encode(String secret) throws NoSuchPaddingException, NoSuchAlgorithmException, InvalidKeyException, BadPaddingException, IllegalBlockSizeException
Copyright © 2018 JBoss by Red Hat. All rights reserved.