com.aelitis.azureus.core.security
Interface CryptoManager

All Known Implementing Classes:
CryptoManagerImpl

public interface CryptoManager


Nested Class Summary
static interface CryptoManager.SRPParameters
           
 
Field Summary
static String CRYPTO_CONFIG_PREFIX
           
static int HANDLER_ECC
           
static int[] HANDLERS
           
 
Method Summary
 void addKeyListener(CryptoManagerKeyListener listener)
           
 void addPasswordHandler(CryptoManagerPasswordHandler handler)
           
 void clearPasswords()
           
 void clearPasswords(int password_handler_type)
           
 byte[] deobfuscate(byte[] data)
           
 CryptoHandler getECCHandler()
           
 byte[] getSecureID()
           
 CryptoManager.SRPParameters getSRPParameters()
           
 byte[] obfuscate(byte[] data)
           
 void removeKeyListener(CryptoManagerKeyListener listener)
           
 void removePasswordHandler(CryptoManagerPasswordHandler handler)
           
 void setSRPParameters(byte[] salt, BigInteger verifier)
           
 

Field Detail

CRYPTO_CONFIG_PREFIX

static final String CRYPTO_CONFIG_PREFIX
See Also:
Constant Field Values

HANDLER_ECC

static final int HANDLER_ECC
See Also:
Constant Field Values

HANDLERS

static final int[] HANDLERS
Method Detail

getSecureID

byte[] getSecureID()

getECCHandler

CryptoHandler getECCHandler()

obfuscate

byte[] obfuscate(byte[] data)

deobfuscate

byte[] deobfuscate(byte[] data)

clearPasswords

void clearPasswords()

clearPasswords

void clearPasswords(int password_handler_type)

addPasswordHandler

void addPasswordHandler(CryptoManagerPasswordHandler handler)

removePasswordHandler

void removePasswordHandler(CryptoManagerPasswordHandler handler)

addKeyListener

void addKeyListener(CryptoManagerKeyListener listener)

removeKeyListener

void removeKeyListener(CryptoManagerKeyListener listener)

setSRPParameters

void setSRPParameters(byte[] salt,
                      BigInteger verifier)

getSRPParameters

CryptoManager.SRPParameters getSRPParameters()