|
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.EquivalentLabels
public class 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.java.io.IOException
public EquivalentLabels(oracle.security.crypto.cms.CMSSignerInfo si) throws oracle.security.crypto.util.InvalidInputException
EquivalentLabels
with the given policy identifier.
si
- The message signer.oracle.security.crypto.util.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()
toString
in class java.lang.Object
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 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 |