org.xwiki.crypto.passwd
Interface PasswordCryptoServiceConfiguration

All Known Implementing Classes:
DefaultPasswordCryptoServiceConfiguration

@ComponentRole
public interface PasswordCryptoServiceConfiguration

The configuration for the password based cryptography service.

Version:
$Id$

Method Summary
 java.lang.Class<? extends PasswordCiphertext> getCipherClass()
           
 java.lang.Class<? extends KeyDerivationFunction> getKeyDerivationFunctionClassForEncryption()
           
 java.lang.Class<? extends KeyDerivationFunction> getKeyDerivationFunctionClassForPasswordVerification()
           
 java.util.Properties getKeyDerivationFunctionPropertiesForEncryption()
           
 java.util.Properties getKeyDerivationFunctionPropertiesForPasswordVerification()
           
 java.lang.Class<? extends PasswordVerificationFunction> getPasswordVerificationFunctionClass()
           
 

Method Detail

getCipherClass

java.lang.Class<? extends PasswordCiphertext> getCipherClass()
Returns:
the type of cipher to use for encryption.

getKeyDerivationFunctionClassForEncryption

java.lang.Class<? extends KeyDerivationFunction> getKeyDerivationFunctionClassForEncryption()
Returns:
the type of key derivation function to use for encryption.

getKeyDerivationFunctionPropertiesForEncryption

java.util.Properties getKeyDerivationFunctionPropertiesForEncryption()
Returns:
the Properties for initializing the KeyDerivationFunction used for encryption.

getPasswordVerificationFunctionClass

java.lang.Class<? extends PasswordVerificationFunction> getPasswordVerificationFunctionClass()
Returns:
the type of password validation function to use for protecting user passwords.

getKeyDerivationFunctionClassForPasswordVerification

java.lang.Class<? extends KeyDerivationFunction> getKeyDerivationFunctionClassForPasswordVerification()
Returns:
the type of key derivation function to use for password verification.

getKeyDerivationFunctionPropertiesForPasswordVerification

java.util.Properties getKeyDerivationFunctionPropertiesForPasswordVerification()
Returns:
the Properties for initializing the key derivation function used for password verification.


Copyright © 2004-2011 XWiki. All Rights Reserved.