net.java.sip.communicator.impl.media.keyshare
Class ZRTPKeyProvider
java.lang.Object
net.java.sip.communicator.impl.media.keyshare.ZRTPKeyProvider
- All Implemented Interfaces:
- KeyProviderAlgorithm
public class ZRTPKeyProvider
- extends Object
- implements KeyProviderAlgorithm
ZRTPProvider class implements KeyProvider interface.
Used to activate the ZRTPConnector creation.
Also could be used to provide additional info.
(Originally the interface contained setter and getter methods for keys
and other cryptographic parameters but this were removed due to
redundancy regarding the fact these are partial provided already inside
directly in the SRTPTransformEngine class.
The ZRTPConnector originally implemented the interface to have direct
access to these as a ZRTPProvider.
It might still be a viable option.)
- 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 |
ZRTPKeyProvider
public ZRTPKeyProvider(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.