summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/isode/stroke/elements/AuthChallenge.java')
-rw-r--r--src/com/isode/stroke/elements/AuthChallenge.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/com/isode/stroke/elements/AuthChallenge.java b/src/com/isode/stroke/elements/AuthChallenge.java
new file mode 100644
index 0000000..ac87a3d
--- /dev/null
+++ b/src/com/isode/stroke/elements/AuthChallenge.java
@@ -0,0 +1,32 @@
+/*
+ * Copyright (c) 2010, Isode Limited, London, England.
+ * All rights reserved.
+ */
+/*
+ * Copyright (c) 2010, Remko Tron¨on.
+ * All rights reserved.
+ */
+package com.isode.stroke.elements;
+
+import com.isode.stroke.base.ByteArray;
+
+public class AuthChallenge implements Element {
+ //FIXME: parser/serialiser
+ public AuthChallenge() {
+ value_ = new ByteArray();
+ }
+
+ public AuthChallenge(ByteArray value) {
+ value_ = new ByteArray(value);
+ }
+
+ public ByteArray getValue() {
+ return value_;
+ }
+
+ public void setValue(ByteArray value) {
+ value_ = new ByteArray(value);
+ }
+
+ private ByteArray value_;
+}