Class AbstractDecryptInputProcessor.DecryptionThread
java.lang.Object
org.apache.xml.security.stax.impl.processor.input.AbstractDecryptInputProcessor.DecryptionThread
- All Implemented Interfaces:
Runnable
- Enclosing class:
AbstractDecryptInputProcessor
The DecryptionThread handles encrypted XML-Parts
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final XMLSecEvent
private final boolean
private final InputProcessorChain
private int
private final PipedInputStream
private final PipedOutputStream
private Key
private Cipher
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DecryptionThread
(InputProcessorChain inputProcessorChain, boolean header, XMLSecEvent firstEvent) -
Method Summary
Modifier and TypeMethodDescription(package private) int
protected Key
protected Cipher
private XMLSecEvent
void
run()
(package private) void
setIvLength
(int ivLength) protected void
setSecretKey
(Key secretKey) protected void
setSymmetricCipher
(Cipher symmetricCipher)
-
Field Details
-
inputProcessorChain
-
header
private final boolean header -
pipedOutputStream
-
pipedInputStream
-
symmetricCipher
-
ivLength
private int ivLength -
secretKey
-
firstEvent
-
-
Constructor Details
-
DecryptionThread
protected DecryptionThread(InputProcessorChain inputProcessorChain, boolean header, XMLSecEvent firstEvent) throws XMLStreamException, XMLSecurityException
-
-
Method Details
-
getPipedInputStream
-
processNextEvent
-
run
public void run() -
getSymmetricCipher
-
setSymmetricCipher
-
getIvLength
int getIvLength() -
setIvLength
void setIvLength(int ivLength) -
getSecretKey
-
setSecretKey
-