Skip navigation links

Oracle Security Developer Tools Security Engine Java API Reference
11g (11.1.1)

E10674-02


oracle.security.crypto.cert
Class CRLDistPointName

java.lang.Object
  extended by oracle.security.crypto.cert.CRLDistPointName

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

public class CRLDistPointName
extends java.lang.Object
implements oracle.security.crypto.asn1.ASN1Object, java.io.Externalizable

The name of a CRL distribution point name, as defined in RFC 2459. Used in IssuingDistPointExtension.

See Also:
Serialized Form

Constructor Summary
CRLDistPointName()
          Creates a new empty instance.
CRLDistPointName(GeneralName name)
          Create a new CRLDistPointName with the given GeneralName.
CRLDistPointName(java.io.InputStream is)
          Create a new CRLDistPointName by reading its encoded value from the given input stream.
CRLDistPointName(java.util.Vector fullName)
          Create a new CRLDistPointName with the given vector of GeneralName.
CRLDistPointName(X500RDN relativeName)
          Create a new CRLDistPointName with the given relative distinguished name (relative to the CRL issuer's name).

 

Method Summary
 void addGeneralName(GeneralName name)
          Add a GeneralName to this CRLDistPointName's full name.
 java.util.Vector getFullName()
          Get the full name for this distribution point name.
 X500RDN getRelativeName()
          Get the name for this distribution point name, relative to the name of the CRL's issuer.
 void input(java.io.InputStream is)
           
 int length()
           
 void output(java.io.OutputStream os)
           
 void readExternal(java.io.ObjectInput is)
           
 void writeExternal(java.io.ObjectOutput os)
           

 

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

 

Constructor Detail

CRLDistPointName

public CRLDistPointName()
Creates a new empty instance. This constructor is to be used with serialization or with the input method.

CRLDistPointName

public CRLDistPointName(GeneralName name)
Create a new CRLDistPointName with the given GeneralName.

CRLDistPointName

public CRLDistPointName(java.util.Vector fullName)
Create a new CRLDistPointName with the given vector of GeneralName.

CRLDistPointName

public CRLDistPointName(X500RDN relativeName)
Create a new CRLDistPointName with the given relative distinguished name (relative to the CRL issuer's name).

CRLDistPointName

public CRLDistPointName(java.io.InputStream is)
                 throws java.io.IOException
Create a new CRLDistPointName by reading its encoded value from the given input stream.
Throws:
java.io.IOException

Method Detail

addGeneralName

public void addGeneralName(GeneralName name)
Add a GeneralName to this CRLDistPointName's full name.

getFullName

public java.util.Vector getFullName()
Get the full name for this distribution point name.
Returns:
a Vector of GeneralNames, or null if none is defined.

getRelativeName

public X500RDN getRelativeName()
Get the name for this distribution point name, relative to the name of the CRL's issuer.
Returns:
a X500RDN, or null if none is defined.

input

public void input(java.io.InputStream is)
           throws java.io.IOException
Specified by:
input in interface oracle.security.crypto.util.Streamable
Throws:
java.io.IOException

output

public void output(java.io.OutputStream os)
            throws java.io.IOException
Specified by:
output in interface oracle.security.crypto.util.Streamable
Throws:
java.io.IOException

length

public int length()
Specified by:
length in interface oracle.security.crypto.util.Streamable

writeExternal

public void writeExternal(java.io.ObjectOutput os)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput is)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException

Skip navigation links

Oracle Security Developer Tools Security Engine Java API Reference
11g (11.1.1)

E10674-02


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