Verify Buffer (QYDOVFYB, QydoVerifyBuffer)


  Required Parameter Group:


  Service Program Name: QYDOBUFFER

  Default Public Authority: *USE

  Threadsafe: No

The Verify Buffer (OPM, QYDOVFYB; ILE, QydoVerifyBuffer) API allows the local system to verify that the series of bytes signed earlier has not been tampered with. It does this by verifying a digital signature for those bytes.


Authorities and Locks

API Public Authority
*USE.

Authority Required
None.

Required Parameter Group

Buffer to verify
INPUT; CHAR(*)

The buffer of data to be verified. Only the part of the object described in the Description of buffer to sign will be verified.

Description of buffer to verify
INPUT; CHAR(*)

Array of offsets and lengths to the data to be verified. The API will treat these bytes as if they were a contiguous stream of bytes.

The format of the description of the data to verify is in the following table. For detailed descriptions of the fields in this table, see Field Descriptions.


Number of descriptions to verify
INPUT; BINARY(4)

Number of offsets and lengths needed to describe data to be verified.

Signature to verify
INPUT; CHAR(*)

The signature to be verified. This signature will be checked against the data identified in the first two parameters to see if the data has changed since it was signed by this signature.

Length of signature to verify
INPUT; BINARY(4)

Length of the specified signature.

Certificate to verify signature
INPUT; CHAR(*)

The certificate that was used to create the signature. This certificate must be in the format described in the 'Format of the certificate' parameter.

Length of certificate to verify signature
INPUT; BINARY(4)

Length of the specified certificate.

Format of the certificate
INPUT; CHAR(8)

The format of the certificate to verify parameter:


Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Field Descriptions

Length of first series of bytes to verify The number of bytes, including the first byte in the series, to be included in the signature.

Length of next series of bytes to verify The number of bytes, including the first byte in the series, to be included in the signature.

Offset to start of first series of bytes to verify. An offset to the first byte of a series of 1 or more bytes of data to be included in the signature.

Pointer to start of next series of bytes to verify. An offset to the first byte of a series of 1 or more bytes of data to be included in the signature.


Error Messages



Introduced: V5R2


[ Back to top | Security APIs | APIs by category ]