|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.utilities.SecurityUtilities
public class SecurityUtilities
Contains some SpagoBI's security utilities.
Constructor Summary | |
---|---|
SecurityUtilities()
|
Method Summary | |
---|---|
java.lang.String |
encodeBase64(byte[] bytes)
Encode a byte array using Base64 alghoritm |
byte[] |
generateRandomChallenge()
Generate a random array of bytes (1024 bits) using the SHA1PRNG alghoritm |
java.security.PrivateKey |
getPrivateKeyDSA()
Get the SpagoBI Provate Key for a DSA alghoritm |
byte[] |
signDSA(byte[] data)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SecurityUtilities()
Method Detail |
---|
public java.security.PrivateKey getPrivateKeyDSA()
public byte[] generateRandomChallenge()
public java.lang.String encodeBase64(byte[] bytes)
bytes
- bytes to encode
public byte[] signDSA(byte[] data)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |