// Transport returns an http.Transport configured to use the client certificate from the sign response.
Transport returns an http.Transport configured to use the client certificate from the sign response.
// Transport returns an http . Transport configured to use the client certificate from the sign response .
func (c *Client) Transport(ctx context.Context, sign *api.SignResponse, pk crypto.PrivateKey, options ...TLSOption) (*http.Transport, error) {
	_, tr, err := c.getClientTLSConfig(ctx, sign, pk, options)
	if err != nil {
		return nil, err
	}
	return tr, nil
}
func ( c * Client ) Transport ( ctx context . Context , sign * api . SignResponse , pk crypto . PrivateKey , options ... TLSOption ) ( * http . Transport , error ) { _ , tr , err := c . getClientTLSConfig ( ctx , sign , pk , options ) if err != nil { return nil , err } return tr , nil }
Transport returns an http.Transport configured to use the client certificate from the sign response.
Transport returns an http . Transport configured to use the client certificate from the sign response .