Validates the length of the passed IP address (+ optional subents, as this class can be used both as SAN or nameConstraints)
SAN / IAN: a bare address of 4 (IPv4) or 16 (IPv6) octets.
nameConstraints: address + subnet mask of 8 (IPv4) or 32 (IPv6) octets.