|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.discovery.topics.messages.EncryptedMessagePayload
public class EncryptedMessagePayload
Encapsulates the encrupted key and encrupted Payload
Created on Apr 18, 2005
| Method Summary | |
|---|---|
static EncryptedMessagePayload |
createObjectFromBytes(byte[] objectBytes)
|
static EncryptedMessagePayload |
generate(byte[] payload,
PublicKey pubkey)
Creates a new secret key, encrypts the payload with the new SecretKey. |
byte[] |
getBytes()
|
byte[] |
getDecryptedPayload(PrivateKey privatekey)
Returns the decrypted payload. |
static void |
main(String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public byte[] getBytes()
public static EncryptedMessagePayload createObjectFromBytes(byte[] objectBytes)
public static EncryptedMessagePayload generate(byte[] payload,
PublicKey pubkey)
payload -
public byte[] getDecryptedPayload(PrivateKey privatekey)
privatekey - -
private key for decrypting the secret key
public static void main(String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||