|
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.MLData
Represents the MLData element which is used in the MLExpansionHistory Attribute.
Constructor Summary | |
MLData(java.io.InputStream is) Creates a new MLData by reading from the input stream. |
|
MLData(oracle.security.crypto.cert.X509 cert, java.util.Date date) Creates a new MLData using the specified certificate and date. |
|
MLData(oracle.security.crypto.cert.X509 cert, java.util.Date date, boolean useSKI64) Creates a new MLData using the specified certificate and date. |
|
MLData(oracle.security.crypto.cert.X509 cert, java.util.Date date, boolean useSKI64, MLReceiptPolicy policy) Creates a new MLData using the specified certificate and date. |
|
MLData(oracle.security.crypto.cert.X509 cert, java.util.Date date, MLReceiptPolicy policy) Creates a new MLData using the specified certificate and date. |
Method Summary | |
boolean |
equals(java.lang.Object o) Indicates if the object equals the specified object. |
oracle.security.crypto.asn1.ASN1Date |
getExpansionTime() Returns the Expansion Time. |
oracle.security.crypto.cert.IssuerAndSerialNo |
getIASN() Returns the IssuerAndSerialNo entity identifier. |
MLReceiptPolicy |
getMLReceiptPolicy() Indicates if the MLReceiptPolicy is present. |
byte[] |
getSKI() Returns the SubjectKeyIdentifier entity identifier. |
int |
hashCode() Return the hash code for this object. |
void |
input(java.io.InputStream is) Initialize this object by reading the MLData encoding from the specified input stream. |
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. |
java.lang.String |
toString() Returns information about this object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MLData(oracle.security.crypto.cert.X509 cert, java.util.Date date)
MLData
using the specified certificate and date.
IssuerAndSerialNumber is used as the EntityIdentifier.
cert
- The X509 certificate.date
- The expansion time.public MLData(oracle.security.crypto.cert.X509 cert, java.util.Date date, boolean useSKI64)
MLData
using the specified certificate and date.
SubjectKeyIdentifier is used as the EntityIdentifier.
cert
- The X509 certificate.date
- The expansion time.useSKI64
- If true
the 64 bit SubjectKeyIdentifier is used; If true
the 160 bit SubjectKeyIdentifier is used;public MLData(oracle.security.crypto.cert.X509 cert, java.util.Date date, MLReceiptPolicy policy)
MLData
using the specified certificate and date.
IssuerAndSerialNumber is used as the EntityIdentifier.
cert
- The X509 certificate.date
- The expansion time.public MLData(oracle.security.crypto.cert.X509 cert, java.util.Date date, boolean useSKI64, MLReceiptPolicy policy)
MLData
using the specified certificate and date.
SubjectKeyIdentifier is used as the EntityIdentifier.
cert
- The X509 certificate.date
- The expansion time.useSKI64
- If true
the 64 bit SubjectKeyIdentifier is used; If true
the 160 bit SubjectKeyIdentifier is used;public MLData(java.io.InputStream is) throws java.io.IOException
MLData
by reading from the input stream.is
- The input stream.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.cert.IssuerAndSerialNo getIASN()
IssuerAndSerialNo
if present; null
otherwise.public byte[] getSKI()
null
otherwise.public oracle.security.crypto.asn1.ASN1Date getExpansionTime()
public MLReceiptPolicy getMLReceiptPolicy()
MLReceiptPolicy
if present.public void input(java.io.InputStream is) throws java.io.IOException
input
in interface oracle.security.crypto.util.Streamable
is
- The input stream.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
public int length()
length
in interface oracle.security.crypto.util.Streamable
public java.lang.String toString()
|
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 |