ants.p2p.query.security
Class SimmetricProvider

java.lang.Object
  extended by ants.p2p.query.security.SimmetricProvider

public class SimmetricProvider
extends java.lang.Object


Field Summary
static java.lang.String cipher
           
static int cipherKeySize
           
 
Constructor Summary
SimmetricProvider()
           
 
Method Summary
static byte[] decrypt(java.lang.String sessionKey, byte[] message)
           
static byte[] encrypt(java.lang.String sessionKey, byte[] message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cipher

public static final java.lang.String cipher
See Also:
Constant Field Values

cipherKeySize

public static final int cipherKeySize
See Also:
Constant Field Values
Constructor Detail

SimmetricProvider

public SimmetricProvider()
Method Detail

encrypt

public static byte[] encrypt(java.lang.String sessionKey,
                             byte[] message)

decrypt

public static byte[] decrypt(java.lang.String sessionKey,
                             byte[] message)