Skip navigation links

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

E10674-02


oracle.security.crypto.cert.ext
Class IssuerAltNameExtension

java.lang.Object
  extended by oracle.security.crypto.cert.X509Extension
      extended by oracle.security.crypto.cert.ext.IssuerAltNameExtension

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

public class IssuerAltNameExtension
extends X509Extension

Represents the certificate extension Issuer Alternative Name from RFC 2459. This extension is non-critical.

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
IssuerAltNameExtension()
          Create a new extension with the appropriate OID type.
IssuerAltNameExtension(GeneralName issuerAltName)
          Creates a new extension with the specified alternative name.
IssuerAltNameExtension(GeneralName issuerAltName, boolean critical)
          Creates a new extension with the specified alternative name.
IssuerAltNameExtension(java.io.InputStream is)
           
IssuerAltNameExtension(java.util.Vector issuerAltName)
          Creates a new extension with the specified alternative name.
IssuerAltNameExtension(java.util.Vector issuerAltName, boolean critical)
          Creates a new extension with the specified alternative name.

 

Method Summary
 void addIssuerAltName(GeneralName name)
           
 java.util.Enumeration issuerAltName()
          Gets the issuer alternative name of this extension.
 java.lang.String toString()
          Returns a string representation of this object.

 

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

IssuerAltNameExtension

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


IssuerAltNameExtension

public IssuerAltNameExtension(GeneralName issuerAltName)
Creates a new extension with the specified alternative name. Extension is non-critical.
Parameters:
issuerAltName - The issuer alternative name.

IssuerAltNameExtension

public IssuerAltNameExtension(GeneralName issuerAltName,
                              boolean critical)
Creates a new extension with the specified alternative name.
Parameters:
issuerAltName - The issuer alternative name.
critical - true if this extension is critical, false otherwise.

IssuerAltNameExtension

public IssuerAltNameExtension(java.util.Vector issuerAltName)
Creates a new extension with the specified alternative name. Extension is non-critical.
Parameters:
issuerAltName - A Vector of GeneralNames for the issuer alternative name.

IssuerAltNameExtension

public IssuerAltNameExtension(java.util.Vector issuerAltName,
                              boolean critical)
Creates a new extension with the specified alternative name.
Parameters:
issuerAltName - A Vector of GeneralNames for the issuer alternative name.
critical - true if this extension is critical, false otherwise.

IssuerAltNameExtension

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

Method Detail

issuerAltName

public java.util.Enumeration issuerAltName()
Gets the issuer alternative name of this extension.
Returns:
An Enumeration of GeneralNames representing the issuer alternative name.

addIssuerAltName

public void addIssuerAltName(GeneralName name)

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

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.