Class SimpleEncryptionTest

    • Constructor Detail

      • SimpleEncryptionTest

        public SimpleEncryptionTest()
        Constructor.
    • Method Detail

      • testAssertion

        public void testAssertion()
        Test basic encryption with symmetric key, no key wrap, set key name in passed KeyInfo object.
      • testAssertionAsID

        public void testAssertionAsID()
        Test basic encryption with symmetric key, no key wrap, set key name in passed KeyInfo object.
      • testNameID

        public void testNameID()
        Test basic encryption with symmetric key, no key wrap, set key name in passed KeyInfo object.
      • testAttribute

        public void testAttribute()
        Test basic encryption with symmetric key, no key wrap, set key name in passed KeyInfo object.
      • testNewID

        public void testNewID()
        Test basic encryption with symmetric key, no key wrap, set key name in passed KeyInfo object.
      • testReuse

        public void testReuse()
        Test that reuse of the encrypter with the same encryption and key encryption parameters is allowed.
      • testAutoKeyGen

        public void testAutoKeyGen()
        Test that a data encryption key is auto-generated if it is not supplied.
      • testAutoKeyGenNoKEK

        public void testAutoKeyGenNoKEK()
        Test that an error is thrown if the no data encryption credential is supplied and no KEK is specified.