summaryrefslogtreecommitdiff
path: root/smcc/src/main/java
diff options
context:
space:
mode:
authorTobias Kellner <tobias.kellner@iaik.tugraz.at>2015-10-27 20:12:12 +0100
committerTobias Kellner <tobias.kellner@iaik.tugraz.at>2015-10-27 20:12:12 +0100
commit0ba96b399d70eac60ece03f4e438125736169d5b (patch)
tree8f687acf50129eb84911ea1cf959ccb55dfbf885 /smcc/src/main/java
parent1e833166646372f3a44602c18fd8e2a172763026 (diff)
downloadmocca-0ba96b399d70eac60ece03f4e438125736169d5b.tar.gz
mocca-0ba96b399d70eac60ece03f4e438125736169d5b.tar.bz2
mocca-0ba96b399d70eac60ece03f4e438125736169d5b.zip
JavaDoc fixes
Diffstat (limited to 'smcc/src/main/java')
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/PINConfirmationException.java2
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/PINFormatException.java2
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/PINOperationAbortedException.java2
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/SignatureCard.java4
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/conf/SMCCConfiguration.java2
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/pin/gui/ModifyPINProvider.java4
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/pin/gui/PINGUI.java3
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/pin/gui/PINProvider.java4
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/reader/CardReader.java2
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/reader/DefaultCardReader.java2
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/reader/PinpadCardReader.java2
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/reader/ReaderFactory.java2
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/util/LinuxLibraryFinder.java4
-rw-r--r--smcc/src/main/java/org/openecard/scio/osx/PlatformPCSC.java4
-rw-r--r--smcc/src/main/java/org/openecard/scio/osx/SunOSXPCSC.java8
-rw-r--r--smcc/src/main/java/org/openecard/scio/osx/package-info.java2
16 files changed, 25 insertions, 24 deletions
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/PINConfirmationException.java b/smcc/src/main/java/at/gv/egiz/smcc/PINConfirmationException.java
index 2299061e..9aee4ca8 100644
--- a/smcc/src/main/java/at/gv/egiz/smcc/PINConfirmationException.java
+++ b/smcc/src/main/java/at/gv/egiz/smcc/PINConfirmationException.java
@@ -28,7 +28,7 @@ package at.gv.egiz.smcc;
* TODO check whether card readers distinguish specific reason (pin too short?)
* and add getters/setters
*
- * @author Clemens Orthacker <clemens.orthacker@iaik.tugraz.at>
+ * @author Clemens Orthacker &lt;clemens.orthacker@iaik.tugraz.at&gt;
*/
public class PINConfirmationException extends SignatureCardException {
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/PINFormatException.java b/smcc/src/main/java/at/gv/egiz/smcc/PINFormatException.java
index ef861b23..272ce69d 100644
--- a/smcc/src/main/java/at/gv/egiz/smcc/PINFormatException.java
+++ b/smcc/src/main/java/at/gv/egiz/smcc/PINFormatException.java
@@ -28,7 +28,7 @@ package at.gv.egiz.smcc;
* TODO check whether card readers distinguish specific reason (pin too short?)
* and add getters/setters
*
- * @author Clemens Orthacker <clemens.orthacker@iaik.tugraz.at>
+ * @author Clemens Orthacker &lt;clemens.orthacker@iaik.tugraz.at&gt;
*/
public class PINFormatException extends SignatureCardException {
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/PINOperationAbortedException.java b/smcc/src/main/java/at/gv/egiz/smcc/PINOperationAbortedException.java
index 1f3055e4..3c5f201b 100644
--- a/smcc/src/main/java/at/gv/egiz/smcc/PINOperationAbortedException.java
+++ b/smcc/src/main/java/at/gv/egiz/smcc/PINOperationAbortedException.java
@@ -28,7 +28,7 @@ package at.gv.egiz.smcc;
* TODO check whether card readers distinguish specific reason (pin too short?)
* and add getters/setters
*
- * @author Clemens Orthacker <clemens.orthacker@iaik.tugraz.at>
+ * @author Clemens Orthacker &lt;clemens.orthacker@iaik.tugraz.at&gt;
*/
public class PINOperationAbortedException extends SignatureCardException {
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/SignatureCard.java b/smcc/src/main/java/at/gv/egiz/smcc/SignatureCard.java
index b3cbaec8..b7c2b9a6 100644
--- a/smcc/src/main/java/at/gv/egiz/smcc/SignatureCard.java
+++ b/smcc/src/main/java/at/gv/egiz/smcc/SignatureCard.java
@@ -102,7 +102,7 @@ public interface SignatureCard {
/**
*
* @param infobox
- * @param provider
+ * @param pinGUI
* @param domainId may be null.
* @return
* @throws SignatureCardException
@@ -115,7 +115,7 @@ public interface SignatureCard {
*
* @param input
* @param keyboxName
- * @param provider
+ * @param pinGUI
* @param alg TODO
* @return
* @throws at.gv.egiz.smcc.SignatureCardException
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/conf/SMCCConfiguration.java b/smcc/src/main/java/at/gv/egiz/smcc/conf/SMCCConfiguration.java
index a1801da5..58872409 100644
--- a/smcc/src/main/java/at/gv/egiz/smcc/conf/SMCCConfiguration.java
+++ b/smcc/src/main/java/at/gv/egiz/smcc/conf/SMCCConfiguration.java
@@ -27,7 +27,7 @@ package at.gv.egiz.smcc.conf;
/**
*
- * @author Clemens Orthacker <clemens.orthacker@iaik.tugraz.at>
+ * @author Clemens Orthacker &lt;clemens.orthacker@iaik.tugraz.at&gt;
*/
public class SMCCConfiguration {
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/pin/gui/ModifyPINProvider.java b/smcc/src/main/java/at/gv/egiz/smcc/pin/gui/ModifyPINProvider.java
index 2d1ec970..dd24599b 100644
--- a/smcc/src/main/java/at/gv/egiz/smcc/pin/gui/ModifyPINProvider.java
+++ b/smcc/src/main/java/at/gv/egiz/smcc/pin/gui/ModifyPINProvider.java
@@ -35,13 +35,13 @@ import at.gv.egiz.smcc.PinInfo;
* <li> new pin (pin activation, no current pin)
* <li> puk and new pin (probably verify only?)
* </ul>
- * @author Clemens Orthacker <clemens.orthacker@iaik.tugraz.at>
+ * @author Clemens Orthacker &lt;clemens.orthacker@iaik.tugraz.at&gt;
*/
public interface ModifyPINProvider {
/**
*
- * @param spec
+ * @param pinInfo
* @param retries
* @return null if no old value for this pin
* @throws at.gv.egiz.smcc.CancelledException if cancelled by user
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/pin/gui/PINGUI.java b/smcc/src/main/java/at/gv/egiz/smcc/pin/gui/PINGUI.java
index 06d5df60..dcf99a09 100644
--- a/smcc/src/main/java/at/gv/egiz/smcc/pin/gui/PINGUI.java
+++ b/smcc/src/main/java/at/gv/egiz/smcc/pin/gui/PINGUI.java
@@ -39,7 +39,8 @@ public interface PINGUI extends PINProvider {
throws CancelledException, InterruptedException;
/**
- * @throws CancelledException, InterruptedException if signature-data dialog is interrupted or cancelled
+ * @throws CancelledException if signature-data dialog is cancelled
+ * @throws InterruptedException if signature-data dialog is interrupted
*/
void enterPIN(PinInfo pinInfo, int retries)
throws CancelledException, InterruptedException;
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/pin/gui/PINProvider.java b/smcc/src/main/java/at/gv/egiz/smcc/pin/gui/PINProvider.java
index ef954dd8..b740c0ad 100644
--- a/smcc/src/main/java/at/gv/egiz/smcc/pin/gui/PINProvider.java
+++ b/smcc/src/main/java/at/gv/egiz/smcc/pin/gui/PINProvider.java
@@ -37,7 +37,7 @@ import at.gv.egiz.smcc.PinInfo;
*
* (ACOS: reload counter: between 0 and 15, where 15 meens deactivated)
*
- * @author Clemens Orthacker <clemens.orthacker@iaik.tugraz.at>
+ * @author Clemens Orthacker &lt;clemens.orthacker@iaik.tugraz.at&gt;
*/
public interface PINProvider {
@@ -45,7 +45,7 @@ public interface PINProvider {
* TODO change interface to void providePIN(char[] pin, pinspec, retries)
* to allow caller to clear pin afterwards.
*
- * @param spec
+ * @param pinSpec
* @param retries num of remaining retries or -1 if unknown
* (a positive value does <em>not</em> necessarily signify that there was
* already an unsuccessful PIN verification)
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/reader/CardReader.java b/smcc/src/main/java/at/gv/egiz/smcc/reader/CardReader.java
index c3d950a7..b05fd8eb 100644
--- a/smcc/src/main/java/at/gv/egiz/smcc/reader/CardReader.java
+++ b/smcc/src/main/java/at/gv/egiz/smcc/reader/CardReader.java
@@ -41,7 +41,7 @@ import javax.smartcardio.Card;
/**
*
- * @author Clemens Orthacker <clemens.orthacker@iaik.tugraz.at>
+ * @author Clemens Orthacker &lt;clemens.orthacker@iaik.tugraz.at&gt;
*/
public interface CardReader {
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/reader/DefaultCardReader.java b/smcc/src/main/java/at/gv/egiz/smcc/reader/DefaultCardReader.java
index 06d3d133..6560e73f 100644
--- a/smcc/src/main/java/at/gv/egiz/smcc/reader/DefaultCardReader.java
+++ b/smcc/src/main/java/at/gv/egiz/smcc/reader/DefaultCardReader.java
@@ -46,7 +46,7 @@ import at.gv.egiz.smcc.util.ISO7816Utils;
/**
*
- * @author Clemens Orthacker <clemens.orthacker@iaik.tugraz.at>
+ * @author Clemens Orthacker &lt;clemens.orthacker@iaik.tugraz.at&gt;
*/
public class DefaultCardReader implements CardReader {
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/reader/PinpadCardReader.java b/smcc/src/main/java/at/gv/egiz/smcc/reader/PinpadCardReader.java
index 9a7206ec..48331278 100644
--- a/smcc/src/main/java/at/gv/egiz/smcc/reader/PinpadCardReader.java
+++ b/smcc/src/main/java/at/gv/egiz/smcc/reader/PinpadCardReader.java
@@ -54,7 +54,7 @@ import at.gv.egiz.smcc.util.SMCCHelper;
/**
*
- * @author Clemens Orthacker <clemens.orthacker@iaik.tugraz.at>
+ * @author Clemens Orthacker &lt;clemens.orthacker@iaik.tugraz.at&gt;
*/
public class PinpadCardReader extends DefaultCardReader {
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/reader/ReaderFactory.java b/smcc/src/main/java/at/gv/egiz/smcc/reader/ReaderFactory.java
index 8b49f1a9..5cb28908 100644
--- a/smcc/src/main/java/at/gv/egiz/smcc/reader/ReaderFactory.java
+++ b/smcc/src/main/java/at/gv/egiz/smcc/reader/ReaderFactory.java
@@ -38,7 +38,7 @@ import org.slf4j.LoggerFactory;
/**
* TODO
- * @author Clemens Orthacker <clemens.orthacker@iaik.tugraz.at>
+ * @author Clemens Orthacker &lt;clemens.orthacker@iaik.tugraz.at&gt;
*/
public class ReaderFactory {
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/util/LinuxLibraryFinder.java b/smcc/src/main/java/at/gv/egiz/smcc/util/LinuxLibraryFinder.java
index 5aed2c2d..94d964c2 100644
--- a/smcc/src/main/java/at/gv/egiz/smcc/util/LinuxLibraryFinder.java
+++ b/smcc/src/main/java/at/gv/egiz/smcc/util/LinuxLibraryFinder.java
@@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
* There is one exception to this rule, the ELF variables DT_RPATH and
* DT_RUNPATH are not evaluated, because they are not available in java.
*
- * @author Tobias Wich <tobias.wich@ecsec.de>
+ * @author Tobias Wich &lt;tobias.wich@ecsec.de&gt;
*/
public class LinuxLibraryFinder {
@@ -51,6 +51,7 @@ public class LinuxLibraryFinder {
* <p>
* The algorithm to find the library can be found in the ld.so(8) manpage and
* is as follows:
+ * </p>
* <ol>
* <li>Check paths in {@code LD_LIBRARY_PATH} environment variable.</li>
* <li>Check for library in {@code /etc/ld.so.cache} by executing
@@ -58,7 +59,6 @@ public class LinuxLibraryFinder {
* <li>Check the base library paths {@code /lib} and {@code /usr/lib} or
* {@code /lib64} and {@code /usr/lib64} depending on the architecture.</li>
* </ol>
- * </p>
*
* @param name
* Name of the library, such as pcsclite.
diff --git a/smcc/src/main/java/org/openecard/scio/osx/PlatformPCSC.java b/smcc/src/main/java/org/openecard/scio/osx/PlatformPCSC.java
index e7b048f0..929e5a77 100644
--- a/smcc/src/main/java/org/openecard/scio/osx/PlatformPCSC.java
+++ b/smcc/src/main/java/org/openecard/scio/osx/PlatformPCSC.java
@@ -34,9 +34,9 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
- * OS X specific PlatformPCSC. For more information see {@link package-info}.
+ * OS X specific PlatformPCSC. For more information see {@link org.openecard.scio.osx}.
*
- * @author Benedikt Biallowons <benedikt.biallowons@ecsec.de>
+ * @author Benedikt Biallowons &lt;benedikt.biallowons@ecsec.de&gt;
*/
public class PlatformPCSC {
diff --git a/smcc/src/main/java/org/openecard/scio/osx/SunOSXPCSC.java b/smcc/src/main/java/org/openecard/scio/osx/SunOSXPCSC.java
index f05d0373..ef98b341 100644
--- a/smcc/src/main/java/org/openecard/scio/osx/SunOSXPCSC.java
+++ b/smcc/src/main/java/org/openecard/scio/osx/SunOSXPCSC.java
@@ -29,9 +29,9 @@ import javax.smartcardio.CardTerminals;
import javax.smartcardio.TerminalFactorySpi;
/**
- * OS X PC/SC provider. For more information see {@link package-info}.
+ * OS X PC/SC provider. For more information see {@link org.openecard.scio.osx}.
*
- * @author Benedikt Biallowons <benedikt.biallowons@ecsec.de>
+ * @author Benedikt Biallowons &lt;benedikt.biallowons@ecsec.de&gt;
*/
public final class SunOSXPCSC extends Provider {
@@ -55,11 +55,11 @@ public final class SunOSXPCSC extends Provider {
* Internal provider factory. For more information see
* {@link TerminalFactorySpi}
*
- * @author Benedikt Biallowons <benedikt.biallowons@ecsec.de>
+ * @author Benedikt Biallowons &lt;benedikt.biallowons@ecsec.de&gt;
*/
public static final class Factory extends TerminalFactorySpi {
/**
- * Constructor checking availability & initializing context.
+ * Constructor checking availability &amp; initializing context.
*
* @param obj
* provider parameters
diff --git a/smcc/src/main/java/org/openecard/scio/osx/package-info.java b/smcc/src/main/java/org/openecard/scio/osx/package-info.java
index 5d066a40..7208e9c0 100644
--- a/smcc/src/main/java/org/openecard/scio/osx/package-info.java
+++ b/smcc/src/main/java/org/openecard/scio/osx/package-info.java
@@ -22,7 +22,7 @@
/**
* This package contains a OS X specific SmartcardIO implementation. We've to do
- * this, because the current PC/SC JNI libraries on OS X (jre6 & jre7) are too buggy
+ * this, because the current PC/SC JNI libraries on OS X (jre6 &amp; jre7) are too buggy
* to be useful and the design of the sun.security.smartcardio package doesn't allow
* to specify another JNI library path.
*/