aboutsummaryrefslogtreecommitdiff
path: root/id.server/src/at/gv/egovernment/moa/id/iaik
diff options
context:
space:
mode:
Diffstat (limited to 'id.server/src/at/gv/egovernment/moa/id/iaik')
-rw-r--r--id.server/src/at/gv/egovernment/moa/id/iaik/pki/PKIProfileImpl.java11
1 files changed, 9 insertions, 2 deletions
diff --git a/id.server/src/at/gv/egovernment/moa/id/iaik/pki/PKIProfileImpl.java b/id.server/src/at/gv/egovernment/moa/id/iaik/pki/PKIProfileImpl.java
index 882a9c255..4d309c18c 100644
--- a/id.server/src/at/gv/egovernment/moa/id/iaik/pki/PKIProfileImpl.java
+++ b/id.server/src/at/gv/egovernment/moa/id/iaik/pki/PKIProfileImpl.java
@@ -28,13 +28,20 @@ public class PKIProfileImpl extends ObservableImpl
*/
private String trustStoreURI;
+ /**
+ * revocation checking;
+ */
+ private boolean revocationChecking;
+
+
/**
* Create a new <code>PKIProfileImpl</code>.
*
* @param trustStoreURI trust store URI
*/
- public PKIProfileImpl(String trustStoreURI) {
+ public PKIProfileImpl(String trustStoreURI, boolean revocationChecking) {
this.trustStoreURI = trustStoreURI;
+ this.revocationChecking = revocationChecking;
}
/**
@@ -153,7 +160,7 @@ public class PKIProfileImpl extends ObservableImpl
* @see iaik.pki.pathvalidation.ValidationProfile#getRevocationChecking()
*/
public boolean getRevocationChecking() {
- return true;
+ return this.revocationChecking;
}
}