Menu

#26 Cipher - Interface enhancement - FQCN customizations

version-2.1.0
open
None
5
2015-08-21
2015-08-21
adymlincoln
No

We need to add a new getter/setter to the IJBJFPluginCipher Interface that allows you to set and get a Fully Qualified Class Name to a Java class that handles the decrypt/encrypt of various text/string values.

The user can then setup a custom cipher service to encrypt/decrypt text using their own algorithms and/or keys. In some cases, the cipher class may be handed to them as a java jarfile, meaning they have no way of knowing what or how the cipher alrogithm works.

com.their.cipher.CipherClass
encrypt()
decrypt()

org.jbjf.model.IJBJFPluginCipher
getFQCNCipher ()
setFQCNCipher ( fqcnCipher )
encryptString ( String clearText )
decryptString ( String cipherText )

adym

Discussion

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB