public static base_responses add ( nitro_service client , sslaction resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { sslaction addresources [ ] = new sslaction [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources [ i ] = new sslaction ( ) ; addresources [ i ] . name = resources [ i ] . name ; addresources [ i ] . clientauth = resources [ i ] . clientauth ; addresources [ i ] . clientcert = resources [ i ] . clientcert ; addresources [ i ] . certheader = resources [ i ] . certheader ; addresources [ i ] . clientcertserialnumber = resources [ i ] . clientcertserialnumber ; addresources [ i ] . certserialheader = resources [ i ] . certserialheader ; addresources [ i ] . clientcertsubject = resources [ i ] . clientcertsubject ; addresources [ i ] . certsubjectheader = resources [ i ] . certsubjectheader ; addresources [ i ] . clientcerthash = resources [ i ] . clientcerthash ; addresources [ i ] . certhashheader = resources [ i ] . certhashheader ; addresources [ i ] . clientcertissuer = resources [ i ] . clientcertissuer ; addresources [ i ] . certissuerheader = resources [ i ] . certissuerheader ; addresources [ i ] . sessionid = resources [ i ] . sessionid ; addresources [ i ] . sessionidheader = resources [ i ] . sessionidheader ; addresources [ i ] . cipher = resources [ i ] . cipher ; addresources [ i ] . cipherheader = resources [ i ] . cipherheader ; addresources [ i ] . clientcertnotbefore = resources [ i ] . clientcertnotbefore ; addresources [ i ] . certnotbeforeheader = resources [ i ] . certnotbeforeheader ; addresources [ i ] . clientcertnotafter = resources [ i ] . clientcertnotafter ; addresources [ i ] . certnotafterheader = resources [ i ] . certnotafterheader ; addresources [ i ] . owasupport = resources [ i ] . owasupport ; } result = add_bulk_request ( client , addresources ) ; } return result ; }
Use this API to add sslaction resources .