Uses of Class
org.silverpeas.core.security.encryption.cipher.CryptoException
-
Packages that use CryptoException Package Description org.silverpeas.core.contribution.content.form.record org.silverpeas.core.contribution.template.publication 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 org.silverpeas.web.templatedesigner.control -
-
Uses of CryptoException in org.silverpeas.core.contribution.content.form.record
Methods in org.silverpeas.core.contribution.content.form.record with parameters of type CryptoException Modifier and Type Method Description void
FormEncryptionContentIterator. onError(Map<String,String> content, CryptoException ex)
Methods in org.silverpeas.core.contribution.content.form.record that throw CryptoException Modifier and Type Method Description void
GenericRecordSetManager. decryptData(String templateName)
void
GenericRecordSetManager. encryptData(String templateName)
-
Uses of CryptoException in org.silverpeas.core.contribution.template.publication
Methods in org.silverpeas.core.contribution.template.publication that throw CryptoException Modifier and Type Method Description void
PublicationTemplateManager. savePublicationTemplate(PublicationTemplate template)
Save a publicationTemplate definition from java objects to xml file -
Uses of CryptoException in org.silverpeas.core.security.encryption
Subclasses of CryptoException in org.silverpeas.core.security.encryption Modifier and Type Class Description class
CipherKeyUpdateException
Exception that is thrown when an error has occurred while updating a cipher key.Methods in org.silverpeas.core.security.encryption with parameters of type CryptoException Modifier and Type Method Description void
EncryptionContentIterator. onError(Map<String,String> content, CryptoException ex)
An error occurred while processing the last content returned by this iterator.Methods in org.silverpeas.core.security.encryption that throw CryptoException Modifier and Type Method Description String[]
ContentEncryptionService. decryptContent(String... encryptedContentParts)
Decrypts the specified encrypted content by using the encryption key that was set with theContentEncryptionService.updateCipherKey(String)
method.Map<String,String>
ContentEncryptionService. decryptContent(Map<String,String> encryptedContent)
Decrypts the specified encrypted content by using the encryption key that was set with theContentEncryptionService.updateCipherKey(String)
method.String[]
DefaultContentEncryptionService. decryptContent(String... encryptedContentParts)
Decrypts the specified encrypted content by using the encryption key that was set with theDefaultContentEncryptionService.updateCipherKey(String)
method.Map<String,String>
DefaultContentEncryptionService. decryptContent(Map<String,String> encryptedContent)
Decrypts the specified encrypted content by using the encryption key that was set with theDefaultContentEncryptionService.updateCipherKey(String)
method.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.void
ContentEncryptionService. decryptContents(EncryptionContentIterator... iterators)
Decrypts the encrypted contents provided by the specified iterators.void
DefaultContentEncryptionService. decryptContents(EncryptionContentIterator... iterators)
Decrypts the encrypted contents provided by the specified iterators.String[]
ContentEncryptionService. encryptContent(String... contentParts)
Encrypts the specified content by using the encryption key that was set with theContentEncryptionService.updateCipherKey(String)
method.Map<String,String>
ContentEncryptionService. encryptContent(Map<String,String> content)
Encrypts the specified content by using the encryption key that was set with theContentEncryptionService.updateCipherKey(String)
method.String[]
DefaultContentEncryptionService. encryptContent(String... contentParts)
Encrypts the specified content by using the encryption key that was set with theDefaultContentEncryptionService.updateCipherKey(String)
method.Map<String,String>
DefaultContentEncryptionService. encryptContent(Map<String,String> content)
Encrypts the specified content by using the encryption key that was set with theDefaultContentEncryptionService.updateCipherKey(String)
method.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.void
ContentEncryptionService. encryptContents(EncryptionContentIterator... iterators)
Encrypts the contents provided by the specified iterators.void
DefaultContentEncryptionService. encryptContents(EncryptionContentIterator... iterators)
Encrypts the contents provided by the specified iterators.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.void
ContentEncryptionService. renewCipherOfContents(EncryptionContentIterator... iterators)
Renews explicitly the cipher of the contents provided by the specified iterators.void
DefaultContentEncryptionService. renewCipherOfContents(EncryptionContentIterator... iterators)
Renews explicitly the cipher of the contents provided by the specified iterators.void
ContentEncryptionService. updateCipherKey(String key)
Updates the key to use to encrypt and to decrypt the enciphered content.void
DefaultContentEncryptionService. updateCipherKey(String key)
Updates the key to use to encrypt and to decrypt the enciphered content. -
Uses of CryptoException in org.silverpeas.core.security.encryption.cipher
Methods in org.silverpeas.core.security.encryption.cipher that throw CryptoException Modifier and Type Method Description void
PKS12KeyStoreWallet. addKeyStore(String keyFilePath, String password)
Adds the PKS#12 keys contained in the specified file that is protected with the specified password.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.static byte[][]
BlockCipherWithPadding. extractEncryptionData(byte[] encryptedData, BlockCipherWithPadding cipher)
A helper method to retrieve both the ciphertext and the IV (Initialization Vector) from the encrypted data that was produced by the specified block cipher instance.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.PKS12KeyStore
PKS12KeyStoreWallet. getKeyStore(String keyFilePath)
Gets the PKS#12 key store identified by the specified key store file and loaded in this wallet.Constructors in org.silverpeas.core.security.encryption.cipher that throw CryptoException Constructor Description PKS12KeyStore(String p12FilePath, String password)
Constructs a new PKS#12 key store from the specified key store file. -
Uses of CryptoException in org.silverpeas.web.templatedesigner.control
Methods in org.silverpeas.web.templatedesigner.control that throw CryptoException Modifier and Type Method Description boolean
TemplateDesignerSessionController. createTemplate(PublicationTemplate template)
Creates the given template into repositories.void
TemplateDesignerSessionController. saveTemplate()
void
TemplateDesignerSessionController. updateTemplate(PublicationTemplateImpl updatedTemplate)
-