aboutsummaryrefslogtreecommitdiff
path: root/src/main/model/csr/Attribute.java
diff options
context:
space:
mode:
authorYuuta Liang <yuutaw@student.cs.ubc.ca>2023-11-28 21:08:03 -0800
committerYuuta Liang <yuutaw@student.cs.ubc.ca>2023-11-28 21:08:03 -0800
commitf8e05e4376e1d5f00c93307605eb768281ad240b (patch)
tree5683cfe5c5c612452723f44d3eee114f27498fcf /src/main/model/csr/Attribute.java
parent2a9c2e3abf57a5d92e311c07679ff62be7275f02 (diff)
downloadjca-f8e05e4376e1d5f00c93307605eb768281ad240b.tar
jca-f8e05e4376e1d5f00c93307605eb768281ad240b.tar.gz
jca-f8e05e4376e1d5f00c93307605eb768281ad240b.tar.bz2
jca-f8e05e4376e1d5f00c93307605eb768281ad240b.zip
Add association tags and generate UML
Signed-off-by: Yuuta Liang <yuutaw@student.cs.ubc.ca>
Diffstat (limited to 'src/main/model/csr/Attribute.java')
-rw-r--r--src/main/model/csr/Attribute.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/model/csr/Attribute.java b/src/main/model/csr/Attribute.java
index 2daa000..26c3271 100644
--- a/src/main/model/csr/Attribute.java
+++ b/src/main/model/csr/Attribute.java
@@ -1,5 +1,6 @@
package model.csr;
+import annotations.Assoc;
import model.asn1.ASN1Object;
import model.asn1.ObjectIdentifier;
import model.asn1.Tag;
@@ -26,11 +27,13 @@ public class Attribute extends ASN1Object {
* The type of that attribute. For example, <pre>2.5.29.14</pre> is subjectKeyIdentifier.
* It determines the format of the value.
*/
+ @Assoc(partOf = true)
private final ObjectIdentifier type;
/**
* Value set.
*/
+ @Assoc(partOf = true)
private final Values values;
/**