net.java.sip.communicator.impl.media.keyshare
Class DummyKeyProvider
java.lang.Object
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)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyKeyProvider
public DummyKeyProvider(int priority)
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.
Distributable under LGPL license.