Uses of Class
org.silverpeas.core.security.encryption.cipher.CipherKey
-
Packages that use CipherKey Package Description org.silverpeas.core.security.encryption Provides the Silverpeas Cryptography API that is based on some security and cryptography tiers libraries (as well on the Java Cryptography API).org.silverpeas.core.security.encryption.cipher -
-
Uses of CipherKey in org.silverpeas.core.security.encryption
Methods in org.silverpeas.core.security.encryption that return CipherKey Modifier and Type Method Description protected static CipherKey
DefaultContentEncryptionService. getActualCipherKey()
Gets the actual cipher key to use in the content encryption/decryption.protected static CipherKey
DefaultContentEncryptionService. getPreviousCipherKey()
Gets the previous cipher key that was used in the content encryption/decryption.Methods in org.silverpeas.core.security.encryption with parameters of type CipherKey Modifier and Type Method Description protected static Map<String,String>
DefaultContentEncryptionService. decryptContent(Map<String,String> encryptedContent, Cipher cipher, CipherKey key)
Decrypts the specified content by using the specified cipher with the specified cipher key.protected static Map<String,String>
DefaultContentEncryptionService. encryptContent(Map<String,String> content, Cipher cipher, CipherKey key)
Encrypts the specified content by using the specified cipher with the specified cipher key. -
Uses of CipherKey in org.silverpeas.core.security.encryption.cipher
Methods in org.silverpeas.core.security.encryption.cipher that return CipherKey Modifier and Type Method Description static CipherKey
CipherKey. aKeyFromBase64Text(String base64Key)
Constructs a new cipher key from the specified base64 representation of the key.static CipherKey
CipherKey. aKeyFromBinary(byte[] binaryKey)
Constructs a new cipher key from the specified binary representation of the key.static CipherKey
CipherKey. aKeyFromFilePath(String path)
Constructs a new cipher key from the path of the file in which is stored the key.static CipherKey
CipherKey. aKeyFromHexText(String hexKey)
Constructs a new cipher key from the specified hexadecimal representation of the key.CipherKey
BlockCipherWithPadding. generateCipherKey()
CipherKey
BlowfishCipher. generateCipherKey()
CipherKey
Cipher. generateCipherKey()
Generates randomly a cipher key that can be used in the encryption and in the decryption of data with this cipher.CipherKey
CMSCipher. generateCipherKey()
This operation isn't yet supported by this cipher.Methods in org.silverpeas.core.security.encryption.cipher with parameters of type CipherKey Modifier and Type Method Description String
BlockCipherWithPadding. decrypt(byte[] encryptedData, CipherKey keyCode)
Decrypt the specified code or cipher by using the specified cryptographic key.String
BlowfishCipher. decrypt(byte[] cipher, CipherKey keyCode)
String
Cipher. decrypt(byte[] encryptedData, CipherKey keyCode)
Decrypt the specified code or cipher by using the specified cryptographic key.String
CMSCipher. decrypt(byte[] encryptedData, CipherKey keyFilePath)
Decrypt the specified code or cipher by using the specified cryptographic key.byte[]
BlockCipherWithPadding. encrypt(String data, CipherKey keyCode)
Encrypts the specified data by using the specified cryptographic key.byte[]
BlowfishCipher. encrypt(String data, CipherKey keyCode)
byte[]
Cipher. encrypt(String data, CipherKey keyCode)
Encrypts the specified data by using the specified cryptographic key.byte[]
CMSCipher. encrypt(String data, CipherKey keyFilePath)
Encrypts the specified data by using the specified cryptographic key.
-