aboutsummaryrefslogtreecommitdiff
path: root/spss.server/src/at/gv/egovernment/moa/spss/server/config/TrustProfile.java
diff options
context:
space:
mode:
Diffstat (limited to 'spss.server/src/at/gv/egovernment/moa/spss/server/config/TrustProfile.java')
-rw-r--r--spss.server/src/at/gv/egovernment/moa/spss/server/config/TrustProfile.java17
1 files changed, 16 insertions, 1 deletions
diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/config/TrustProfile.java b/spss.server/src/at/gv/egovernment/moa/spss/server/config/TrustProfile.java
index 6ba33be63..929d5ce2b 100644
--- a/spss.server/src/at/gv/egovernment/moa/spss/server/config/TrustProfile.java
+++ b/spss.server/src/at/gv/egovernment/moa/spss/server/config/TrustProfile.java
@@ -11,16 +11,21 @@ public class TrustProfile {
private String id;
/** The URI giving the location of the trust profile. */
private String uri;
+ /** The URI giving the location of the allowed signer certificates. */
+ private String signerCertsUri;
/**
* Create a <code>TrustProfile</code>.
*
* @param id The ID of the <code>TrustProfile</code> to create.
* @param uri The URI of the <code>TrustProfile</code> to create.
+ * @param signerCertsUri The URI of the location of the allowed signer
+ * certificates of the <code>TrustProfile</code> to create.
*/
- public TrustProfile(String id, String uri) {
+ public TrustProfile(String id, String uri, String signerCertsUri) {
this.id = id;
this.uri = uri;
+ this.signerCertsUri = signerCertsUri;
}
/**
@@ -40,4 +45,14 @@ public class TrustProfile {
public String getUri() {
return uri;
}
+
+ /**
+ * Return the URI giving the location of the allowed signer certificates
+ * of this <code>TrustProfile</code>.
+ *
+ * @return The URI of <code>TrustProfile</code>.
+ */
+ public String getSignerCertsUri() {
+ return signerCertsUri;
+ }
}