Package org.pgpainless.util
Class SessionKey
- java.lang.Object
-
- org.pgpainless.util.SessionKey
-
public class SessionKey extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SessionKey(org.bouncycastle.openpgp.PGPSessionKey sessionKey)SessionKey(SymmetricKeyAlgorithm algorithm, byte[] key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SymmetricKeyAlgorithmgetAlgorithm()byte[]getKey()
-
-
-
Constructor Detail
-
SessionKey
public SessionKey(@Nonnull org.bouncycastle.openpgp.PGPSessionKey sessionKey)
-
SessionKey
public SessionKey(@Nonnull SymmetricKeyAlgorithm algorithm, @Nonnull byte[] key)
-
-
Method Detail
-
getAlgorithm
public SymmetricKeyAlgorithm getAlgorithm()
-
getKey
public byte[] getKey()
-
-