|
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.ReceiptRequest
An ESS Receipt Request.
Nested Class Summary | |
static class |
ReceiptRequest.AllOrFirstTier A 'AllOrFirstTier' is a part of the 'ReceiptsFrom' field of a ReceiptRequest . |
Field Summary | |
static int |
UB_RECEIPTS_TO The maximum number of receiver of receipts allowed. |
Constructor Summary | |
ReceiptRequest(byte[] signedContentIdentifier, oracle.security.crypto.cert.GeneralNames generalNames) Create a ReceiptRequest object. |
|
ReceiptRequest(byte[] signedContentIdentifier, oracle.security.crypto.cert.GeneralNames rcptsFrom, oracle.security.crypto.cert.GeneralNames generalNames) Create a ReceiptRequest object. |
|
ReceiptRequest(byte[] signedContentIdentifier, ReceiptRequest.AllOrFirstTier allOrFirstTier, oracle.security.crypto.cert.GeneralNames generalNames) Create a ReceiptRequest object. |
|
ReceiptRequest(byte[] signedContentIdentifier, ReceiptRequest.AllOrFirstTier allOrFirstTier, java.util.Vector generalNames) Create a ReceiptRequest object. |
|
ReceiptRequest(byte[] signedContentIdentifier, java.util.Vector rcptsFrom, java.util.Vector generalNames) Create a ReceiptRequest object. |
|
ReceiptRequest(oracle.security.crypto.cms.CMSSignerInfo si) Create a ReceiptRequest object. |
|
ReceiptRequest(java.io.InputStream is) Create a ReceiptRequest object. |
Method Summary | |
void |
addReceiptsFrom(oracle.security.crypto.cert.GeneralName generalName) Adds an entity to the list of recipients who will receive the receipt request. |
void |
addReceiptsFrom(oracle.security.crypto.cert.GeneralNames generalNames) Adds an entity to the list of recipients who will receive the receipt request. |
void |
addReceiptsFrom(java.lang.String rfc822Name) Adds an entity to the list of recipients who will receive the receipt request. |
void |
addReceiptsFrom(java.util.Vector genNames) Adds an entity to the recipientsFrom list who will receive the receipt request. |
void |
addReceiptsFrom(oracle.security.crypto.cert.X500Name directoryName) Adds an entity to the list of recipients who will receive the receipt request. |
void |
addReceiptsFrom(oracle.security.crypto.cert.X500Name directoryName, java.lang.String rfc822Name) Adds an entity to the list of recipients who will receive the receipt request. |
void |
addReceiptsTo(oracle.security.crypto.cert.GeneralName generalName) Adds an entity to the list of recipients who will receive the receipt(s). |
void |
addReceiptsTo(oracle.security.crypto.cert.GeneralNames generalNames) Adds an entity to the list of recipients who will receive the receipt(s). |
void |
addReceiptsTo(java.lang.String rfc822Name) Adds an entity to the list of recipients who will receive the receipt(s). |
void |
addReceiptsTo(java.util.Vector generalNames) Adds an entity to the list of recipients who will receive the receipt(s). |
void |
addReceiptsTo(oracle.security.crypto.cert.X500Name directoryName) Adds an entity to the list of recipients who will receive the receipt(s). |
void |
addReceiptsTo(oracle.security.crypto.cert.X500Name directoryName, java.lang.String rfc822Name) Adds an entity to the list of recipients who will receive the receipt(s). |
boolean |
checkReceiptsFrom(oracle.security.crypto.cert.GeneralName generalName) Indicate if a Receipt has been requested from the specified entity. |
boolean |
checkReceiptsFrom(java.lang.String rfc822Name) Indicate if a Receipt has been requested from the specified entity. |
boolean |
checkReceiptsFrom(oracle.security.crypto.cert.X500Name recipientX500Name) Indicate if a Receipt has been requested from the specified entity. |
boolean |
equals(java.lang.Object o) Indicates if the object equals the specified object. |
ReceiptRequest.AllOrFirstTier |
getAllOrFirstTier() Returns the AllOrFirstTierValue. |
java.util.Vector |
getReceiptList() Returns the list of recipients who will receive the receipt request(s). |
java.util.Vector |
getReceiptsTo() Returns the list of recipients who will receive the receipt(s). |
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) Outputs this object's encoding to the specified output stream. |
java.util.Enumeration |
receiptsFrom() Returns the list of recipients who will receive the receipt request(s). |
java.util.Enumeration |
receiptsTo() Returns the list of recipients who will receive the receipt(s). |
void |
setAllOrFirstTierReceiptsFrom(ReceiptRequest.AllOrFirstTier allOrFirstTier) Sets the AllOrFirstTierValue. |
java.lang.String |
toString() Return information about this object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int UB_RECEIPTS_TO
Constructor Detail |
public ReceiptRequest(byte[] signedContentIdentifier, oracle.security.crypto.cert.GeneralNames generalNames)
ReceiptRequest
object. By default all the recipients will have to send a receipt.signedContentIdentifier
- The signed content identifier of this receipt request.generalNames
- The recipient to whom the receipt should be sent.public ReceiptRequest(byte[] signedContentIdentifier, ReceiptRequest.AllOrFirstTier allOrFirstTier, oracle.security.crypto.cert.GeneralNames generalNames)
ReceiptRequest
object.signedContentIdentifier
- The signed content identifier of this receipt request.allOrFirstTier
- The recipients who should sent a receipt.generalNames
- The recipient to whom the receipt should be sent.public ReceiptRequest(byte[] signedContentIdentifier, ReceiptRequest.AllOrFirstTier allOrFirstTier, java.util.Vector generalNames) throws oracle.security.crypto.util.InvalidInputException
ReceiptRequest
object.signedContentIdentifier
- The signed content identifier of this receipt request.allOrFirstTier
- The recipients who should sent a receipt.generalNames
- The recipients to whom the receipt should be sent.public ReceiptRequest(byte[] signedContentIdentifier, oracle.security.crypto.cert.GeneralNames rcptsFrom, oracle.security.crypto.cert.GeneralNames generalNames) throws oracle.security.crypto.util.InvalidInputException
ReceiptRequest
object.signedContentIdentifier
- The signed content identifier of this receipt request.rcptsFrom
- The recipient who should sent a receipt.generalNames
- The recipient to whom the receipt should be sent.public ReceiptRequest(byte[] signedContentIdentifier, java.util.Vector rcptsFrom, java.util.Vector generalNames) throws oracle.security.crypto.util.InvalidInputException
ReceiptRequest
object.signedContentIdentifier
- The signed content identifier of this receipt request.rcptsFrom
- The recipients who should sent a receipt.generalNames
- The recipients to whom the receipt should be sent.public ReceiptRequest(java.io.InputStream is) throws java.io.IOException
ReceiptRequest
object.is
- The input stream.java.io.IOException
- The input encoding is incorrect or an I/O error occurs.public ReceiptRequest(oracle.security.crypto.cms.CMSSignerInfo si) throws oracle.security.crypto.util.InvalidInputException
ReceiptRequest
object.si
- The message signer.oracle.security.crypto.util.InvalidInputException
- The input encoding is incorrect or an I/O error occurs.Method Detail |
public void addReceiptsTo(oracle.security.crypto.cert.X500Name directoryName) throws oracle.security.crypto.util.InvalidInputException
directoryName
- The X500 directory name of the entity to send the receipt to.oracle.security.crypto.util.InvalidInputException
- The maximum number of allowed receipt requests has been exceeded.public void addReceiptsTo(java.lang.String rfc822Name) throws oracle.security.crypto.util.InvalidInputException
rfc822Name
- The rfc822Name of an entity to send the receipt to.oracle.security.crypto.util.InvalidInputException
- The maximum number of allowed receipt requests has been exceeded.public void addReceiptsTo(oracle.security.crypto.cert.X500Name directoryName, java.lang.String rfc822Name) throws oracle.security.crypto.util.InvalidInputException
directoryName
- The X500 directory name of an entity to send the receipt to.rfc822Name
- The rfc822 name of an entity to send the receipt to.oracle.security.crypto.util.InvalidInputException
- The maximum number of allowed receipt requests has been exceeded.public void addReceiptsTo(oracle.security.crypto.cert.GeneralName generalName) throws oracle.security.crypto.util.InvalidInputException
generalName
- The general name of an entity to send the receipt to.oracle.security.crypto.util.InvalidInputException
- The maximum number of allowed receipt requests has been exceeded.public void addReceiptsTo(oracle.security.crypto.cert.GeneralNames generalNames) throws oracle.security.crypto.util.InvalidInputException
generalNames
- The general names of an entity to send the receipt to.oracle.security.crypto.util.InvalidInputException
- The maximum number of allowed receipt requests has been exceeded.public void addReceiptsTo(java.util.Vector generalNames) throws oracle.security.crypto.util.InvalidInputException
generalNames
- A list of general names of an entity to send the receipt to.oracle.security.crypto.util.InvalidInputException
- The maximum number of allowed receipt requests has been exceeded.public void addReceiptsFrom(oracle.security.crypto.cert.X500Name directoryName) throws oracle.security.crypto.util.InvalidInputException
directoryName
- The X500 directory name of the entity to request a receipt from.oracle.security.crypto.util.InvalidInputException
- This operation is not allowed as AllOrFirstTier is being used.public void addReceiptsFrom(java.lang.String rfc822Name) throws oracle.security.crypto.util.InvalidInputException
rfc822Name
- The rfc822Name of an entity to request a receipt from.oracle.security.crypto.util.InvalidInputException
- This operation is not allowed as AllOrFirstTier is being used.public void addReceiptsFrom(oracle.security.crypto.cert.X500Name directoryName, java.lang.String rfc822Name) throws oracle.security.crypto.util.InvalidInputException
directoryName
- The X500 directory name of an entity to request a receipt from.rfc822Name
- The rfc822 name of an entity to request a receipt from.oracle.security.crypto.util.InvalidInputException
- This operation is not allowed as AllOrFirstTier is being used.public void addReceiptsFrom(oracle.security.crypto.cert.GeneralName generalName) throws oracle.security.crypto.util.InvalidInputException
generalName
- The general name of an entity to send the receipt to.oracle.security.crypto.util.InvalidInputException
- This operation is not allowed as AllOrFirstTier is being used.public void addReceiptsFrom(oracle.security.crypto.cert.GeneralNames generalNames) throws oracle.security.crypto.util.InvalidInputException
generalNames
- The GeneralNames of an entity to request a receipt from.oracle.security.crypto.util.InvalidInputException
- This operation is not allowed as AllOrFirstTier is being used.public void addReceiptsFrom(java.util.Vector genNames) throws oracle.security.crypto.util.InvalidInputException
oracle.security.crypto.util.InvalidInputException
- This operation is not allowed as AllOrFirstTier is being used.public void setAllOrFirstTierReceiptsFrom(ReceiptRequest.AllOrFirstTier allOrFirstTier) throws oracle.security.crypto.util.InvalidInputException
oracle.security.crypto.util.InvalidInputException
- This operation is not allowed as ReceiptList is being used.public ReceiptRequest.AllOrFirstTier getAllOrFirstTier()
AllOrFirstTierValue
object if present; null
otherwise.public java.util.Enumeration receiptsTo()
Enumeration
containing a list of GeneralNames i.e. ASN1Sequence
objects whose elements are GeneralName
objects if present; null
otherwise.public java.util.Vector getReceiptsTo()
Vector
containing a list of GeneralNames i.e. ASN1Sequence
objects whose elements are GeneralName
objects if present; null
otherwise.public java.util.Enumeration receiptsFrom()
Enumeration
containing a list of GeneralNames i.e. ASN1Sequence
objects whose elements are GeneralName
objects if present; null
otherwise.public java.util.Vector getReceiptList()
Vector
containing a list of GeneralNames i.e. ASN1Sequence
objects whose elements are GeneralName
objects if present; null
otherwise.public byte[] getSignedContentIdentifier()
public boolean checkReceiptsFrom(oracle.security.crypto.cert.X500Name recipientX500Name)
recipientX500Name
- The X500 directory name of the recipient.true
if a receipt has been requested; false
otherwise.public boolean checkReceiptsFrom(java.lang.String rfc822Name)
true
if a receipt has been requested; false
otherwise.public boolean checkReceiptsFrom(oracle.security.crypto.cert.GeneralName generalName)
true
if a receipt has been requested; false
otherwise.public boolean equals(java.lang.Object o)
true
this object is equal to the specified object; false
otherwise.public int hashCode()
public java.lang.String toString()
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 |