Bouncy Castle Cryptography Library 1.79

org.bouncycastle.openpgp
Class PGPSessionKey

java.lang.Object
  |
  +--org.bouncycastle.openpgp.PGPSessionKey

public class PGPSessionKey
extends java.lang.Object


Constructor Summary
PGPSessionKey(int algorithm, byte[] sessionKey)
           
 
Method Summary
static PGPSessionKey fromAsciiRepresentation(java.lang.String ascii)
           
 int getAlgorithm()
           
 byte[] getKey()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PGPSessionKey

public PGPSessionKey(int algorithm,
                     byte[] sessionKey)
Method Detail

getAlgorithm

public int getAlgorithm()

getKey

public byte[] getKey()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

fromAsciiRepresentation

public static PGPSessionKey fromAsciiRepresentation(java.lang.String ascii)

Bouncy Castle Cryptography Library 1.79