org.bouncycastle.crypto.test (Bouncy Castle Library 1.52 API Specification)
Date: 2015-03-01

# Package org.bouncycastle.crypto.test

Example code and test classes for the lightweight API.

See: Description

- Class Summary
  Class | Description
  --- | ---
  AEADTestUtil |
  AESFastTest | Test vectors from the NIST standard tests and Brian Gladman's vector set http://fp.gladman.plus.com/cryptography_technology/rijndael/
  AESLightTest | Test vectors from the NIST standard tests and Brian Gladman's vector set http://fp.gladman.plus.com/cryptography_technology/rijndael/
  AESTest | Test vectors from the NIST standard tests and Brian Gladman's vector set http://fp.gladman.plus.com/cryptography_technology/rijndael/
  AESVectorFileTest | Test vectors from the NIST standard tests and Brian Gladman's vector set http://fp.gladman.plus.com/cryptography_technology/rijndael/
  AESWrapPadTest | This is a test harness I use because I cannot modify the BC test harness without invalidating the signature on their signed provider library.
  AESWrapTest | Wrap Test
  AllTests |
  BCryptTest |
  BigSkippingCipherTest |
  BlockCipherMonteCarloTest | a basic test that takes a cipher, key parameter, and an input and output string.
  BlockCipherResetTest | Test whether block ciphers implement reset contract on init, encrypt/decrypt and reset.
  BlockCipherVectorTest | a basic test that takes a cipher, key parameter, and an input and output string.
  BlowfishTest | blowfish tester - vectors from http://www.counterpane.com/vectors.txt
  CamelliaLightTest | Camellia tester - vectors from https://www.cosic.esat.kuleuven.be/nessie/testvectors/ and RFC 3713
  CamelliaTest | Camellia tester - vectors from https://www.cosic.esat.kuleuven.be/nessie/testvectors/ and RFC 3713
  CAST5Test | cast tester - vectors from http://www.ietf.org/rfc/rfc2144.txt
  CAST6Test | cast6 tester - vectors from http://www.ietf.org/rfc/rfc2612.txt
  CCMTest | First four test vectors from NIST Special Publication 800-38C.
  ChaChaTest | ChaCha Test Test cases generated using ref version of ChaCha20 in estreambench-20080905.
  CipherStreamTest |
  CipherTest |
  CMacTest | CMAC tester - Official Test Vectors.
  CramerShoupTest |
  CTSTest | CTS tester
  DESedeTest | DESede tester
  DESTest | DES tester - vectors from FIPS 81
  DeterministicDSATest | Tests are taken from RFC 6979 - "Deterministic Usage of the Digital Signature Algorithm (DSA) and Elliptic Curve Digital Signature Algorithm (ECDSA)"
  DHKEKGeneratorTest | DHKEK Generator tests - from RFC 2631.
  DHTest |
  DigestRandomNumberTest |
  DigestTest |
  DSATest | Test based on FIPS 186-2, Appendix 5, an example of DSA, and FIPS 168-3 test vectors.
  DSTU4145Test |
  EAXTest |
  ECDHKEKGeneratorTest | ECDHKEK Generator tests.
  ECGOST3410Test | ECGOST3410 tests are taken from GOST R 34.10-2001.
  ECIESKeyEncapsulationTest | Tests for the ECIES Key Encapsulation Mechanism
  ECIESTest | test for ECIES - Elliptic Curve Integrated Encryption Scheme
  ECNRTest | ECNR tests.
  ECTest | ECDSA tests are taken from X9.62.
  ElGamalTest |
  EqualsHashCodeTest |
  GCMReorderTest |
  GCMTest | Test vectors from "The Galois/Counter Mode of Operation (GCM)", McGrew/Viega, Appendix B
  GMacTest | Test vectors for AES-GMAC, extracted from NIST CAVP GCM test vectors.
  GOST28147MacTest | GOST 28147 MAC tester
  GOST28147Test |
  GOST3410Test |
  GOST3411DigestTest |
  Grain128Test | Grain-128 Test
  Grainv1Test | Grain v1 Test
  HashCommitmentTest |
  HCFamilyTest | HC-128 and HC-256 Tests.
  HCFamilyVecTest | HC-128 and HC-256 Tests.
  HKDFGeneratorTest | HKDF tests - vectors from RFC 5869, + 2 more, 101 and 102
  IDEATest |
  ISAACTest | ISAAC Test - see http://www.burtleburtle.net/bob/rand/isaacafa.html
  ISO9796Test | test vectors from ISO 9796-1 and ISO 9796-2 edition 1.
  ISO9797Alg3MacTest |
  KDF1GeneratorTest | KDF1 tests - vectors from ISO 18033.
  KDF2GeneratorTest | KDF2 tests - vectors from ISO 18033.
  KDFCounterGeneratorTest |
  KDFDoublePipelineIteratorGeneratorTest |
  KDFFeedbackGeneratorTest |
  MacTest | MAC tester - vectors from FIP 81 and FIP 113.
  MD2DigestTest | standard vector test for MD2 from RFC1319 by B.Kaliski of RSA Laboratories April 1992
  MD4DigestTest | standard vector test for MD4 from RFC 1320.
  MD5DigestTest | standard vector test for MD5 from "Handbook of Applied Cryptography", page 345.
  MD5HMacTest | MD5 HMac Test, test vectors from RFC 2202
  MGF1GeneratorTest | MGF1 tests - vectors from ISO 18033 for KDF1 (equivalent).
  ModeTest | CFB/OFB Mode test of IV padding.
  NaccacheSternTest | Test case for NaccacheStern cipher.
  NISTCTSTest | CTS tester
  NoekeonTest | Noekeon tester
  NonMemoableDigestTest | SHA1 HMac Test, test vectors from RFC 2202
  NullTest |
  OAEPTest |
  OCBTest | Test vectors from RFC 7253 on The OCB Authenticated-Encryption Algorithm
  OpenBSDBCryptTest |
  PaddingTest | General Padding tests.
  PKCS12Test | test for PKCS12 key generation - vectors from http://www.drh-consultancy.demon.co.uk/test.txt
  PKCS5Test | A test class for PKCS5 PBES2 with PBKDF2 (PKCS5 v2.0) using test vectors provider at RSA's PKCS5 Page The vectors are Base 64 encoded and encrypted using the password "password" (without quotes).
  Poly1305Test |
  PSSBlindTest |
  PSSTest |
  RC2Test | RC2 tester - vectors from ftp://ftp.isi.edu/in-notes/rfc2268.txt RFC 2268 "A Description of the RC2(r) Encryption Algorithm"
  RC2WrapTest | RC2 wrap tester
  RC4Test | RC4 Test
  RC5Test | RC5 tester - vectors from ftp://ftp.nordu.net/rfc/rfc2040.txt RFC 2040 "The RC5, RC5-CBC, RC5-CBC-Pad, and RC5-CTS Algorithms"
  RC6Test | RC6 Test - test vectors from AES Submitted RSA Reference implementation.
  RegressionTest |
  ResetTest |
  RFC3211WrapTest | Wrap Test based on RFC3211 test vectors
  RijndaelTest | Test vectors from the NIST standard tests and Brian Gladman's vector set http://fp.gladman.plus.com/cryptography_technology/rijndael/
  RIPEMD128DigestTest | RIPEMD128 Digest Test
  RIPEMD128HMacTest | RIPEMD128 HMac Test, test vectors from RFC 2286
  RIPEMD160DigestTest | RIPEMD160 Digest Test
  RIPEMD160HMacTest | RIPEMD160 HMac Test, test vectors from RFC 2286
  RIPEMD256DigestTest | RIPEMD128 Digest Test
  RIPEMD320DigestTest | RIPEMD320 Digest Test
  RSABlindedTest |
  RSADigestSignerTest |
  RSAKeyEncapsulationTest | Tests for the RSA Key Encapsulation Mechanism
  RSATest |
  Salsa20Test | Salsa20 Test
  SCryptTest |
  SEEDTest | SEED tester - vectors http://www.ietf.org/rfc/rfc4009.txt
  SerpentTest |
  SHA1DigestTest | standard vector test for SHA-1 from "Handbook of Applied Cryptography", page 345.
  SHA1HMacTest | SHA1 HMac Test, test vectors from RFC 2202
  SHA224DigestTest | standard vector test for SHA-224 from RFC 3874 - only the last three are in the RFC.
  SHA224HMacTest | SHA224 HMac Test
  SHA256DigestTest | standard vector test for SHA-256 from FIPS Draft 180-2.
  SHA256HMacTest | SHA256 HMac Test
  SHA384DigestTest | standard vector test for SHA-384 from FIPS Draft 180-2.
  SHA384HMacTest | SHA384 HMac Test
  SHA3DigestTest | SHA3 Digest Test
  SHA512DigestTest | standard vector test for SHA-512 from FIPS Draft 180-2.
  SHA512HMacTest | SHA512 HMac Test
  SHA512t224DigestTest | standard vector test for SHA-512/224 from FIPS 180-4.
  SHA512t256DigestTest | standard vector test for SHA-512/256 from FIPS 180-4.
  Shacal2Test | Shacal2 tester - vectors from https://www.cosic.esat.kuleuven.be/nessie/testvectors/
  ShortenedDigestTest |
  SipHashTest |
  SkeinDigestTest |
  SkeinMacTest |
  SkipjackTest |
  SM3DigestTest | standard vector test for SM3 digest from chinese specification
  SRP6Test |
  StreamCipherResetTest | Test whether block ciphers implement reset contract on init, encrypt/decrypt and reset.
  StreamCipherVectorTest | a basic test that takes a stream cipher, key parameter, and an input and output string.
  TEATest | TEA tester - based on C implementation results from http://www.simonshepherd.supanet.com/tea.htm
  Threefish1024Test |
  Threefish256Test |
  Threefish512Test |
  TigerDigestTest | Tiger Digest Test
  TwofishTest |
  VMPCKSA3Test | VMPC Test
  VMPCMacTest |
  VMPCTest | VMPC Test
  WhirlpoolDigestTest | ISO vector test for Whirlpool
  X931SignerTest |
  XSalsa20Test |
  XTEATest | TEA tester - based on C implementation results from http://www.simonshepherd.supanet.com/tea.htm

## Package org.bouncycastle.crypto.test Description

Example code and test classes for the lightweight API.