|
XML Digital Signature and Encryption, 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.xml.crypto.enc.ToBeEncryptedOctetStream
public class ToBeEncryptedOctetStream
A representation of ToBeEncrypted containing the octet sequence
| Constructor Summary | |
|---|---|
ToBeEncryptedOctetStream(java.io.InputStream inputStream)
Creates a new ToBeEncryptedOctetStream |
|
ToBeEncryptedOctetStream(java.io.InputStream inputStream,
java.lang.String type,
java.lang.String mimeType,
java.lang.String encoding)
Creates a new ToBeEncryptedOctetStream |
|
| Method Summary | |
|---|---|
java.lang.String |
getEncoding()
Returns a URI identifying the transfer encoding of the data that has been encrypted. |
java.io.InputStream |
getInputStream()
Returns the input stream of this ToBeEncryptedOctetStream |
java.lang.String |
getMimeType()
Returns the mime type of the data that has been encrypted. |
java.lang.String |
getType()
Returns a URI identifying the type of the plaintext form of the encrypted content. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ToBeEncryptedOctetStream(java.io.InputStream inputStream)
inputStream - the InputStream containing the octet sequence to be encrypted
java.lang.NullPointerException - if inputStream is null
public ToBeEncryptedOctetStream(java.io.InputStream inputStream,
java.lang.String type,
java.lang.String mimeType,
java.lang.String encoding)
type - the type (may be null)mimeType - the mime type (may be null)encoding - the encoding (may be null)
java.lang.NullPointerException - if inputStream is null| Method Detail |
|---|
public java.io.InputStream getInputStream()
public java.lang.String getType()
getType in interface ToBeEncryptednull if not specifiedpublic java.lang.String getMimeType()
getMimeType in interface ToBeEncryptednull if not specifiedpublic java.lang.String getEncoding()
getEncoding in interface ToBeEncryptednull if not specified
|
XML Digital Signature and Encryption, 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||