| 
 | Cumulus4j API (1.1.0) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.cumulus4j.keymanager.front.shared.AcquireCryptoSessionResponse
public class AcquireCryptoSessionResponse
Response sent back from the key-server to the client after it requested opening a session. This might not necessarily represent a new session as a previously opened session might just be refreshed and reused.
| Constructor Summary | |
|---|---|
| AcquireCryptoSessionResponse() | |
| Method Summary | |
|---|---|
|  String | getCryptoSessionID()Get the crypto-session's unique identifier. | 
|  Date | getExpiry()Get the timestamp, when this session expires. | 
|  void | setCryptoSessionID(String cryptoSessionID)Set the crypto-session's unique identifier. | 
|  void | setExpiry(Date expiry)Set the timestamp, when this session expires. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public AcquireCryptoSessionResponse()
| Method Detail | 
|---|
public String getCryptoSessionID()
Get the crypto-session's unique identifier.
This identifier is composed of 3 parts:
cryptoSessionIDPrefix: A random ID of the key server. This is used to optimize communication between app-server
 and key server. A new prefix is generated at every startup of the key server.
 Note, that this identifier is structurally the same, no matter if the key-manager is embedded in the client or separate in a key-server.
setCryptoSessionID(String)public void setCryptoSessionID(String cryptoSessionID)
getCryptoSessionID() for
 how such an identifier must look like.
cryptoSessionID - the crypto-session's unique identifier.getCryptoSessionID()public Date getExpiry()
setExpiry(Date)public void setExpiry(Date expiry)
expiry - the timestamp, when this session expires.getExpiry()| 
 | Cumulus4j API (1.1.0) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||