summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/certsrv/key/KeyData.java
diff options
context:
space:
mode:
Diffstat (limited to 'base/common/src/com/netscape/certsrv/key/KeyData.java')
-rw-r--r--base/common/src/com/netscape/certsrv/key/KeyData.java34
1 files changed, 34 insertions, 0 deletions
diff --git a/base/common/src/com/netscape/certsrv/key/KeyData.java b/base/common/src/com/netscape/certsrv/key/KeyData.java
index b71861470..82e23ed9e 100644
--- a/base/common/src/com/netscape/certsrv/key/KeyData.java
+++ b/base/common/src/com/netscape/certsrv/key/KeyData.java
@@ -42,6 +42,12 @@ public class KeyData {
@XmlElement
String p12Data;
+ @XmlElement
+ String algorithm;
+
+ @XmlElement
+ Integer strength;
+
public KeyData() {
// required for JAXB (defaults)
}
@@ -89,4 +95,32 @@ public class KeyData {
public void setP12Data(String p12Data) {
this.p12Data = p12Data;
}
+
+ /**
+ * @return the algorithm
+ */
+ public String getAlgorithm() {
+ return algorithm;
+ }
+
+ /**
+ * @param algorithm the algorithm to set
+ */
+ public void setAlgorithm(String algorithm) {
+ this.algorithm = algorithm;
+ }
+
+ /**
+ * @return the strength
+ */
+ public Integer getStrength() {
+ return strength;
+ }
+
+ /**
+ * @param strength the strength to set
+ */
+ public void setStrength(Integer strength) {
+ this.strength = strength;
+ }
}