public static base_responses create ( nitro_service client , sslcrl resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { sslcrl createresources [ ] = new sslcrl [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { createresources [ i ] = new sslcrl ( ) ; createresources [ i ] . cacertfile = resources [ i ] . cacertfile ; createresources [ i ] . cakeyfile = resources [ i ] . cakeyfile ; createresources [ i ] . indexfile = resources [ i ] . indexfile ; createresources [ i ] . revoke = resources [ i ] . revoke ; createresources [ i ] . gencrl = resources [ i ] . gencrl ; createresources [ i ] . password = resources [ i ] . password ; } result = perform_operation_bulk_request ( client , createresources , "create" ) ; } return result ; }
Use this API to create sslcrl resources .