Uses of Class
org.silverpeas.util.crypto.CipherKey

Packages that use CipherKey
com.silverpeas.util.security   
org.silverpeas.util.crypto Provides the Silverpeas Cryptography API that is based on some security and cryptography tiers libraries (as well on the Java Cryptography API). 
 

Uses of CipherKey in com.silverpeas.util.security
 

Methods in com.silverpeas.util.security that return CipherKey
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 com.silverpeas.util.security with parameters of type CipherKey
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.util.crypto
 

Methods in org.silverpeas.util.crypto that return CipherKey
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 Cipher.generateCipherKey()
          Generates randomly a cipher key that can be used in the encryption and in the decryption of data with this cipher.
 CipherKey BlockCipherWithPadding.generateCipherKey()
           
 CipherKey BlowfishCipher.generateCipherKey()
           
 CipherKey CMSCipher.generateCipherKey()
          This operation isn't yet supported by this cipher.
 

Methods in org.silverpeas.util.crypto with parameters of type CipherKey
 String Cipher.decrypt(byte[] encryptedData, CipherKey keyCode)
          Decrypt the specified code or cipher by using the specified cryptographic key.
 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 CMSCipher.decrypt(byte[] encryptedData, CipherKey keyFilePath)
          Decrypt the specified code or cipher by using the specified cryptographic key.
 byte[] Cipher.encrypt(String data, CipherKey keyCode)
          Encrypts the specified data 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[] CMSCipher.encrypt(String data, CipherKey keyFilePath)
          Encrypts the specified data by using the specified cryptographic key.
 



Copyright © 2016 Silverpeas. All Rights Reserved.