Oracle Security Developer Tools Security Engine Java API Reference
10g Release 2 (10.1.2.0.2)

B15569-01


oracle.security.crypto.cert
Class PKCS12CRLBag

java.lang.Object
  extended byoracle.security.crypto.cert.PKCS12Bag
      extended byoracle.security.crypto.cert.PKCS12CRLBag


public class PKCS12CRLBag
extends PKCS12Bag

A PKCS #12 CRL bag for X.509 certificate revocation lists.


Constructor Summary
PKCS12CRLBag(PKCS12Safe parent)
PKCS12CRLBag(PKCS12Safe parent, CRL crl)
PKCS12CRLBag(PKCS12Safe parent, java.io.InputStream is)

Method Summary
CRL getCRL()
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.

Methods inherited from class oracle.security.crypto.cert.PKCS12Bag
getFriendlyName, getLocalKeyID, inputBag, outputAttrsASN1, setFriendlyName, setLocalKeyID

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

PKCS12CRLBag

public PKCS12CRLBag(PKCS12Safe parent)

PKCS12CRLBag

public PKCS12CRLBag(PKCS12Safe parent,
                    CRL crl)

PKCS12CRLBag

public PKCS12CRLBag(PKCS12Safe parent,
                    java.io.InputStream is)
             throws java.io.IOException

Method Detail

input

public void input(java.io.InputStream is)
           throws java.io.IOException
Reconstructs this object by reading its DER encoding from the specified input stream.
Parameters:
is - the input stream from which this object will be read
Throws:
java.io.IOException

output

public void output(java.io.OutputStream os)
            throws java.io.IOException
Outputs the DER encoding of this object to the specified output stream.
Parameters:
os - the output stream to which the object will be written
Throws:
java.io.IOException

length

public int length()
Returns the length of this object's DER encoding.
Returns:
the length of this object's DER encoding

getCRL

public CRL getCRL()

setCRL

public void setCRL(CRL crl)

toString

public java.lang.String toString()
Returns a string representation of this object.
Returns:
a string representation of this object

Oracle Security Developer Tools Security Engine Java API Reference
10g Release 2 (10.1.2.0.2)

B15569-01


Copyright © 2005 , Oracle. All rights reserved.