public class PKCS12CRLBag extends PKCS12Bag
| Constructor and Description |
|---|
PKCS12CRLBag()
Creates a new empty instance.
|
PKCS12CRLBag(PKCS12Safe parent) |
PKCS12CRLBag(PKCS12Safe parent,
ASN1Sequence s) |
PKCS12CRLBag(PKCS12Safe parent,
CRL crl) |
PKCS12CRLBag(PKCS12Safe parent,
java.io.InputStream is) |
| Modifier and Type | Method and Description |
|---|---|
CRL |
getCRL() |
void |
input(ASN1Sequence s)
Reconstructs this object from its representation as an ASN.1 sequence.
|
void |
input(java.io.InputStream is)
Reconstructs this object by reading its DER encoding from the
specified input stream.
|
int |
length()
Returns the length of this object's DER encoding.
|
void |
output(java.io.OutputStream os)
Outputs the DER encoding of this object to the specified output stream.
|
void |
setCRL(CRL crl) |
java.lang.String |
toString()
Returns a string representation of this object.
|
getFriendlyName, getLocalKeyID, inputBag, outputAttrsASN1, readExternal, setFriendlyName, setLocalKeyID, writeExternalpublic PKCS12CRLBag()
public PKCS12CRLBag(PKCS12Safe parent)
public PKCS12CRLBag(PKCS12Safe parent, CRL crl)
public PKCS12CRLBag(PKCS12Safe parent, java.io.InputStream is) throws java.io.IOException
java.io.IOExceptionpublic PKCS12CRLBag(PKCS12Safe parent, ASN1Sequence s) throws java.io.IOException
java.io.IOExceptionpublic void input(java.io.InputStream is)
throws java.io.IOException
is - the input stream from which this object will be readjava.io.IOExceptionpublic void input(ASN1Sequence s)
throws java.io.IOException
s - the ASN.1 sequence representation of this objectjava.io.IOExceptionpublic void output(java.io.OutputStream os)
throws java.io.IOException
os - the output stream to which the object will be writtenjava.io.IOExceptionpublic int length()
public CRL getCRL()
public void setCRL(CRL crl)
public java.lang.String toString()
toString in class java.lang.Object