|
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.MLReceiptPolicy
public class MLReceiptPolicy
Represents the MLReceiptPolicy element which is part of the MLData Attribute.
Nested Class Summary | |
---|---|
static class |
MLReceiptPolicy.PolicyType |
Constructor Summary | |
---|---|
MLReceiptPolicy(java.io.InputStream is) Creates a new MLReceiptPolicy by reading from the input stream. |
|
MLReceiptPolicy(MLReceiptPolicy.PolicyType policyType) Creates a new MLReceiptPolicy . |
|
MLReceiptPolicy(MLReceiptPolicy.PolicyType policyType, oracle.security.crypto.cert.GeneralNames generalNames) Creates a new MLReceiptPolicy . |
|
MLReceiptPolicy(MLReceiptPolicy.PolicyType policyType, java.util.Vector generalNames) Creates a new MLReceiptPolicy . |
Method Summary | |
---|---|
void |
addReceiptPolicyValues(oracle.security.crypto.cert.GeneralNames generalNames) Add the GeneralNames to the Receipt Policy. |
void |
addReceiptPolicyValues(java.util.Vector generalNames) Add the collection of GeneralNames to the Receipt Policy. |
boolean |
equals(java.lang.Object o) Indicates if the object equals the specified object. |
MLReceiptPolicy.PolicyType |
getMLReceiptPolicyType() Returns the type of MLReceiptPolicy. |
java.util.Vector |
getReceiptNames() Returns the MLReceiptPolicy values. |
int |
hashCode() Return the hash code for this object. |
void |
input(java.io.InputStream is) Initialize this object by reading the MLReceiptPolicy 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.util.Enumeration |
receiptNames() Returns the MLReceiptPolicy values. |
boolean |
removeReceiptPolicyValues(oracle.security.crypto.cert.GeneralNames generalNames) Removes the GeneralNames from the Receipt Policy. |
boolean |
removeReceiptPolicyValues(java.util.Vector generalNames) Removes the collection of GeneralNames objects from the Receipt Policy. |
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 MLReceiptPolicy(MLReceiptPolicy.PolicyType policyType)
MLReceiptPolicy
.
policyType
- The mailing list receipt policy.public MLReceiptPolicy(MLReceiptPolicy.PolicyType policyType, oracle.security.crypto.cert.GeneralNames generalNames)
MLReceiptPolicy
.
policyType
- The mailing list receipt policy.generalNames
- The receipt GeneralNames
.public MLReceiptPolicy(MLReceiptPolicy.PolicyType policyType, java.util.Vector generalNames)
MLReceiptPolicy
.
policyType
- The mailing list receipt policy.generalNames
- The collection of receipt GeneralNames
.public MLReceiptPolicy(java.io.InputStream is) throws java.io.IOException
MLReceiptPolicy
by reading from the input stream.
is
- The input stream.AlgorithmIdentifierException
- If the input encoding is incorrect or an I/O error occurred.java.io.IOException
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 void addReceiptPolicyValues(oracle.security.crypto.cert.GeneralNames generalNames)
GeneralNames
to the Receipt Policy.public void addReceiptPolicyValues(java.util.Vector generalNames)
GeneralNames
to the Receipt Policy.public boolean removeReceiptPolicyValues(oracle.security.crypto.cert.GeneralNames generalNames)
GeneralNames
from the Receipt Policy.true
the receipt policy value was successfully removed; false
otherwise.public boolean removeReceiptPolicyValues(java.util.Vector generalNames)
GeneralNames
objects from the Receipt Policy.true
the receipt policy value was successfully removed; false
otherwise.public MLReceiptPolicy.PolicyType getMLReceiptPolicyType()
public java.util.Vector getReceiptNames()
Vector
whose elements are a Vector
of GeneralName
objects if present; null
otherwise.public java.util.Enumeration receiptNames()
Enumeration
whose element are a Vector
of GeneralName
objects if present; null
otherwise.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()
toString
in class java.lang.Object
|
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 |