org.xwiki.crypto.passwd
Interface PasswordCryptoServiceConfiguration


@Role
public interface PasswordCryptoServiceConfiguration

The configuration for the password based cryptography service.

Version:
$Id: d13ebc32bc47086ae8d64771e1dd975f2a5cdd18 $

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

Method Detail

getCipherClass

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

getKeyDerivationFunctionClassForEncryption

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

getKeyDerivationFunctionPropertiesForEncryption

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

getPasswordVerificationFunctionClass

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

getKeyDerivationFunctionClassForPasswordVerification

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

getKeyDerivationFunctionPropertiesForPasswordVerification

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


Copyright © 2004-2013 XWiki. All Rights Reserved.