summaryrefslogtreecommitdiff
path: root/smcc/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'smcc/src/main')
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/ACOSCard.java4
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/BELPICCard.java2
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/CypriotEID.java6
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/EstEIDCard.java2
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/ITCard.java2
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/PtEidCard.java2
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/STARCOSCard.java2
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/SuisseIDCard.java2
8 files changed, 11 insertions, 11 deletions
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/ACOSCard.java b/smcc/src/main/java/at/gv/egiz/smcc/ACOSCard.java
index f3efcf79..a41e13d8 100644
--- a/smcc/src/main/java/at/gv/egiz/smcc/ACOSCard.java
+++ b/smcc/src/main/java/at/gv/egiz/smcc/ACOSCard.java
@@ -343,7 +343,7 @@ PINMgmtSignatureCard {
verifyPINLoop(channel, sigPinInfo, provider);
// PERFORM SECURITY OPERATION : HASH
execPSO_HASH(channel, digest);
- // PERFORM SECURITY OPERATION : COMPUTE DIGITAL SIGNATRE
+ // PERFORM SECURITY OPERATION : COMPUTE DIGITAL SIGNATURE
return execPSO_COMPUTE_DIGITAL_SIGNATURE(channel);
} else if (KeyboxName.CERTIFIED_KEYPAIR.equals(keyboxName)) {
@@ -612,7 +612,7 @@ PINMgmtSignatureCard {
}
if (resp.getSW() != 0x9000) {
throw new SignatureCardException(
- "PSO - COMPUTE DIGITAL SIGNATRE failed: SW="
+ "PSO - COMPUTE DIGITAL SIGNATURE failed: SW="
+ Integer.toHexString(resp.getSW()));
} else {
return resp.getData();
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/BELPICCard.java b/smcc/src/main/java/at/gv/egiz/smcc/BELPICCard.java
index 9aa170ee..2c139ec5 100644
--- a/smcc/src/main/java/at/gv/egiz/smcc/BELPICCard.java
+++ b/smcc/src/main/java/at/gv/egiz/smcc/BELPICCard.java
@@ -271,7 +271,7 @@ public class BELPICCard extends AbstractSignatureCard implements SignatureCard {
throw new LockedException();
} else if (resp.getSW() != 0x9000) {
throw new SignatureCardException(
- "PSO: COMPUTE DIGITAL SIGNATRE failed: SW="
+ "PSO: COMPUTE DIGITAL SIGNATURE failed: SW="
+ Integer.toHexString(resp.getSW()));
} else {
return resp.getData();
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/CypriotEID.java b/smcc/src/main/java/at/gv/egiz/smcc/CypriotEID.java
index 4d23e81a..820df4f0 100644
--- a/smcc/src/main/java/at/gv/egiz/smcc/CypriotEID.java
+++ b/smcc/src/main/java/at/gv/egiz/smcc/CypriotEID.java
@@ -173,7 +173,7 @@ public class CypriotEID extends AbstractSignatureCard implements
// MANAGE SECURITY ENVIRONMENT : SET DST
exec_MSE(channel, AlgID);
- // PERFORM SECURITY OPERATION : COMPUTE DIGITAL SIGNATRE
+ // PERFORM SECURITY OPERATION : COMPUTE DIGITAL SIGNATURE
return exec_sign(channel, digest);
} catch (SecurityStatusNotSatisfiedException e) {
// NEED to provide PIN code ...
@@ -187,7 +187,7 @@ public class CypriotEID extends AbstractSignatureCard implements
// VERIFY
verifyPINLoop(channel, pinPinInfo, pinGUI);
- // PERFORM SECURITY OPERATION : COMPUTE DIGITAL SIGNATRE
+ // PERFORM SECURITY OPERATION : COMPUTE DIGITAL SIGNATURE
return exec_sign(channel, digest);
}
} catch (CardException e) {
@@ -538,7 +538,7 @@ public class CypriotEID extends AbstractSignatureCard implements
}
if (resp.getSW() != 0x9000) {
throw new SignatureCardException(
- "PSO - COMPUTE DIGITAL SIGNATRE failed: SW="
+ "PSO - COMPUTE DIGITAL SIGNATURE failed: SW="
+ Integer.toHexString(resp.getSW()));
} else {
return resp.getData();
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/EstEIDCard.java b/smcc/src/main/java/at/gv/egiz/smcc/EstEIDCard.java
index 4fcc7945..f86fd4ea 100644
--- a/smcc/src/main/java/at/gv/egiz/smcc/EstEIDCard.java
+++ b/smcc/src/main/java/at/gv/egiz/smcc/EstEIDCard.java
@@ -301,7 +301,7 @@ public class EstEIDCard extends AbstractSignatureCard {
if (resp.getSW() != 0x9000) {
throw new SignatureCardException(
- "PSO: COMPUTE DIGITAL SIGNATRE failed: SW="
+ "PSO: COMPUTE DIGITAL SIGNATURE failed: SW="
+ Integer.toHexString(resp.getSW()));
} else {
return resp.getData();
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/ITCard.java b/smcc/src/main/java/at/gv/egiz/smcc/ITCard.java
index 67d2b001..380e270c 100644
--- a/smcc/src/main/java/at/gv/egiz/smcc/ITCard.java
+++ b/smcc/src/main/java/at/gv/egiz/smcc/ITCard.java
@@ -287,7 +287,7 @@ public class ITCard extends AbstractSignatureCard {
throw new LockedException();
} else if (resp.getSW() != 0x9000) {
throw new SignatureCardException(
- "PSO: COMPUTE DIGITAL SIGNATRE failed: SW="
+ "PSO: COMPUTE DIGITAL SIGNATURE failed: SW="
+ Integer.toHexString(resp.getSW()));
} else {
return resp.getData();
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/PtEidCard.java b/smcc/src/main/java/at/gv/egiz/smcc/PtEidCard.java
index 57f45aba..7b51a22a 100644
--- a/smcc/src/main/java/at/gv/egiz/smcc/PtEidCard.java
+++ b/smcc/src/main/java/at/gv/egiz/smcc/PtEidCard.java
@@ -294,7 +294,7 @@ public class PtEidCard extends AbstractSignatureCard {
throw new LockedException();
} else if (resp.getSW() != 0x9000) {
throw new SignatureCardException(
- "PSO: COMPUTE DIGITAL SIGNATRE failed: SW="
+ "PSO: COMPUTE DIGITAL SIGNATURE failed: SW="
+ Integer.toHexString(resp.getSW()));
} else {
return resp.getData();
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/STARCOSCard.java b/smcc/src/main/java/at/gv/egiz/smcc/STARCOSCard.java
index a8cad490..10cfd2a8 100644
--- a/smcc/src/main/java/at/gv/egiz/smcc/STARCOSCard.java
+++ b/smcc/src/main/java/at/gv/egiz/smcc/STARCOSCard.java
@@ -975,7 +975,7 @@ public class STARCOSCard extends AbstractSignatureCard implements PINMgmtSignatu
throw new LockedException();
} else if (resp.getSW() != 0x9000) {
throw new SignatureCardException(
- "PSO: COMPUTE DIGITAL SIGNATRE failed: SW="
+ "PSO: COMPUTE DIGITAL SIGNATURE failed: SW="
+ Integer.toHexString(resp.getSW()));
} else {
return resp.getData();
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/SuisseIDCard.java b/smcc/src/main/java/at/gv/egiz/smcc/SuisseIDCard.java
index bce9153c..ab0b48fe 100644
--- a/smcc/src/main/java/at/gv/egiz/smcc/SuisseIDCard.java
+++ b/smcc/src/main/java/at/gv/egiz/smcc/SuisseIDCard.java
@@ -320,7 +320,7 @@ public class SuisseIDCard extends AbstractSignatureCard implements SignatureCard
throw new LockedException();
} else if (resp.getSW() != 0x9000) {
throw new SignatureCardException(
- "PSO: COMPUTE DIGITAL SIGNATRE failed: SW="
+ "PSO: COMPUTE DIGITAL SIGNATURE failed: SW="
+ Integer.toHexString(resp.getSW()));
} else {
return resp.getData();