|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.identity.federation.bindings.util.cert.EncryptionKeyUtil
public class EncryptionKeyUtil
Utility to generate symmetric key
Constructor Summary | |
---|---|
EncryptionKeyUtil()
|
Method Summary | |
---|---|
static javax.crypto.SecretKey |
getSecretKey(java.lang.String encAlgo,
int keySize)
Generate a secret key useful for encryption/decryption |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EncryptionKeyUtil()
Method Detail |
---|
public static javax.crypto.SecretKey getSecretKey(java.lang.String encAlgo, int keySize) throws java.lang.Exception
encAlgo
- keySize
- Length of the key (if 0, defaults to 128 bits)
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |