|
Oracle Security Developer Tools S/MIME Java API Reference 10g (10.1.4.0.1) B28172-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.smime.ess.ContentReference
A Content Reference.
Constructor Summary | |
ContentReference(oracle.security.crypto.asn1.ASN1ObjectID contentType, byte[] signedContentIdentifier, byte[] originatorSignatureValue) Create a ContentReference with the given content type, content identifier and originator signature value. |
|
ContentReference(java.io.InputStream is) Create a ContentReference by reading from the specified input stream. |
Method Summary | |
boolean |
equals(java.lang.Object o) Indicates if the object equals the specified object. |
oracle.security.crypto.asn1.ASN1ObjectID |
getContentType() Returns the content type. |
byte[] |
getOriginatorSignatureValue() Returns the originator signature value. |
byte[] |
getSignedContentIdentifier() Returns the signed content identifier. |
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 |
setContentType(oracle.security.crypto.asn1.ASN1ObjectID contentType) Set the content type. |
void |
setOriginatorSignatureValue(byte[] originatorSignatureValue) Sets the originator signature value. |
void |
setSignedContentIdentifier(byte[] signedContentIdentifier) Sets the signed content identifier. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ContentReference(java.io.InputStream is) throws java.io.IOException
ContentReference
by reading from the specified input stream.is
- The input stream.public ContentReference(oracle.security.crypto.asn1.ASN1ObjectID contentType, byte[] signedContentIdentifier, byte[] originatorSignatureValue)
ContentReference
with the given content type, content identifier and originator signature value.contentType
- The content type identifier.signedContentIdentifier
- The signed content identifier.originatorSignatureValue
- The originator signature value.Method Detail |
public boolean equals(java.lang.Object o)
true
this object is equal to the specified object; false
otherwise.public int hashCode()
public oracle.security.crypto.asn1.ASN1ObjectID getContentType()
public void setContentType(oracle.security.crypto.asn1.ASN1ObjectID contentType)
contentType
- The content type identifier.public byte[] getSignedContentIdentifier()
public void setSignedContentIdentifier(byte[] signedContentIdentifier)
signedContentIdentifier
- The signed content identifier.public byte[] getOriginatorSignatureValue()
public void setOriginatorSignatureValue(byte[] originatorSignatureValue)
originatorSignatureValue
- The originator signature value.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 Security Developer Tools S/MIME Java API Reference 10g (10.1.4.0.1) B28172-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |