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
-
IPAddressName(byte[])
- Create the IPAddressName object with the specified name.
-
IPAddressName(DerValue)
- Create the IPAddressName object from the passed encoded Der value.
-
IPAddressName(String)
- Create the IPAddressName object with a string representing the
ip address.
-
encode(DerOutputStream)
- Encode the IPAddress name into the DerOutputStream.
-
getType()
- Return the type of the GeneralName.
-
toString()
- Return a printable string of IPaddress
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.
IPAddressName
public IPAddressName(byte address[])
- Create the IPAddressName object with the specified name.
- Parameters:
- s - name the IPAddressName.
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
getType
public int getType()
- Return the type of the GeneralName.
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.
toString
public String toString()
- Return a printable string of IPaddress
All Packages Class Hierarchy This Package Previous Next Index