SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.media.keyshare
Class DummyKeyProvider

java.lang.Object
  extended by net.java.sip.communicator.impl.media.keyshare.DummyKeyProvider
All Implemented Interfaces:
KeyProviderAlgorithm

public class DummyKeyProvider
extends Object
implements KeyProviderAlgorithm

DummyProvider class implements KeyProvider interface. Used only for testing - activates the hardcoded keys behaviour for SRTP traffic.

Author:
Emanuel Onica (eonica@info.uaic.ro)

Nested Class Summary
 
Nested classes/interfaces inherited from interface net.java.sip.communicator.impl.media.keyshare.KeyProviderAlgorithm
KeyProviderAlgorithm.ProviderType
 
Constructor Summary
DummyKeyProvider(int priority)
           
 
Method Summary
 int getPriority()
          Gets this algorithm's priority of usage in handling the key management
 KeyProviderAlgorithm.ProviderType getProviderType()
          Obtains the current provider type for the class implementing the interface
 void setPriority(int priority)
          Sets this algorithm's priority of usage in handling the key management
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyKeyProvider

public DummyKeyProvider(int priority)
Method Detail

getProviderType

public KeyProviderAlgorithm.ProviderType getProviderType()
Description copied from interface: KeyProviderAlgorithm
Obtains the current provider type for the class implementing the interface

Specified by:
getProviderType in interface KeyProviderAlgorithm
Returns:
the provider type

getPriority

public int getPriority()
Description copied from interface: KeyProviderAlgorithm
Gets this algorithm's priority of usage in handling the key management

Specified by:
getPriority in interface KeyProviderAlgorithm
Returns:
the priority of usage in handling the key management

setPriority

public void setPriority(int priority)
Description copied from interface: KeyProviderAlgorithm
Sets this algorithm's priority of usage in handling the key management

Specified by:
setPriority in interface KeyProviderAlgorithm
Parameters:
priority - the priority of usage in handling the key management

SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.