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

net.java.sip.communicator.impl.media.keyshare
Interface KeyProviderAlgorithm

All Known Implementing Classes:
DummyKeyProvider, ZRTPKeyProvider

public interface KeyProviderAlgorithm

KeyProvider interface defines the currently available provider types, and a method to obtain the set type for a provider. (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. It might still be a viable option.)

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

Nested Class Summary
static class KeyProviderAlgorithm.ProviderType
           
 
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
 

Method Detail

getProviderType

KeyProviderAlgorithm.ProviderType getProviderType()
Obtains the current provider type for the class implementing the interface

Returns:
the provider type

getPriority

int getPriority()
Gets this algorithm's priority of usage in handling the key management

Returns:
the priority of usage in handling the key management

setPriority

void setPriority(int priority)
Sets this algorithm's priority of usage in handling the key management

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.