|
Oracle Security Developer Tools S/MIME Java API Reference 10g Release 2 (10.1.2.0.2) B15567-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.EquivalentLabels
An ESS EquivalentLabels. An equivalent labels is a sequence of security label.
The output is always a DER encoding.
Constructor Summary | |
EquivalentLabels() Create an empty EquivalentLabels . |
|
EquivalentLabels(oracle.security.crypto.cms.CMSSignerInfo si) Create a EquivalentLabels with the given policy identifier. |
|
EquivalentLabels(ESSSecurityLabel secLabel) Create an empty EquivalentLabels . |
|
EquivalentLabels(java.io.InputStream is) Create a EquivalentLabels by reading from the specified input stream. |
|
EquivalentLabels(java.util.Vector secLabels) Create an empty EquivalentLabels . |
Method Summary | |
void |
addSecurityLabel(ESSSecurityLabel secLabel) Adds a security label. |
boolean |
equals(java.lang.Object o) Indicates if the object equals the specified object. |
java.util.Vector |
getSecurityLabels() Get the list of Security Labels. |
int |
hashCode() Return the hash code for this object. |
void |
input(java.io.InputStream is) |
java.util.Enumeration |
labels() Returns an enumeration of Security Labels. |
int |
length() Return the length of this object's encoding. |
void |
output(java.io.OutputStream os) Outputs this object's encoding to the specified output stream. |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public EquivalentLabels(java.io.InputStream is) throws java.io.IOException
EquivalentLabels
by reading from the specified input stream.is
- The input stream.public EquivalentLabels(oracle.security.crypto.cms.CMSSignerInfo si) throws InvalidInputException
EquivalentLabels
with the given policy identifier.si
- The message signer.InvalidInputException
- If the input is not correctly formatted or the SigningCertificateAttribute is not present or the SigningCertificateAttribute has multiple values.public EquivalentLabels()
EquivalentLabels
.public EquivalentLabels(ESSSecurityLabel secLabel)
EquivalentLabels
.public EquivalentLabels(java.util.Vector secLabels)
EquivalentLabels
.Method Detail |
public void addSecurityLabel(ESSSecurityLabel secLabel)
secLabel
- The security label.public java.util.Vector getSecurityLabels()
Vector
containing ESSSecurityLabel
objects if present; null
otherwise.public java.util.Enumeration labels()
Enumeration
containing ESSSecurityLabel
objects.public java.lang.String toString()
public boolean equals(java.lang.Object o)
true
this object is equal to the specified object; false
otherwise.public int hashCode()
public void input(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public void output(java.io.OutputStream os) throws java.io.IOException
os
- The output stream.java.io.IOException
- An I/O error occurred.public int length()
|
Oracle Security Developer Tools S/MIME Java API Reference 10g Release 2 (10.1.2.0.2) B15567-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |