if (e instanceof sun.security.pkcs11.wrapper.PKCS11Exception) { if ("CKR_PIN_INCORRECT".equals(e.getMessage())) { throw new DSSBadPasswordException(MSG.PKCS11_BAD_PASSWORD, e);
throw new DSSBadPasswordException(MSG.PKCS12_BAD_PASSWORD);
if (e instanceof sun.security.pkcs11.wrapper.PKCS11Exception) { if ("CKR_PIN_INCORRECT".equals(e.getMessage())) { throw new DSSBadPasswordException(MSG.PKCS11_BAD_PASSWORD, e);
throw new DSSBadPasswordException(MSG.PKCS12_BAD_PASSWORD);