Skip navigation links

Oracle Fusion Middleware PKI SDK OCSP Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10673-03


oracle.security.crypto.ocsp
Class CRLReferenceExtension

java.lang.Object
  extended by oracle.security.crypto.cert.X509Extension
      extended by oracle.security.crypto.ocsp.CRLReferenceExtension

All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, oracle.security.crypto.asn1.ASN1Object, oracle.security.crypto.util.Streamable

public class CRLReferenceExtension
extends oracle.security.crypto.cert.X509Extension

Represents a CRLReferenceExtension from RFC 2560.

See Also:
Serialized Form

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
CRLReferenceExtension()
          Create a new extension with the appropriate OID type.
CRLReferenceExtension(java.math.BigInteger crlNum)
          Creates a new extension.
CRLReferenceExtension(boolean critical)
          Creates a new extension.
CRLReferenceExtension(java.util.Date crlTime)
          Creates a new extension.
CRLReferenceExtension(java.io.InputStream is)
           
CRLReferenceExtension(java.lang.String crlUrl)
          Creates a new extension.

 

Method Summary
 java.math.BigInteger getCrlNum()
          Gets the crlNum parameter.
 java.util.Date getCrlTime()
          Gets the crlTime parameter.
 java.lang.String getCrlUrl()
          Gets the crlUrl parameter.
 void setCrlNum(java.math.BigInteger crlNum)
          Sets the crlNum parameter.
 void setCrlTime(java.util.Date crlTime)
          Sets the crlTime parameter.
 void setCrlUrl(java.lang.String crlUrl)
          Sets the crlUrl parameter.
 java.lang.String toString()
           

 

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

 

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

 

Constructor Detail

CRLReferenceExtension

public CRLReferenceExtension()
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.


CRLReferenceExtension

public CRLReferenceExtension(boolean critical)
Creates a new extension.
Parameters:
critical - true if this extension is critical, false otherwise.

CRLReferenceExtension

public CRLReferenceExtension(java.lang.String crlUrl)
Creates a new extension. By default, this extension will be non-critical.
Parameters:
crlUrl - The URL where the CRL can be found.

CRLReferenceExtension

public CRLReferenceExtension(java.math.BigInteger crlNum)
Creates a new extension. By default, this extension will be non-critical.
Parameters:
crlNum - The CRL number of the CRL.

CRLReferenceExtension

public CRLReferenceExtension(java.util.Date crlTime)
Creates a new extension. By default, this extension will be non-critical.
Parameters:
crlTime - The time when the CRL was issued.

CRLReferenceExtension

public CRLReferenceExtension(java.io.InputStream is)
                      throws java.io.IOException
Throws:
java.io.IOException

Method Detail

setCrlUrl

public void setCrlUrl(java.lang.String crlUrl)
Sets the crlUrl parameter.
Parameters:
crlUrl - The URL where the CRL can be found.

getCrlUrl

public java.lang.String getCrlUrl()
Gets the crlUrl parameter.
Returns:
A String representing the crlUrl.

setCrlNum

public void setCrlNum(java.math.BigInteger crlNum)
Sets the crlNum parameter.
Parameters:
crlNum - The CRL number of the CRL.

getCrlNum

public java.math.BigInteger getCrlNum()
Gets the crlNum parameter.
Returns:
A BigInteger representing the crlNum.

setCrlTime

public void setCrlTime(java.util.Date crlTime)
Sets the crlTime parameter.
Parameters:
crlTime - The time when the CRL was issued.

getCrlTime

public java.util.Date getCrlTime()
Gets the crlTime parameter.
Returns:
An Date representing the crlTime.

toString

public java.lang.String toString()
Overrides:
toString in class oracle.security.crypto.cert.X509Extension

Skip navigation links

Oracle Fusion Middleware PKI SDK OCSP Java API Reference for Oracle Security Developer Tools
11g Release 1 (11.1.1)

E10673-03


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