Class AbstractDecryptInputProcessor.DecryptionThread

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    AbstractDecryptInputProcessor

    static class AbstractDecryptInputProcessor.DecryptionThread
    extends java.lang.Object
    implements java.lang.Runnable
    The DecryptionThread handles encrypted XML-Parts
    • Field Detail

      • header

        private final boolean header
      • pipedOutputStream

        private final java.io.PipedOutputStream pipedOutputStream
      • pipedInputStream

        private final java.io.PipedInputStream pipedInputStream
      • symmetricCipher

        private javax.crypto.Cipher symmetricCipher
      • ivLength

        private int ivLength
      • secretKey

        private java.security.Key secretKey
    • Method Detail

      • getPipedInputStream

        public java.io.PipedInputStream getPipedInputStream()
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
      • getSymmetricCipher

        protected javax.crypto.Cipher getSymmetricCipher()
      • setSymmetricCipher

        protected void setSymmetricCipher​(javax.crypto.Cipher symmetricCipher)
      • getIvLength

        int getIvLength()
      • setIvLength

        void setIvLength​(int ivLength)
      • getSecretKey

        protected java.security.Key getSecretKey()
      • setSecretKey

        protected void setSecretKey​(java.security.Key secretKey)