FileDocCategorySizeDatePackage
AZPeerIdentityManager.javaAPI DocAzureus 3.0.3.41550Thu Feb 09 19:42:50 GMT 2006com.aelitis.azureus.core.peermanager.utils

AZPeerIdentityManager

public class AZPeerIdentityManager extends Object

Fields Summary
private static byte[]
identity
Constructors Summary
Methods Summary
public static byte[]getAZPeerIdentity()

   
    if( identity == null || identity.length != 20 ) {
      identity = RandomUtils.generateRandomBytes( 20 );
      COConfigurationManager.setParameter( "az_identity", identity );
    }
  
    return identity;