|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xwiki.crypto.pkix.params.x509certificate.extension.X509IpAddress
@Unstable public class X509IpAddress
IP address general name.
Constructor Summary | |
---|---|
X509IpAddress(org.bouncycastle.asn1.x509.GeneralName name)
Create a new instance from a Bouncy Castle general name. |
|
X509IpAddress(InetAddress ipAddress)
Construct a IP address general name from an ip address. |
|
X509IpAddress(InetAddress ipAddress,
InetAddress ipMask)
Construct a IP address general name from an ip address. |
|
X509IpAddress(String ipAddress)
Construct a IP address general name from an ip address. |
Method Summary | |
---|---|
org.bouncycastle.asn1.x509.GeneralName |
getGeneralName()
|
InetAddress |
getIpAddress()
|
InetAddress |
getIpMask()
|
String |
getName()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public X509IpAddress(String ipAddress)
ipAddress
- the ip address.public X509IpAddress(InetAddress ipAddress)
ipAddress
- the ip address.public X509IpAddress(InetAddress ipAddress, InetAddress ipMask)
ipAddress
- the ip address.ipMask
- the ip mask.public X509IpAddress(org.bouncycastle.asn1.x509.GeneralName name)
name
- the Bouncy Castle general name.Method Detail |
---|
public InetAddress getIpAddress() throws UnknownHostException
UnknownHostException
- if the ip address is malformed.public InetAddress getIpMask() throws UnknownHostException
UnknownHostException
- if the ip mask is malformed.public String getName()
getName
in interface X509StringGeneralName
public org.bouncycastle.asn1.x509.GeneralName getGeneralName()
getGeneralName
in interface org.xwiki.crypto.pkix.internal.extension.BcGeneralName
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |