|
Oracle Fusion Middleware S/MIME Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10672-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.smime.ess.ContentHints
public class ContentHints
A Content Hints.
Constructor Summary | |
---|---|
ContentHints(oracle.security.crypto.asn1.ASN1ObjectID contentType) Create a ContentHints with the given content type. |
|
ContentHints(oracle.security.crypto.asn1.ASN1ObjectID contentType, java.lang.String contentDescription) Create a ContentHints with the given content type and content description string. |
|
ContentHints(java.io.InputStream is) Create a ContentHints by reading from the specified input stream. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o) Indicates if the object equals the specified object. |
java.lang.String |
getContentDescription() Returns the content description. |
oracle.security.crypto.asn1.ASN1ObjectID |
getContentType() Returns the content type. |
int |
hashCode() Return the hash code for this object. |
void |
input(java.io.InputStream is) |
int |
length() Returns the length of this object's encoding. |
void |
output(java.io.OutputStream os) Output this object's encoding to the specified output stream. |
void |
setContentDescription(java.lang.String contentDescription) Sets the content description. |
void |
setContentType(oracle.security.crypto.asn1.ASN1ObjectID contentType) Set the content type. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentHints(java.io.InputStream is) throws java.io.IOException
ContentHints
by reading from the specified input stream.
is
- The input stream.java.io.IOException
public ContentHints(oracle.security.crypto.asn1.ASN1ObjectID contentType)
ContentHints
with the given content type.
contentType
- The content type identifier.public ContentHints(oracle.security.crypto.asn1.ASN1ObjectID contentType, java.lang.String contentDescription)
ContentHints
with the given content type and content description string.
contentType
- The content type identifier.contentDescription
- The content description string.Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
true
this object is equal to the specified object; false
otherwise.public int hashCode()
hashCode
in class java.lang.Object
public oracle.security.crypto.asn1.ASN1ObjectID getContentType()
public void setContentType(oracle.security.crypto.asn1.ASN1ObjectID contentType)
contentType
- The content type identifier.public java.lang.String getContentDescription()
public void setContentDescription(java.lang.String contentDescription)
contentDescription
- The content description.public void input(java.io.InputStream is) throws java.io.IOException
input
in interface oracle.security.crypto.util.Streamable
java.io.IOException
public void output(java.io.OutputStream os) throws java.io.IOException
output
in interface oracle.security.crypto.util.Streamable
os
- The output stream.java.io.IOException
- An I/O error occurred.public int length()
length
in interface oracle.security.crypto.util.Streamable
|
Oracle Fusion Middleware S/MIME Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10672-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |