public static base_responses update ( nitro_service client , sslcrl resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { sslcrl updateresources [ ] = new sslcrl [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { updateresources [ i ] = new sslcrl ( ) ; updateresources [ i ] . crlname = resources [ i ] . crlname ; updateresources [ i ] . refresh = resources [ i ] . refresh ; updateresources [ i ] . cacert = resources [ i ] . cacert ; updateresources [ i ] . server = resources [ i ] . server ; updateresources [ i ] . method = resources [ i ] . method ; updateresources [ i ] . url = resources [ i ] . url ; updateresources [ i ] . port = resources [ i ] . port ; updateresources [ i ] . basedn = resources [ i ] . basedn ; updateresources [ i ] . scope = resources [ i ] . scope ; updateresources [ i ] . interval = resources [ i ] . interval ; updateresources [ i ] . day = resources [ i ] . day ; updateresources [ i ] . time = resources [ i ] . time ; updateresources [ i ] . binddn = resources [ i ] . binddn ; updateresources [ i ] . password = resources [ i ] . password ; updateresources [ i ] . binary = resources [ i ] . binary ; } result = update_bulk_request ( client , updateresources ) ; } return result ; }
Use this API to update sslcrl resources .