public class SecManager extends java.lang.Object implements KeyManager
Constructor and Description |
---|
SecManager(ServerDAO dao,
java.lang.String encryptionKey) |
Modifier and Type | Method and Description |
---|---|
void |
addSafePath(java.lang.String path) |
java.security.PrivateKey |
getPrivateKey() |
java.security.PublicKey |
getPublicKey() |
java.lang.String |
getPushKey() |
java.util.List<java.lang.String> |
getSafePaths() |
java.lang.String |
getSymmetricKey() |
public SecManager(ServerDAO dao, java.lang.String encryptionKey)
public java.security.PublicKey getPublicKey()
getPublicKey
in interface KeyManager
public java.security.PrivateKey getPrivateKey()
getPrivateKey
in interface KeyManager
public java.lang.String getSymmetricKey()
getSymmetricKey
in interface KeyManager
public java.lang.String getPushKey()
getPushKey
in interface KeyManager
public java.util.List<java.lang.String> getSafePaths()
public void addSafePath(java.lang.String path)