Modifier and Type | Method and Description |
---|---|
SystemID |
RemoteCallerContext.getSystem() |
Constructor and Description |
---|
LocalCallerContext(SystemID caller)
Creates a new caller context for the specified system.
|
RemoteCallerContext(SystemID system,
boolean secure) |
Modifier and Type | Field and Description |
---|---|
SystemID |
DeviceRegistryConfiguration.REGISTRY_SYSTEM
The system id of the global registry.
|
Modifier and Type | Method and Description |
---|---|
SystemID |
AbstractSignature.getSource()
Returns the source of the signature.
|
SystemID |
AbstractSignature.getTarget()
Returns the target of the signature.
|
static SystemID |
PseudonymUtils.toSystemID(Pseudonym pseudonym)
Converts the Pseudonym to a
SystemID . |
Modifier and Type | Method and Description |
---|---|
void |
GAMBASKeyStore.addKey(SystemID system,
ISymmetricKey hmacSymmetricKey,
ISymmetricKey aesSymmetricKey,
long time) |
boolean |
GAMBASKeyStore.createKey(SystemID system) |
static Pseudonym |
PseudonymUtils.fromSystemID(SystemID systemID)
Creates a pseudonym from a
SystemID . |
AbstractCertificate |
GAMBASKeyStore.getCertificate(SystemID id) |
ISymmetricKey |
GAMBASKeyStore.getEncryptionKey(SystemID system) |
ISymmetricKey |
GAMBASKeyStore.getSignatureKey(SystemID system) |
boolean |
GAMBASKeyStore.removeKey(SystemID system)
Removes the key from the key storage
GAMBASKeyStore.keyStorage . |
Constructor and Description |
---|
AbstractSignature(long timestamp,
SystemID source) |
AbstractSignature(long timestamp,
SystemID source,
SystemID target)
Creates a new signature at a particular point in time for
a certain source and target.
|
AsymmetricSignature(long timestamp,
SystemID source)
Creates a new asymmetric signature with the specified creation time,
source and target system.
|
AsymmetricSignature(long timestamp,
SystemID source,
SystemID target)
Creates a new asymmetric signature with the specified creation time,
source and target system.
|
SymmetricSignature(long timestamp,
SystemID source,
SystemID target)
Creates a new symmetric signature with a particular timestamp,
source and target.
|
Modifier and Type | Method and Description |
---|---|
SystemID |
Lease.getCreator()
Returns the creator system of the lease.
|
Modifier and Type | Method and Description |
---|---|
void |
LeaseRegistryProxy.remove(SystemID system,
Lease lease)
Proxy method that creates and transfers an invocation for the interface method.
|
void |
LeaseRegistry.remove(SystemID system,
Lease lease)
Called by a remote lease registry to signal that a certain lease created
by this registry has been removed due to a call to the remove method.
|
void |
ILeaseRegistry.remove(SystemID system,
Lease lease)
Releases the observer that observes the specified object
identifier on the specified system.
|
void |
LeaseRegistryProxy.unhook(SystemID system,
Lease lease)
Proxy method that creates and transfers an invocation for the interface method.
|
void |
LeaseRegistry.unhook(SystemID system,
Lease lease)
Called by a remote lease registry whenever the remote system is no
longer interested in a local lease.
|
void |
ILeaseRegistry.unhook(SystemID system,
Lease lease)
Tells the local lease listener that the specified system
has unhooked the lease and that it might be released.
|
java.util.Vector |
LeaseRegistryProxy.update(SystemID system,
java.util.Vector leases)
Proxy method that creates and transfers an invocation for the interface method.
|
java.util.Vector |
LeaseRegistry.update(SystemID system,
java.util.Vector leases)
Called by a remote system that is interested on a number of leases
created by this lease registry.
|
java.util.Vector |
ILeaseRegistry.update(SystemID system,
java.util.Vector leases)
Called by a remote lease registry.
|
Modifier and Type | Method and Description |
---|---|
SystemID |
ISymmetricKey.getCorrespondingSystemID() |
SystemID |
SecureSkeleton.getSource()
Determines the source of a call using the current thread
context.
|
Modifier and Type | Method and Description |
---|---|
void |
IKeyStore.addKey(SystemID system,
ISymmetricKey hmacSymmetricKey,
ISymmetricKey aesSymmetricKey,
long time)
Adds a session key to the key store.
|
boolean |
IKeyStore.createKey(SystemID system)
Creates a new session key for the specified system.
|
ICertificate |
IKeyStore.getCertificate(SystemID id)
Returns the certificate that has the specified system id.
|
ISymmetricKey |
IKeyStore.getEncryptionKey(SystemID system)
Returns the encryption key for the specified system or null
if there is none.
|
ISymmetricKey |
IKeyStore.getSignatureKey(SystemID system)
Returns the signature key for the specified system or null
if there is none.
|
boolean |
IKeyStore.removeKey(SystemID system)
Removes the session key for the specified system from the store.
|
Modifier and Type | Method and Description |
---|---|
SystemID |
HMACSymmetricKey.getCorrespondingSystemID() |
SystemID |
AESSymmetricKey.getCorrespondingSystemID() |
Constructor and Description |
---|
AESSymmetricKey(byte[] key,
long timestamp,
SystemID systemID)
Creates a new AES key that can be used for encryption or decryption
|
HMACSymmetricKey(byte[] key,
long timestamp,
SystemID systemID)
Creates a new symmetric signing key out of a byte array
|
Modifier and Type | Field and Description |
---|---|
static SystemID |
SystemID.SYSTEM
The id of the local system.
|
Modifier and Type | Method and Description |
---|---|
SystemID[] |
PluginManager.getDevices()
Returns the devices that are present in the environment.
|
SystemID[] |
DeviceRegistry.getDevices()
Returns an array of system id that has been discovered recently.
|
SystemID[] |
DeviceRegistry.getDevices(ObjectID oid)
Returns an array of system ids that have been discovered recently
and that contain the specified well known service.
|
SystemID[] |
DeviceRegistry.getDevices(ObjectID[] ids)
Returns an array of system ids that consists of systems that contain
the specified well known services.
|
SystemID[] |
DeviceRegistry.getRemoteDevices()
Returns an array of remote system id that has been discovered
recently.
|
SystemID[] |
DeviceRegistry.getRemoteDevices(ObjectID oid)
Returns an array of remote system ids that have been discovered
recently and that contain the specified well known service.
|
SystemID[] |
DeviceRegistry.getRemoteDevices(ObjectID[] ids)
Returns an array of remote system ids that consists of systems that
contain the specified well known services.
|
SystemID |
ReferenceID.getSystem()
Returns the location of the referenced object.
|
SystemID |
DeviceDescription.getSystemID()
Returns the system id of the device description.
|
SystemID |
PluginManager.Session.getTarget()
Returns the target of the session.
|
SystemID |
ISession.getTarget()
Returns the target of the session.
|
static SystemID |
SystemID.valueOf(byte[] bytes)
Converts a compact byte representation of a system id
into a system id object.
|
Modifier and Type | Method and Description |
---|---|
int |
SystemID.compareTo(SystemID id)
Compares this system id with the specified system id and returns
0 if this id equals the system id, returns 1 if this id is larger
than the system id and -1 if this id is smaller than the system id.
|
boolean |
DeviceRegistry.containsDevice(SystemID id)
Determines whether the specified device is currently contained in the
set of devices.
|
ISession |
PluginManager.createSession(SystemID target,
short ability)
Creates a session to communicate with the specified target.
|
DeviceDescription |
PluginManager.getDeviceDescription(SystemID system)
Returns the device description of the local device.
|
DeviceDescription |
DeviceRegistry.getDeviceDescription(SystemID id)
Returns the device description of the system with the specified id.
|
PluginDescription[] |
PluginManager.getPluginDescriptions(SystemID system)
Returns the plug-in descriptions of the specified device.
|
PluginDescription[] |
DeviceRegistry.getPluginDescriptions(SystemID systemID)
Returns a set of plug-in descriptions which have been registered for
a given system.
|
PluginDescription[] |
DeviceRegistry.getPluginDescriptions(SystemID source,
SystemID target)
Returns the plug-in descriptions of the target system that are compatible
with the source system.
|
void |
DeviceRegistry.registerPlugin(SystemID id,
PluginDescription plugin)
Registers the specified plug-in description of the specified device.
|
void |
PluginManager.registerPlugin(SystemID id,
PluginDescription plugin,
long ttl)
Registers the specified plug-in description of the specified remote device.
|
void |
DeviceRegistry.registerPlugin(SystemID id,
PluginDescription plugin,
long ttl)
Registers the specified plug-in description of the specified device.
|
void |
DeviceRegistry.removeDevice(SystemID id)
Removes the device description of the specified system from the list
of permanently registered device descriptions.
|
void |
DeviceRegistry.removePlugin(SystemID id,
PluginDescription plugin)
Removes the specified plug-in from the set of permanently registered
plug-ins.
|
void |
ReferenceID.setSystem(SystemID system)
Sets the location of the referenced object.
|
Constructor and Description |
---|
DeviceDescription(SystemID systemID,
java.lang.String name,
short type)
Creates a new device description for the specified device.
|
PluginManager.Session(SystemID target,
short ability,
boolean remote,
boolean incoming)
Creates a new session object that denotes a plug-in with the
specified ability.
|
ReferenceID(SystemID system)
Creates a new reference that points to the specified system.
|
ReferenceID(SystemID system,
ObjectID object)
Creates a new reference to the specified object at
the specified location.
|
Modifier and Type | Method and Description |
---|---|
SystemID[] |
IPluginManager.getDevices()
Returns the system ids of systems that are currently available in
the environment.
|
Modifier and Type | Method and Description |
---|---|
ISession |
ISemanticManager.createSession(SystemID target,
short ability)
Creates a session to communicate with the specified target.
|
DeviceDescription |
IPluginManager.getDeviceDescription(SystemID system)
Returns the device description of the specified device.
|
PluginDescription[] |
IPluginManager.getPluginDescriptions(SystemID system)
Returns all plug-in descriptions of all plug-ins that are currently visible.
|
void |
IDiscoveryManager.registerPlugin(SystemID id,
PluginDescription plugin,
long ttl)
Registers the specified plug-in description of the specified device.
|