Class RACFResults

java.lang.Object
com.ibm.crypto.zsecurity.provider.RACFResults

public class RACFResults extends Object
This class is a wrapper for results returned by JNI calls to the RACF R_datalib callable service.
  • Constructor Details

    • RACFResults

      public RACFResults()
      Constructor for RACFResults.
  • Method Details

    • checkResults

      public void checkResults() throws IOException
      Evaluate the R_datalib return and reason codes, and throw an exception if needed.
      Throws:
      IOException - if there is an issue parsing RACF results, or if R_datalib return and reason codes indicate an error.
    • zByteArrayToString

      public static String zByteArrayToString(byte[] inBytes) throws IOException
      Converts an EBCDIC Cp1047 byte array into a Java String object.
      Parameters:
      inBytes - input EBCDIC byte array to be converted
      Returns:
      the converted Java String.
      Throws:
      IOException