Stop using proprietary sun.security.x509.GeneralNameInterface
In the code, `sun.security.x509.GeneralNameInterface` is used. This implementation is not available in all JDKs, and can cause issues while debugging / running tests with other JDKs.
The implementation is used only for one constant definition. We can copy the constant value in our code, instead of depending on proprietary code.