summaryrefslogtreecommitdiff
path: root/smcc/src/main/java/at/gv/egiz/smcc/CIOCertificate.java
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2010-11-10 14:26:19 +0000
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2010-11-10 14:26:19 +0000
commit8a7c17888fd80cf0de70008c31d4679d42dc6489 (patch)
tree93e50f02957dddc3d27628ee69a71fa65d89806a /smcc/src/main/java/at/gv/egiz/smcc/CIOCertificate.java
parentf52d7c9e8fa0918c511c80c5e298caedb8f39d15 (diff)
downloadmocca-8a7c17888fd80cf0de70008c31d4679d42dc6489.tar.gz
mocca-8a7c17888fd80cf0de70008c31d4679d42dc6489.tar.bz2
mocca-8a7c17888fd80cf0de70008c31d4679d42dc6489.zip
get certificate info from EF.CD
Issue #MOCCA-754 - LIEZertifikat (LIE-Post) Integration git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@828 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'smcc/src/main/java/at/gv/egiz/smcc/CIOCertificate.java')
-rw-r--r--smcc/src/main/java/at/gv/egiz/smcc/CIOCertificate.java114
1 files changed, 114 insertions, 0 deletions
diff --git a/smcc/src/main/java/at/gv/egiz/smcc/CIOCertificate.java b/smcc/src/main/java/at/gv/egiz/smcc/CIOCertificate.java
new file mode 100644
index 00000000..6a778245
--- /dev/null
+++ b/smcc/src/main/java/at/gv/egiz/smcc/CIOCertificate.java
@@ -0,0 +1,114 @@
+/*
+* Copyright 2008 Federal Chancellery Austria and
+* Graz University of Technology
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+package at.gv.egiz.smcc;
+
+/**
+ *
+ * @author clemens
+ */
+public class CIOCertificate {
+
+ /** CommonObjectAttributes */
+ private String label;
+ private byte[] authId;
+
+ /** CommonCertificateAttributes */
+ private byte[] iD;
+
+ /** X509CertificateAttributes*/
+ private byte[] efidOrPath;
+ private int serialNumber;
+
+ /**
+ * @return the label
+ */
+ public String getLabel() {
+ return label;
+ }
+
+ /**
+ * @param label the label to set
+ */
+ public void setLabel(String label) {
+ this.label = label;
+ }
+
+ /**
+ * @return the authId
+ */
+ public byte[] getAuthId() {
+ return authId;
+ }
+
+ /**
+ * @param authId the authId to set
+ */
+ public void setAuthId(byte[] authId) {
+ this.authId = authId;
+ }
+
+ /**
+ * @return the iD
+ */
+ public byte[] getiD() {
+ return iD;
+ }
+
+ /**
+ * @param iD the iD to set
+ */
+ public void setiD(byte[] iD) {
+ this.iD = iD;
+ }
+
+ /**
+ * @return the efidOrPath
+ */
+ public byte[] getEfidOrPath() {
+ return efidOrPath;
+ }
+
+ /**
+ * @param efidOrPath the efidOrPath to set
+ */
+ public void setEfidOrPath(byte[] efidOrPath) {
+ this.efidOrPath = efidOrPath;
+ }
+
+ /**
+ * @return the serialNumber
+ */
+ public int getSerialNumber() {
+ return serialNumber;
+ }
+
+ /**
+ * @param serialNumber the serialNumber to set
+ */
+ public void setSerialNumber(int serialNumber) {
+ this.serialNumber = serialNumber;
+ }
+
+ @Override
+ public String toString() {
+ return "CIOCertificate " + label;
+ }
+
+
+
+}