aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/egiz/pdfas/api
diff options
context:
space:
mode:
authortknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2008-07-15 16:02:02 +0000
committertknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2008-07-15 16:02:02 +0000
commit1318c462d46bb248e0587666c04944cfe2c83db6 (patch)
tree80bee4514512e07435cc38b1fd21d6c1cb787cc3 /src/main/java/at/gv/egiz/pdfas/api
parentaefaae42dfaed8fd79feb232547d357ab07baecd (diff)
downloadpdf-as-3-1318c462d46bb248e0587666c04944cfe2c83db6.tar.gz
pdf-as-3-1318c462d46bb248e0587666c04944cfe2c83db6.tar.bz2
pdf-as-3-1318c462d46bb248e0587666c04944cfe2c83db6.zip
Parsing of PublicAuthority-Flag and PublicAuthority-Code from MOA-VerifyXMLSignatureResponses implemented.
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@295 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/at/gv/egiz/pdfas/api')
-rw-r--r--src/main/java/at/gv/egiz/pdfas/api/verify/VerifyResult.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/java/at/gv/egiz/pdfas/api/verify/VerifyResult.java b/src/main/java/at/gv/egiz/pdfas/api/verify/VerifyResult.java
index 06f9c15..fa0e683 100644
--- a/src/main/java/at/gv/egiz/pdfas/api/verify/VerifyResult.java
+++ b/src/main/java/at/gv/egiz/pdfas/api/verify/VerifyResult.java
@@ -40,6 +40,18 @@ public interface VerifyResult extends SignatureInformation
* certificate.
*/
public boolean isQualifiedCertificate();
+
+ /**
+ * Returns {@code true} if public authority is indicated.
+ * @return {@code true} if public authority.
+ */
+ public boolean isPublicAuthority();
+
+ /**
+ * Returns the public authority code or {@code null}.
+ * @return The public authority code or {@code null}.
+ */
+ public String getPublicAuthorityCode();
/**
* Returns a list of Strings each stating one public property of the