final class SignerProperty
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private org.osgi.framework.Bundle |
bundle |
private java.lang.String |
pattern |
Constructor and Description |
---|
SignerProperty(org.osgi.framework.Bundle bundle)
Used by the permission implies method to build the properties for a
filter match.
|
SignerProperty(java.lang.String pattern)
String constructor used by the filter matching algorithm to construct a
SignerProperty from the attribute value in a filter expression.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Used by the filter matching algorithm.
|
int |
hashCode()
Since the equals method does not obey the general equals contract, this
method cannot generate hash codes which obey the equals contract.
|
(package private) boolean |
isBundleSigned()
Check if the bundle is signed.
|
private final org.osgi.framework.Bundle bundle
private final java.lang.String pattern
public SignerProperty(java.lang.String pattern)
pattern
- Attribute value in the filter expression.SignerProperty(org.osgi.framework.Bundle bundle)
bundle
- The bundle whose signers are to be matched.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- SignerProperty to compare against.public int hashCode()
hashCode
in class java.lang.Object
boolean isBundleSigned()