Class RACFResults


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

      Constructors 
      Constructor Description
      RACFResults()
      Constructor for com.ibm.crypto.provider.RACFResults.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void checkResults()
      Evaluate the R_datalib return and reason codes, and throw an exception if needed.
      static java.lang.String zByteArrayToString​(byte[] inBytes)
      Converts an EBCDIC Cp1047 byte array into a Java String object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RACFResults

        public RACFResults()
        Constructor for com.ibm.crypto.provider.RACFResults.
    • Method Detail

      • checkResults

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

        public static java.lang.String zByteArrayToString​(byte[] inBytes)
                                                   throws java.io.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:
        java.io.IOException