Top Fields Constructors Methods
org.bouncycastle.openpgp

public Class PGPSessionKey

extends Object
Class Inheritance
Imports
java.util.regex.Matcher, .Pattern, org.bouncycastle.util.encoders.Hex

Field Summary

Modifier and TypeField and Description
private final int
private final byte[]

Constructor Summary

AccessConstructor and Description
public
PGPSessionKey(int algorithm, byte[] sessionKey)

Method Summary

Modifier and TypeMethod and Description
public static PGPSessionKey
public int
public byte[]
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

algorithmback to summary
private final int algorithm
sessionKeyback to summary
private final byte[] sessionKey

Constructor Detail

PGPSessionKeyback to summary
public PGPSessionKey(int algorithm, byte[] sessionKey)

Method Detail

fromAsciiRepresentationback to summary
public static PGPSessionKey fromAsciiRepresentation(String ascii)
getAlgorithmback to summary
public int getAlgorithm()
getKeyback to summary
public byte[] getKey()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@SuppressWarnings:ArrayToString