Class CIDRNetmask
java.lang.Object
org.mozilla.jss.netscape.security.x509.CIDRNetmask
Netmask that is the number of significant bits.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoString()
protected void
write
(ByteBuffer buf) Write the netmask into a byte buffer.
-
Field Details
-
n
private int n
-
-
Constructor Details
-
CIDRNetmask
-
CIDRNetmask
public CIDRNetmask(int n)
-
-
Method Details
-
write
Write the netmask into a byte buffer. Throw InvalidNetmaskException if negative or if the size exceeds the size of the address type inferred from the remaining buffer space (which must be 4 bytes for IPv4 and 16 bytes for IPv6). exceeds the size of the buffer -
toString
-