public class TTPAcquisitionMechanism extends AAcquisitionMechanism
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Random |
rnd
The random generator.
|
protected jadex.bridge.IComponentIdentifier |
ttpcid
The component id of the trusted third party.
|
protected jadex.bridge.service.types.security.ISecurityService |
ttpsecser
The security service of the ttp.
|
protected boolean |
verify
Must ttp be verify (i.e.
|
secser| Constructor and Description |
|---|
TTPAcquisitionMechanism()
Create a new mechanism.
|
TTPAcquisitionMechanism(java.lang.String ttpname)
Create a new mechanism.
|
| Modifier and Type | Method and Description |
|---|---|
jadex.commons.future.IFuture<java.security.cert.Certificate> |
acquireCertificate(java.lang.String name)
Acquire a certificate.
|
jadex.bridge.service.types.security.MechanismInfo |
getMechanismInfo()
Get the mechanism info for the gui.
|
jadex.commons.Properties |
getProperties()
Get the properties of the mechanism.
|
protected jadex.commons.future.IFuture<jadex.bridge.service.types.security.ISecurityService> |
getTTPSecurityService()
Get the security service of the ttp.
|
void |
setParameterValue(java.lang.String name,
java.lang.Object value)
Set a mechanism parameter value.
|
void |
setProperties(jadex.commons.Properties props)
Set the properties of the mechanism.
|
void |
setTTPCid(jadex.bridge.IComponentIdentifier ttpcid)
Set the ttpcid.
|
void |
setverify(boolean verify)
Set the verify.
|
protected jadex.commons.future.IFuture<java.lang.Void> |
verifyTTP(jadex.bridge.service.types.security.ISecurityService ss) |
getSecurityService, initprotected jadex.bridge.IComponentIdentifier ttpcid
protected boolean verify
protected jadex.bridge.service.types.security.ISecurityService ttpsecser
protected java.util.Random rnd
public TTPAcquisitionMechanism()
public TTPAcquisitionMechanism(java.lang.String ttpname)
public jadex.commons.future.IFuture<java.security.cert.Certificate> acquireCertificate(java.lang.String name)
AAcquisitionMechanismacquireCertificate in class AAcquisitionMechanismname - The platform prefix of the target.public jadex.bridge.service.types.security.MechanismInfo getMechanismInfo()
getMechanismInfo in class AAcquisitionMechanismpublic void setParameterValue(java.lang.String name,
java.lang.Object value)
setParameterValue in class AAcquisitionMechanismname - The mechanism name.value - The mechanism value.protected jadex.commons.future.IFuture<jadex.bridge.service.types.security.ISecurityService> getTTPSecurityService()
protected jadex.commons.future.IFuture<java.lang.Void> verifyTTP(jadex.bridge.service.types.security.ISecurityService ss)
public void setTTPCid(jadex.bridge.IComponentIdentifier ttpcid)
ttpcid - The ttpcid to set.public void setverify(boolean verify)
verify - The verify to set.public jadex.commons.Properties getProperties()
getProperties in class AAcquisitionMechanismpublic void setProperties(jadex.commons.Properties props)
setProperties in class AAcquisitionMechanism