Destroy Algorithm Context (QC3DESAX, Qc3DestroyAlgorithmContext) API


  Required Parameter Group:

1 Algorithm context token Input Char(8)
2 Error code I/O Char(*)

  Service Program Name: QC3CTX

  Default Public Authority: *USE

  Threadsafe: Yes

The Destroy Algorithm Context (OPM, QC3DESAX; ILE, Qc3DestroyAlgorithmContext) API destroys an algorithm context created by the Create Algorithm Context (OPM, QC3CRTAX; ILE, Qc3CreateAlgorithmContext) API.


Authorities and Locks

Required API authority
*USE


Required Parameter Group

Algorithm context token
INPUT; CHAR(8)

The token of the algorithm context to destroy.

Error code
I/O; CHAR(*)

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


Error Messages

Message ID Error Message Text
CPF3C1E E Required parameter &1 omitted.
CPF3CF1 E Error code parameter not valid.
CPF9872 E Program or service program &1 in library &2 ended. Reason code &3.
CPF9DDA E Unexpected return code &1.
CPF9DF1 E The algorithm context token does not reference a valid algorithm context.
CPF9DF2 E The algorithm context is not found or was previously destroyed.



API introduced: V5R3

[ Back to top | Cryptographic Services APIs | APIs by category ]