Bouncy Castle Cryptography Library 1.71

org.bouncycastle.openpgp.test
Class RewindStreamWhenDecryptingMultiSKESKMessageTest

java.lang.Object
  extended byorg.bouncycastle.util.test.SimpleTest
      extended byorg.bouncycastle.openpgp.test.RewindStreamWhenDecryptingMultiSKESKMessageTest
All Implemented Interfaces:
org.bouncycastle.util.test.Test

public class RewindStreamWhenDecryptingMultiSKESKMessageTest
extends org.bouncycastle.util.test.SimpleTest


Constructor Summary
RewindStreamWhenDecryptingMultiSKESKMessageTest()
           
 
Method Summary
static byte[] decrypt(byte[] ciphertext, java.lang.String password)
           
 java.lang.String getName()
           
static void main(java.lang.String[] args)
           
 void performTest()
           
 
Methods inherited from class org.bouncycastle.util.test.SimpleTest
areEqual, areEqual, areEqual, fail, fail, fail, isEquals, isEquals, isEquals, isEquals, isEquals, isEquals, isEquals, isTrue, isTrue, perform, runTest, runTest, runTests, runTests
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RewindStreamWhenDecryptingMultiSKESKMessageTest

public RewindStreamWhenDecryptingMultiSKESKMessageTest()
Method Detail

performTest

public void performTest()
                 throws java.lang.Exception
Throws:
java.lang.Exception

decrypt

public static byte[] decrypt(byte[] ciphertext,
                             java.lang.String password)
                      throws java.io.IOException,
                             PGPException
Throws:
java.io.IOException
PGPException

getName

public java.lang.String getName()

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

Bouncy Castle Cryptography Library 1.71