@Ignore @Test public void encryptValueTest() throws IOException { log.info( encryptionServiceImpl.encryptValue(1, "pb", "Normal") ); }
public String encryptValue(Object plaintext, String tenantId, String type) throws IOException { return encryptValue(new ArrayList<>(Collections.singleton(plaintext)), tenantId, type).get(0); }
EncryptionServiceImpl implements EncryptionService { public String encryptValue(Object plaintext, String tenantId, String type) throws IOException { return encryptValue(new ArrayList<>(Collections.singleton(plaintext)), tenantId, type).get(0); } }
EncryptionServiceImpl implements EncryptionService { public String encryptValue(Object plaintext, String tenantId, String type) throws IOException { return encryptValue(new ArrayList<>(Collections.singleton(plaintext)), tenantId, type).get(0); }  }
EncryptionServiceImpl implements EncryptionService { public String encryptValue(Object plaintext, String tenantId, String type) throws IOException { return encryptValue(new ArrayList<>(Collections.singleton(plaintext)), tenantId, type).get(0); }  JsonNode encryptJson(Object plaintextJson, String key, String tenantId); P encryptJson(Object plaintextJson, String key, String tenantId, Class<E> valueType); JsonNode decryptJson(Object ciphertextJson, Map<Attribute, AccessType> attributeAccessTypeMap, User user); JsonNode decryptJson(Object ciphertextJson, String key, User user); P decryptJson(Object ciphertextJson, String key, User user, Class<E> valueType); String encryptValue(Object plaintext, String tenantId, String type); List<String> encryptValue(List<Object> plaintext, String tenantId, String type); }
EncryptionServiceImpl implements EncryptionService { public String encryptValue(Object plaintext, String tenantId, String type) throws IOException { return encryptValue(new ArrayList<>(Collections.singleton(plaintext)), tenantId, type).get(0); }  JsonNode encryptJson(Object plaintextJson, String key, String tenantId); P encryptJson(Object plaintextJson, String key, String tenantId, Class<E> valueType); JsonNode decryptJson(Object ciphertextJson, Map<Attribute, AccessType> attributeAccessTypeMap, User user); JsonNode decryptJson(Object ciphertextJson, String key, User user); P decryptJson(Object ciphertextJson, String key, User user, Class<E> valueType); String encryptValue(Object plaintext, String tenantId, String type); List<String> encryptValue(List<Object> plaintext, String tenantId, String type);  }