org.osgi.service.condpermadmin
Class BundleSignerCondition

java.lang.Object
  extended by org.osgi.service.condpermadmin.BundleSignerCondition

public class BundleSignerCondition
extends java.lang.Object


Method Summary
static Condition getCondition(Bundle bundle, ConditionInfo info)
          Constructs a Condition that tries to match the passed Bundle's certificates to the certficate pattern.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCondition

public static Condition getCondition(Bundle bundle,
                                     ConditionInfo info)
Constructs a Condition that tries to match the passed Bundle's certificates to the certficate pattern.

Parameters:
bundle - The Bundle being evaluated.
info - The ConditionInfo to construct the condition for. The args of the ConditionInfo specify a single String specifying the chain of distinguished names pattern to match against the signer of the Bundle.
Returns:
A Condition which checks the signers of the specified bundle.