|
Bees v0.5.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--bees.core.Capability | +--bees.core.AsymmetricSealFactory
Fields inherited from class bees.core.Capability |
DELETE_PERMISSION, id, INVALID_ID |
Constructor Summary | |
AsymmetricSealFactory()
|
Method Summary | |
SealPair |
create()
|
SealPair |
create(java.lang.String comment)
|
protected void |
fromBytes(byte[] flattened)
Bind this capability to the given object. |
void |
revoke()
Revoke access to the capability. |
java.lang.String |
toString()
|
Methods inherited from class bees.core.Capability |
checkPermission, clear, clonePermission, deleteCapability, equals, fromBytes, revokedPermission, revokePermission, revokePermissions, valid |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AsymmetricSealFactory()
Method Detail |
protected void fromBytes(byte[] flattened) throws java.lang.Exception
Capability
fromBytes
in class Capability
bees.core.Capability
flattened
- The object this capability gives access too.java.lang.Exception
- if anything goes wrong during initialization.public void revoke()
Capability
revoke
in class Capability
public SealPair create(java.lang.String comment)
public SealPair create()
public java.lang.String toString()
toString
in class Capability
bees.core.Capability
Object.toString()
|
Bees v0.5.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |