RMNet function calls. Parameters: Usage: Micro Focus. RM/COBOL Development System - RMNET

Similar documents
Create Decryption Policies to Control HTTPS Traffic

How to Set Up External CA VPN Certificates

Lecture 7b: HTTP. Feb. 24, Internet and Intranet Protocols and Applications

Configuring SSL CHAPTER

Configuring SSL. SSL Overview CHAPTER

Cisco has more than 200 offices worldwide. Addresses, phone numbers, and fax numbers are listed on the Cisco website at

Configuring SSL. SSL Overview CHAPTER

Configuring Traffic Policies

ISY994 Series Network Security Configuration Guide Requires firmware version Requires Java 1.8+

Creating and Installing SSL Certificates (for Stealthwatch System v6.10)

Managing Certificates

Princess Nora Bint Abdulrahman University College of computer and information sciences Networks department Networks Security (NET 536)

But where'd that extra "s" come from, and what does it mean?

Assignment pts

Software Description Application Software OTT Hydras 3 net

Contents. SSL-Based Services: HTTPS and FTPS 2. Generating A Certificate 2. Creating A Self-Signed Certificate 3. Obtaining A Signed Certificate 4

Configuring Virtual Servers

Manage Certificates. Certificates Overview

How to Configure SSL Interception in the Firewall

How to Set Up VPN Certificates

CKO2 - XML Protocols. CKO2 outputs - A2A general description. NBB - IT Department. IT Applications - PRSM. Date: 12/05/2011. Document version: V0.

On-demand target, up and running

httplib2 Release 0.4

SSL Accelerated Service Configuration Mode Commands

Configuring the VPN Client 3.x to Get a Digital Certificate

UCS Manager Communication Services

Nasuni Data API Nasuni Corporation Boston, MA

Cryptography SSL/TLS. Network Security Workshop. 3-5 October 2017 Port Moresby, Papua New Guinea

Displaying SSL Configuration Information and Statistics

SAP API Management Cloud Connector PUBLIC

FortiNAC. Analytics SSL Certificates. Version: 5.x Date: 8/28/2018. Rev: D

Scan Report Executive Summary

Load Balancing VMware Workspace Portal/Identity Manager

Nasuni Data API Nasuni Corporation Boston, MA

App Orchestration 2.6

Certificate Renewal on Cisco Identity Services Engine Configuration Guide

Step-by-step installation guide for monitoring untrusted servers using Operations Manager

Configuring SSL Security

Using the Cisco ACE Application Control Engine Application Switches with the Cisco ACE XML Gateway

Composer Help. Web Request Common Block

BIG-IP System: SSL Administration. Version

Attestation Service for Intel Software Guard Extensions (Intel SGX): API Documentation. Revision: 3.0

PKI Trustpool Management

Scan Report Executive Summary

Transport Level Security

CNIT 129S: Securing Web Applications. Ch 3: Web Application Technologies

6 Public Key Infrastructure 6.1 Certificates Structure of an X.509 certificate X.500 Distinguished Name and X.509v3 subjectalternativename

VMware Identity Manager Connector Installation and Configuration (Legacy Mode)

Installing and Configuring vcloud Connector

Computer Networks. Wenzhong Li. Nanjing University

Technical Guideline TR eid-client Part 2: Conformance Test Specification. Version 1.3

File submissions to VINN and KRITA

Transport Layer Security

TABLE OF CONTENTS INTRODUCTION

CSCE 715: Network Systems Security

OCSP Client Tool V2.2 User Guide

Please select your version

Web Services User Guide

Using the Terminal Services Gateway Lesson 10

Venafi Server Agent Agent Overview

VMware AirWatch Content Gateway for Windows. VMware Workspace ONE UEM 1811 Unified Access Gateway

The World Wide Web is widely used by businesses, government agencies, and many individuals. But the Internet and the Web are extremely vulnerable to

Android Mobile Single Sign-On to VMware Workspace ONE. SEP 2018 VMware Workspace ONE VMware Identity Manager VMware Identity Manager 3.

Configuring Certificate Authorities and Digital Certificates

X.509 Certificate Integration Kit 1.2

Implementing Secure Socket Layer

How to configure the UTM Web Application Firewall for Microsoft Lync Web Services connectivity

This document describes the configuration of Secure Sockets Layer (SSL) decryption on the FirePOWER Module using ASDM (On-Box Management).

Internet Architecture. Web Programming - 2 (Ref: Chapter 2) IP Software. IP Addressing. TCP/IP Basics. Client Server Basics. URL and MIME Types HTTP

Action List Modify Configuration Mode Commands

MSE System and Appliance Hardening Guidelines

DPI-SSL. DPI-SSL Overview

Configuring Traffic Policies for Server Load Balancing

Send documentation comments to

United States Postal Service Web Tool Kit User s Guide

WHITE PAPER. Authentication and Encryption Design

vcloud Director API for NSX Programming Guide

Avro Specification

Acano solution. Third Party Call Control Guide. 07 June G

SSH Communications Tectia SSH

VMware Horizon Client for Windows 10 UWP User Guide. Modified on 21 SEP 2017 VMware Horizon Client for Windows 10 UWP 4.6

SHAKEN - Secure Handling of Asserted information using tokens. August 2015

Acano solution. Third Party Call Control Guide. December F

ProxyCap Help. Table of contents. Configuring ProxyCap Proxy Labs

FIPS Management. FIPS Management Overview. Configuration Changes in FIPS Mode

CoreBlox Integration Kit. Version 2.2. User Guide

TABLE OF CONTENTS. INSIDE Secure All rights reserved

Hypertext Transfer Protocol Over Secure Sockets Layer (HTTPS)

L2TP Over IPsec Between Windows 2000 and VPN 3000 Concentrator Using Digital Certificates Configuration Example

Bugzilla ID: Bugzilla Summary:

Coding & Information Theory Lab.

Telemetry Data Sharing Using S/MIME

Configuring End-to-End SSL

How to Enable Client Certificate Authentication on Avi

ConnectUPS-X / -BD /-E How to use and install SSL, SSH

VMware AirWatch Content Gateway for Linux. VMware Workspace ONE UEM 1811 Unified Access Gateway

Auditing TPM Commands

CGI Architecture Diagram. Web browser takes response from web server and displays either the received file or error message.

Mavenir Systems Inc. SSX-3000 Security Gateway

Package PKI. September 16, 2017

Transcription:

RMNet function calls All the calls except NetGetError, NetCleanup, and NetFree return a which, when nonzero, the string Free the errorpointer with NetFree. HttpPost This function initiates an HTTP POST request and waits for a response. The HTTP POST method is used to submit data to be processed by the identified resource. The data is included in the body of the request. call "HttpPost" using destination-url content-type request-pointer response-pointer [extra-headers] destination-url content-type request-pointer response-pointer extra-headers An alphanumeric item specifying the target URL for the POST. An alphanumeric item specifying the value of the ContentType HTTP header variable. A pointer to an alphanumeric item whose value comprises the content of the POST. A pointer to an alphanumeric item specifying the value of the HTTP response. After use, use NetFree to return memory used to store response. An optional alphanumeric item specifying extra headers to be added to the HTTP header. This argument consists of name/value pairs separated by hex x 00, and ended with two x 00 s. HttpGet This function initiates an HTTP GET request and waits for a response. The HTTP GET method is used to request a representation of the specified resource. call "HttpGet" using 1

destination-url response-pointer [extra-headers] destination-url response-pointer extra-headers An alphanumeric item specifying the target URL for the GET. A pointer to an alphanumeric item specifying the value of the HTTP response. After use, use NetFree to return memory used to store response. An optional alphanumeric item specifying extra headers to be added to the HTTP header. This argument consists of name/value pairs separated by hex x 00, and ended with two x 00 s. HttpGetReturnCode This function is used to return the three-digit HTTP status code from the last HTTP request. call "HttpGetReturnCode" using http-return-code http-return-code A three-digit RFC2616 compliant http status code. A status code that if nonzero the request encountered an error. HttpSetCookieFile This function will enable cookies in the current RMNet session and, optionally, can specify the location of a file used to store and retrieve cookies in Mozilla or Netscape cookie format. call "HttpSetCookieFile" [using cookie-file] 2

cookie-file An optional alphanumeric item specifying the location of a file used to store and retrieve cookies in Mozilla or Netscape cookie format. You may repeat the call for multiple cookie files. If given a blank or bad cookie-file then the call will merely enable Cookies for the current RMNet session. HttpSetEncoding This function sets the contents of the Accept-Encoding header sent in an HTTP request, and enables decoding of a response when a Content-Encoding header is received. This is a request, not an order; the server may or may not do it. call "HttpSetEncoding" [using encode-type] encode-type An optional alphanumeric item specifying the supported HTTP content encoding type. Three encodings are supported: "identity", which does nothing, "deflate" which requests the server to compress its response using the zlib algorithm, and "gzip" which requests the gzip algorithm. If the encode-type argument is not supplied, then an Accept-Encoding header containing all supported encodings is sent. HttpSetResponseHeader This function will enable or disable the inclusion of HTTP response headers in the XML response document. call "HttpSetResponseHeader using http-header-flag 3

http-header-flag A numeric item. If this item is set to "1" the HTTP response headers will be included in the XML output. This function must be called again with httpheader-flag set to "0" to disable the inclusion of HTTP response headers. NetInit This function initializes the RMNet session and must be called before any other RMNet calls; otherwise, an error code will be returned in call "NetInit" A status code that if nonzero the request encountered an error. NetCleanup This function frees up all of the resources owned by an RMNet session. If you call this, and wish to create another RMNet session, you must call NetInit again. Any response and error pointers retrieved by NetGetError and the Get/Post functions must be freed by the caller. call "NetCleanup". NetSetProxyServer This function will set the HTTP proxy to use. Error codes will be returned in call "NetSetProxyServer" using 4

proxy-server proxy-server An alphanumeric item specifying the host name or dotted IP address of proxy server. To specify the port number, append :[port] to the end of the host name. NetSetSSLCA This function is used to specify a file containing one, or more, certificates of public Certificate Authorities. The certificates must be in PEM format. call "NetSetSSLCA" using public-ca-file public-ca-file An alphanumeric item specifying the location of a file containing accepted public certificate authorities. (Default: ca-bundle.crt supplied in the zip file.) NetSetSSLCert This function is used to specify the location of a file containing a client-side Secure Sockets Layer (SSL) certificate. call "NetSetSSLCert" using public-cert-file 5

public-cert-file An alphanumeric item specifying the location of a file containing a PEM formatted certificate. NetSetSSLKey This function is used to specify the location of a file containing a Sockets Layer (SSL) private key file. The private key file must be in PEM format. call "NetSetSSLKey" using private-key-file private-key-file An alphanumeric item specifying the location of a file containing the file name of a PEM formatted private key. NetSetKeyPassword This function is used to specify the password required to load your SSL private key file. call "NetSetKeyPassword" using private-key-password private-key-password An alphanumeric item containing the password required for your SSL private key. 6

NetSSLVerifyPeer Micro Focus This function will enable or disable the SSL peer verification. This will determine whether RMNet verifies the authenticity of the peer s certificate, i.e. that you can trust that the server is who the certificate says it is. This trust is based on a chain of digital signatures, rooted in certification authorities located in your certificate authorities bundle. call "NetSSLVerifyPeer using SSL-verifypeer-flag SSL-verifypeer-flag A numeric item. If this item is set to "1" RMnet will verify the authenticity of the peer s certificate (default), if set to 0, peer certificate authenticity will not be verified. NetGetError This function is used to return the text of an error from the last RMNet operation. call "NetGetError" error-pointer. error-pointer A pointer to an alphanumeric item describing the error that occurred during the transaction, if any. After use, use NetFree to return memory used to store response. NetFree This function is used to free the memory of a pointer given by RMNet. 7

call "NetFree" using pointer-to-free. pointer-to-free A pointer given by RMNet that caller wishes to free. Use this function only for pointers that have been given to caller by RMNet. 8