Oracle Security Developer Tools Security Engine Java API Reference
10g (10.1.4.0.1)

B28175-01


oracle.security.crypto.cert.ext
Class CRLDistPointExtension

java.lang.Object
  extended byoracle.security.crypto.cert.X509Extension
      extended byoracle.security.crypto.cert.ext.CRLDistPointExtension

All Implemented Interfaces:
oracle.security.crypto.asn1.ASN1Object, oracle.security.crypto.util.Streamable

public class CRLDistPointExtension
extends X509Extension

Represents the CRL distribution points extension from RFC 2459. This extension should be non-critical.

See Also:
CRLDistPoint

Field Summary

 

Fields inherited from class oracle.security.crypto.cert.X509Extension
id_netscape_ce, id_netscape_ce_type, id_set_ce, id_set_ce_type, isDecoded

 

Constructor Summary
CRLDistPointExtension()
          Create a new extension with the appropriate OID type.
CRLDistPointExtension(CRLDistPoint crlDistPoint)
          Creates a new extension with the given CRL distribution point.
CRLDistPointExtension(CRLDistPoint crlDistPoint, boolean critical)
          Creates a new extension with the given CRL distribution point.
CRLDistPointExtension(java.io.InputStream is)
           

 

Method Summary
 void addCRLDistPoint(CRLDistPoint crlDistPoint)
          Adds a CRL distribution point.
 java.util.Vector getCRLDistPoints()
          Gets the CRL distribution points for this extension.
 java.lang.String toString()
          Returns a string representation of this object.

 

Methods inherited from class oracle.security.crypto.cert.X509Extension
getASN1Value, getCritical, getID, getType, getValue, input, input, inputInstance, isRecognized, length, output, setCritical, setValue

 

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

 

Constructor Detail

CRLDistPointExtension

public CRLDistPointExtension()
Create a new extension with the appropriate OID type.

Note: An object created using this constructor may not be in a valid state. This constructor is intended primarily for use in conjunction with the X509Extension.input(java.io.InputStream) method.


CRLDistPointExtension

public CRLDistPointExtension(CRLDistPoint crlDistPoint)
Creates a new extension with the given CRL distribution point. Extension is non-critical.
Parameters:
crlDistPoint - A CRLDistPoint representing the way to access CRL information.

CRLDistPointExtension

public CRLDistPointExtension(CRLDistPoint crlDistPoint,
                             boolean critical)
Creates a new extension with the given CRL distribution point.
Parameters:
crlDistPoint - A CRLDistPoint representing the way to access CRL information.
critical - true if this extension is critical, false otherwise.

CRLDistPointExtension

public CRLDistPointExtension(java.io.InputStream is)
                      throws java.io.IOException

Method Detail

addCRLDistPoint

public void addCRLDistPoint(CRLDistPoint crlDistPoint)
Adds a CRL distribution point.
Parameters:
crlDistPoint - A CRLDistPoint representing the way to access CRL information.

getCRLDistPoints

public java.util.Vector getCRLDistPoints()
Gets the CRL distribution points for this extension.
Returns:
A Vector of CRLDistPoint objects representing the way to access CRL information.

toString

public java.lang.String toString()
Description copied from class: X509Extension
Returns a string representation of this object.
Overrides:
toString in class X509Extension
Returns:
a string representation

Oracle Security Developer Tools Security Engine Java API Reference
10g (10.1.4.0.1)

B28175-01


Copyright © 2005 ,2006 , Oracle. All rights reserved.