Class XMLCipherInput


  • public class XMLCipherInput
    extends java.lang.Object
    XMLCipherInput is used to wrap input passed into the XMLCipher encryption operations. In decryption mode, it takes a CipherData object and allows callers to dereference the CipherData into the encrypted bytes that it actually represents. This takes care of all base64 encoding etc. While primarily an internal class, this can be used by applications to quickly and easily retrieve the encrypted bytes from an EncryptedType object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getBytes()
      Dereferences the input and returns it as a single byte array.
      private byte[] getDecryptBytes()
      Internal method to get bytes in decryption mode
      void setSecureValidation​(boolean secureValidation)
      Set whether secure validation is enabled or not.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait