Class CKReturnValues


  • public class CKReturnValues
    extends Object
    Defines a subset of the CK return values.
    Author:
    Kobus Grobler
    • Method Detail

      • getErrorMessage

        public static String getErrorMessage​(long ckr)
        Returns a text message for the specified CryptoKey return code. Note: not all CKR have been assigned individual messages here.
        Parameters:
        ckr - the CKR_xxx code
        Returns:
        a text message for the specified CryptoKey return code.