|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xml.security.encryption.XMLCipherInput
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
Constructor Summary | |
XMLCipherInput(CipherData data)
Constructor for processing encrypted octets |
|
XMLCipherInput(EncryptedType input)
Constructor for processing encrypted octets |
Method Summary | |
byte[] |
getBytes()
Dereferences the input and returns it as a single byte array. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLCipherInput(CipherData data) throws XMLEncryptionException
data
- The CipherData
object to read the bytes from
XMLEncryptionException
- XMLEncryptionException
public XMLCipherInput(EncryptedType input) throws XMLEncryptionException
input
- The EncryptedType
object to read
the bytes from.
XMLEncryptionException
- XMLEncryptionException
Method Detail |
public byte[] getBytes() throws XMLEncryptionException
XMLEncryptionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |