diff options
author | tknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2008-07-15 16:02:02 +0000 |
---|---|---|
committer | tknall <tknall@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c> | 2008-07-15 16:02:02 +0000 |
commit | 1318c462d46bb248e0587666c04944cfe2c83db6 (patch) | |
tree | 80bee4514512e07435cc38b1fd21d6c1cb787cc3 /src/main/java/at/gv/egiz/pdfas/impl/api/verify | |
parent | aefaae42dfaed8fd79feb232547d357ab07baecd (diff) | |
download | pdf-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/impl/api/verify')
-rw-r--r-- | src/main/java/at/gv/egiz/pdfas/impl/api/verify/VerifyResultAdapter.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/java/at/gv/egiz/pdfas/impl/api/verify/VerifyResultAdapter.java b/src/main/java/at/gv/egiz/pdfas/impl/api/verify/VerifyResultAdapter.java index 83d4db0..f161b3a 100644 --- a/src/main/java/at/gv/egiz/pdfas/impl/api/verify/VerifyResultAdapter.java +++ b/src/main/java/at/gv/egiz/pdfas/impl/api/verify/VerifyResultAdapter.java @@ -138,4 +138,20 @@ public class VerifyResultAdapter extends SignatureInformationAdapter implements {
return this.sigRes.getHashInputData();
}
+
+
+ /**
+ * @see at.gv.egiz.pdfas.api.verify.VerifyResult#getPublicAuthorityCode()
+ */
+ public String getPublicAuthorityCode() {
+ return this.sigRes.getPublicAuthorityCode();
+ }
+
+ /**
+ * @see at.gv.egiz.pdfas.api.verify.VerifyResult#isPublicAuthority()
+ */
+ public boolean isPublicAuthority() {
+ return this.sigRes.isPublicAuthority();
+ }
+
}
|