public class CRLAnnouncement extends PKIMessageBody
PKIMessageBody.Type
Constructor and Description |
---|
CRLAnnouncement()
Create a new
CRLAnnouncement . |
CRLAnnouncement(CRL crl)
Create a new
CRLAnnouncement message body with the specified CRL . |
CRLAnnouncement(java.io.InputStream is) |
Modifier and Type | Method and Description |
---|---|
void |
addCRL(CRL crl)
Add a
CRL to this CRLAnnouncement . |
java.util.Vector |
getCRLs()
Return the CRLs in this
CRLAnnouncement . |
PKIMessageBody.Type |
getType()
Returns one of the values defined in
PKIMessageBody.Type . |
void |
input(java.io.InputStream is)
Initializes this object by reading its encoding from the given input stream.
|
java.lang.String |
toString() |
inputInstance, length, output
public CRLAnnouncement()
CRLAnnouncement
. Use the addCRL
method to add CRLs.public CRLAnnouncement(CRL crl)
CRLAnnouncement
message body with the specified CRL
.public CRLAnnouncement(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public void addCRL(CRL crl)
CRL
to this CRLAnnouncement
.public java.util.Vector getCRLs()
CRLAnnouncement
.public PKIMessageBody.Type getType()
PKIMessageBody
PKIMessageBody.Type
.getType
in class PKIMessageBody
public java.lang.String toString()
toString
in class java.lang.Object
public void input(java.io.InputStream is) throws java.io.IOException
java.io.IOException