Skip to content

Commit

Permalink
Update to 20.10.2014
Browse files Browse the repository at this point in the history
  • Loading branch information
Vova committed Nov 15, 2014
2 parents 3ee987f + 72eb353 commit 35ef792
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion res/net/sf/jsignpdf/translations/messages_el.properties
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ gui.rights.printing.label = \u0395\u03BA\u03C4\u03CD\u03C0\u03C9\u03
gui.rights.rights.label = \u0394\u03B9\u03BA\u03B1\u03B9\u03CE\u03BC\u03B1\u03C4\u03B1
gui.rights.screenReaders.checkbox = \u0391\u03BD\u03B1\u03B3\u03BD\u03CE\u03C3\u03C4\u03B5\u03C2 \u039F\u03B8\u03CC\u03BD\u03B7\u03C2
gui.rights.title = \u0394\u03B9\u03BA\u03B1\u03B9\u03CE\u03BC\u03B1\u03C4\u03B1
gui.signIt.button = &\u03A5\u03C0\u03AD\u03B3\u03C1\u03B1\u03C8\u03AD \u03C4\u03BF
gui.signIt.button = &\u03A5\u03C0\u03CC\u03B3\u03C1\u03B1\u03C8\u03AD \u03C4\u03BF
gui.storePasswords.checkbox = &\u0391\u03C0\u03BF\u03BC\u03BD\u03B7\u03BC\u03CC\u03BD\u03B5\u03C5\u03C3\u03B7 \u03BA\u03C9\u03B4\u03B9\u03BA\u03CE\u03BD
gui.title = JSignPdf (\u03AD\u03BA\u03B4\u03BF\u03C3\u03B7 {0})
gui.tsa.authn.label = TSA \u0391\u03C5\u03B8\u03B5\u03BD\u03C4\u03B9\u03BA\u03BF\u03C0\u03BF\u03AF\u03B7\u03C3\u03B7
Expand Down
4 changes: 2 additions & 2 deletions src/net/sf/jsignpdf/verify/VerifierLogic.java
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ public Exception validateTimeStampToken(TimeStampToken token) {
if (certs.size() == 1) {
boolean verifyTimestampCertificates = PdfPKCS7.verifyTimestampCertificates(token, kall, null);
if (!verifyTimestampCertificates) {
throw new Exception("Certificate can't be verified agains keystore.");
throw new Exception("Timestamp certificate can't be verified.");
}
} else {
int certSize = certs.size();
Expand All @@ -352,7 +352,7 @@ public Exception validateTimeStampToken(TimeStampToken token) {
// token.validate(SignerInformationVerifier) will check if certificate has been valid at the time the timestamp was created
Object[] verifyCertificates = PdfPKCS7.verifyCertificates(certArray, kall, null, null);
if (verifyCertificates != null) {
throw new Exception("Certificate can't be verified agains keystore.");
throw new Exception("Timestamp certificate can't be verified.");
}
}

Expand Down

0 comments on commit 35ef792

Please sign in to comment.