configure the certificate chain to use when serving https responses . the first certificate is the server 's certificate , further certificates are included in the handshake so the client can build a trusted path to a ca certificate . concode_field_sep SslClient localhost concode_elem_sep List<X509Certificate> certificates concode_elem_sep SSLSocketFactory socketFactory concode_elem_sep List<X509Certificate> chainCertificates concode_elem_sep SSLContext sslContext concode_elem_sep X509TrustManager trustManager concode_elem_sep KeyPair keyPair concode_elem_sep String keyStoreType concode_field_sep SslClient localhost concode_elem_sep Builder keyStoreType concode_elem_sep SslClient build concode_elem_sep Builder addTrustedCertificate concode_elem_sep KeyStore newEmptyKeyStore
Builder function ( HeldCertificate arg0 , HeldCertificate ... arg1 ) { X509Certificate [ ] loc0 = new X509Certificate [ arg1 . length ] ; for ( int loc1 = 0 ; loc1 < arg1 . length ; loc1 ++ ) { loc0 [ loc1 ] = arg1 [ loc1 ] . certificate ; } return certificateChain ( arg0 . keyPair , arg0 . certificate , loc0 ) ; }