private void certificateFileSanityChecks ( File certFile ) { if ( ! certFile . exists ( ) ) throw new VOMSError ( "Local VOMS trusted certificate does not exist:" + certFile . getAbsolutePath ( ) ) ; if ( ! certFile . canRead ( ) ) throw new VOMSError ( "Local VOMS trusted certificate is not readable:" + certFile . getAbsolutePath ( ) ) ; }
Performs basic sanity checks performed on a file supposed to hold a VOMS AA certificate .