|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.service.security.SecureTopicsManager
public class SecureTopicsManager
The purpose of this class is to keep track of currently available secure
topics. The manager listens on a KMC broadcast topic. The KMC broadcasts a
message whenever a new security token is created. The KMC may also publish
information regarding revoked certificates, invalidated security tokens etc..
The manager also provides interface to validate security tokens and digital
signatures of payloads in secure NB events
Created on Sep 10, 2005
| Field Summary | |
|---|---|
static String |
HEADER_SIGNATURE
|
| Constructor Summary | |
|---|---|
SecureTopicsManager()
|
|
| Method Summary | |
|---|---|
boolean |
doSecurityChecks(NBEvent nbEvent)
|
SignedSecurityToken |
getSecurityTokenForProfileId(Object key)
Returns the Security token corresponding to the given id |
static long |
getSignedTSSecurityCheckDuration()
|
void |
init(String keyStore)
Initializes the Certificate manager to load the location of keystore etc... |
void |
registerProfileSecurityToken(Object key,
byte[] obj)
|
void |
shutdown()
|
boolean |
sysnopsisRepresentsSecureTopic(Object contentSynopsis,
int type)
Checks to see if the specified content synopsis belongs to a secure topic. |
boolean |
verifySignedSecurityToken(SignedSecurityToken sst)
Check the validity and integrity of a signed security token. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String HEADER_SIGNATURE
| Constructor Detail |
|---|
public SecureTopicsManager()
| Method Detail |
|---|
public void init(String keyStore)
configFileName - public void shutdown()
public boolean doSecurityChecks(NBEvent nbEvent)
public boolean sysnopsisRepresentsSecureTopic(Object contentSynopsis,
int type)
contentSynopsis - type -
public void registerProfileSecurityToken(Object key,
byte[] obj)
public SignedSecurityToken getSecurityTokenForProfileId(Object key)
key - -
Id
public boolean verifySignedSecurityToken(SignedSecurityToken sst)
sst - -
The SignedSecuritytoken to inspect
public static long getSignedTSSecurityCheckDuration()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||