All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class netscape.security.x509.IPAddressName

netscape.security.x509.IPAddressName

public class IPAddressName
implements GeneralNameInterface
This class implements the IPAddressName as required by the GeneralNames ASN.1 object.

See Also:
GeneralName, GeneralNameInterface, GeneralNames

Constructor Index

 o IPAddressName(byte[])
Create the IPAddressName object with the specified name.
 o IPAddressName(DerValue)
Create the IPAddressName object from the passed encoded Der value.
 o IPAddressName(String)
Create the IPAddressName object with a string representing the ip address.

Method Index

 o encode(DerOutputStream)
Encode the IPAddress name into the DerOutputStream.
 o getType()
Return the type of the GeneralName.
 o toString()
Return a printable string of IPaddress

Constructors

 o IPAddressName
 public IPAddressName(DerValue derValue) throws IOException
Create the IPAddressName object from the passed encoded Der value.

Parameters:
s - derValue the encoded DER IPAddressName.
Throws: IOException
on error.
 o IPAddressName
 public IPAddressName(byte address[])
Create the IPAddressName object with the specified name.

Parameters:
s - name the IPAddressName.
 o IPAddressName
 public IPAddressName(String s)
Create the IPAddressName object with a string representing the ip address.

Parameters:
s - address the ip address in the format: a.b.c.d

Methods

 o getType
 public int getType()
Return the type of the GeneralName.

 o encode
 public void encode(DerOutputStream out) throws IOException
Encode the IPAddress name into the DerOutputStream.

Parameters:
s - out the DER stream to encode the IPAddressName to.
Throws: IOException
on encoding errors.
 o toString
 public String toString()
Return a printable string of IPaddress


All Packages  Class Hierarchy  This Package  Previous  Next  Index