net.sourceforge.jaulp.crypto.factories
Class SecretCryptorFactory

java.lang.Object
  extended by net.sourceforge.jaulp.crypto.factories.SecretCryptorFactory

public class SecretCryptorFactory
extends java.lang.Object

Factory for creating SecretCryptor objects.

Version:
1.0
Author:
Asterios Raptis

Constructor Summary
SecretCryptorFactory()
           
 
Method Summary
static SecretCryptor getInstance(java.lang.String type)
          Creates a SecretCryptor object with out a private key.
static SecretCryptor getInstance(java.lang.String type, java.lang.String privateKey)
          Creates a SecretCryptor object with out a private key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecretCryptorFactory

public SecretCryptorFactory()
Method Detail

getInstance

public static SecretCryptor getInstance(java.lang.String type)
Creates a SecretCryptor object with out a private key.

Parameters:
type - The type.
Returns:
Returns a new SecretCryptor object.

getInstance

public static SecretCryptor getInstance(java.lang.String type,
                                        java.lang.String privateKey)
Creates a SecretCryptor object with out a private key.

Parameters:
type - The type.
privateKey - The private key.
Returns:
Returns a new SecretCryptor object.


Copyright © 2010. All Rights Reserved.