|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectes.rediris.papi.Ciphers
public class Ciphers
Cryptographic class for PAPIFilter. Includes AES and RSA encoding/decoding
| Constructor Summary | |
|---|---|
Ciphers(Properties papiConf)
Creates a new instance of Ciphers . |
|
| Method Summary | |
|---|---|
String |
AES_Encode(boolean encode,
boolean isHcook,
String data)
AES encoding/decoding |
String |
createDigest(String data)
|
void |
init(String ASname)
Initializes the RSA engine, used with GPoA data and AS assertions |
String |
RSA_Encode(boolean encoding,
String data)
RSA encoding/decoding |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Ciphers(Properties papiConf)
throws ServletException
papiConf - Configuration values
ServletException - if there's been any exception while creating the engines or reading the key files| Method Detail |
|---|
public void init(String ASname)
throws ServletException
ASname - name of the signer
ServletException
public String RSA_Encode(boolean encoding,
String data)
throws ServletException
encoding - true if we wish to encode datadata - data to encode/decode
ServletException
public String AES_Encode(boolean encode,
boolean isHcook,
String data)
throws ServletException
encode - True if we wish to encodeisHcook - True if the data to process belongs to a Hcookdata - Data to process
ServletExceptionpublic String createDigest(String data)
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||