◆ createSignature()
String eu.baltrad.beast.security.ISecurityManager.createSignature |
( |
String | message | ) |
|
◆ createSignatureMessage()
String eu.baltrad.beast.security.ISecurityManager.createSignatureMessage |
( |
HttpUriRequest | request | ) |
|
Function that creates the message to be signed from an uri request.
This is ill-placed here and should be moved somewhere more appropriate.
- Parameters
-
request | the request the request |
- Returns
- the signature message
Implemented in eu.baltrad.beast.security.SecurityManager.
◆ expandPrivateKey()
String eu.baltrad.beast.security.ISecurityManager.expandPrivateKey |
( |
Authorization | authorization | ) |
|
Adds the private key for usage by the security manager.
- Parameters
-
authorization | the authorization |
- Returns
- the folder name where the key has been placed
Implemented in eu.baltrad.beast.security.SecurityManager.
◆ expandPublicKey()
String eu.baltrad.beast.security.ISecurityManager.expandPublicKey |
( |
Authorization | authorization | ) |
|
Adds the public key for usage by the security manager.
- Parameters
-
authorization | the authorization |
- Returns
- the folder name where the key has been placed
Implemented in eu.baltrad.beast.security.SecurityManager.
◆ getLocal()
Authorization eu.baltrad.beast.security.ISecurityManager.getLocal |
( |
| ) |
|
◆ getLocalNodeName()
String eu.baltrad.beast.security.ISecurityManager.getLocalNodeName |
( |
| ) |
|
◆ getSigner()
Signer eu.baltrad.beast.security.ISecurityManager.getSigner |
( |
String | nodeName | ) |
|
◆ getVerifier()
Verifier eu.baltrad.beast.security.ISecurityManager.getVerifier |
( |
String | nodeName | ) |
|
◆ isInjector()
boolean eu.baltrad.beast.security.ISecurityManager.isInjector |
( |
String | nodeName | ) |
|
◆ setLocal()
void eu.baltrad.beast.security.ISecurityManager.setLocal |
( |
Authorization | auth | ) |
|
◆ validate() [1/2]
boolean eu.baltrad.beast.security.ISecurityManager.validate |
( |
String | nodeName, |
|
|
String | messageDate, |
|
|
String | signature, |
|
|
Command | command ) |
Validates a command so that it is valid to run.
- Parameters
-
nodeName | The node name |
messageDate | The date when sending message |
signature | The signature in the message |
command | The command to be verified |
- Returns
- if command should be accepted or not
Implemented in eu.baltrad.beast.security.SecurityManager.
◆ validate() [2/2]
boolean eu.baltrad.beast.security.ISecurityManager.validate |
( |
String | nodeName, |
|
|
String | signature, |
|
|
String | message ) |
Validates the message according to the public key verifier.
- Parameters
-
nodeName | the node name |
signature | the signature |
message | the message validated |
- Returns
- if the message is signed properly
Implemented in eu.baltrad.beast.security.SecurityManager.
The documentation for this interface was generated from the following file:
- src/eu/baltrad/beast/security/ISecurityManager.java