Class SSLErrors


  • public class SSLErrors
    extends java.lang.Object
    This class provides access to useful NSS/SSL errors, getting their values from a JNI call. Note that it *isn't* an enum as the NSS wrappers return int. This saves us from having to wrap every NSS error in a class instance only to later unwrap it to make any useful calls.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int BAD_CERT_DOMAIN
      Certificate has a bad hostname.
    • Constructor Summary

      Constructors 
      Constructor Description
      SSLErrors()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • BAD_CERT_DOMAIN

        public static final int BAD_CERT_DOMAIN
        Certificate has a bad hostname. See also: in /usr/include/nss3/sslcerr.h
    • Constructor Detail

      • SSLErrors

        public SSLErrors()