Package org.jmrtd

Class AccessDeniedException

    • Constructor Detail

      • AccessDeniedException

        public AccessDeniedException​(String msg,
                                     int sw)
        Deprecated.
        Creates an exception.
        Parameters:
        msg - the message
        sw - status word or -1
      • AccessDeniedException

        public AccessDeniedException​(String msg,
                                     AccessKeySpec bacKey,
                                     int sw)
        Deprecated.
        Creates an exception.
        Parameters:
        msg - the message
        bacKey - the BAC entry that was tried, or null
        sw - status word or -1
    • Method Detail

      • getAccessKey

        public AccessKeySpec getAccessKey()
        Deprecated.
        Returns the BAC key that was tried before BAC failed.
        Returns:
        a BAC key