|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.service.security.kmc.SecurityToken
public class SecurityToken
Security token. It comprises of the following
| Constructor Summary | |
|---|---|
SecurityToken(Certificate _cert,
TopicRights _rights,
Calendar _validity)
|
|
| Method Summary | |
|---|---|
static SecurityToken |
createObjectFromBytes(byte[] objectBytes)
Unmarshalls the bytes as a SecurityToken object |
byte[] |
getBytes()
Marshalls the object into an array of bytes. |
TopicRights |
getRights()
|
Certificate |
getTopicOwnerCertificate()
|
Calendar |
getValidity()
|
boolean |
isValid()
Check if the validity of the token is sometime in the future |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SecurityToken(Certificate _cert,
TopicRights _rights,
Calendar _validity)
| Method Detail |
|---|
public byte[] getBytes()
public static SecurityToken createObjectFromBytes(byte[] objectBytes)
objectBytes -
public boolean isValid()
public Certificate getTopicOwnerCertificate()
public TopicRights getRights()
public Calendar getValidity()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||