security
Class SecurityService
java.lang.Object
security.SecurityService
public abstract class SecurityService
- extends Object
Implements a service-type component for the security module. It is not the only entry-point to this module,
the Crypto module being used directly by the SynchronizationStrategies and NetworkListener.
Method Summary |
abstract Object |
getKeys()
Generates and returns keys used by groups, devices and users. |
abstract Object |
getSecureToken()
Generates and returns a secure token. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tokenGenerator
SecureTokenGenerator tokenGenerator
keyGenerator
KeyGenerator keyGenerator
SecurityService
public SecurityService()
getSecureToken
public abstract Object getSecureToken()
- Generates and returns a secure token. It can be used when sending invitations. Uses
SecureTokenGenerator
.
- Returns:
- the token object
getKeys
public abstract Object getKeys()
- Generates and returns keys used by groups, devices and users.
- Returns:
- the key/keys