From b17ce13cc31abd088088bf8ab26cc924a6a36585 Mon Sep 17 00:00:00 2001 From: CGantert345 <57003061+CGantert345@users.noreply.github.com> Date: Tue, 28 Jul 2020 17:57:25 +0200 Subject: Draft of the new DOSIPAS included --- src/org/uic/header/SignedDataType.java | 67 ---------------------------------- 1 file changed, 67 deletions(-) delete mode 100644 src/org/uic/header/SignedDataType.java (limited to 'src/org/uic/header/SignedDataType.java') diff --git a/src/org/uic/header/SignedDataType.java b/src/org/uic/header/SignedDataType.java deleted file mode 100644 index 2cd2acd..0000000 --- a/src/org/uic/header/SignedDataType.java +++ /dev/null @@ -1,67 +0,0 @@ -package org.uic.header; - -import net.gcdc.asn1.datatypes.Asn1Optional; -import net.gcdc.asn1.datatypes.Sequence; -import net.gcdc.asn1.datatypesimpl.OctetString; - -/** - * The Class SignedDataType. - */ -@Sequence -public class SignedDataType { - - /** The data. */ - public DataBlockType dataBlock; - - /** The signature. */ - @Asn1Optional public OctetString signature; - - /** - * Gets the data. - * - * @return the data - */ - public DataBlockType getDataBlock() { - return dataBlock; - } - - /** - * Sets the data. - * - * @param data the new data - */ - public void setDataBlock(DataBlockType dataBlock) { - this.dataBlock = dataBlock; - } - - /** - * Gets the signature. - * - * @return the signature - */ - public OctetString getSignature() { - return signature; - } - - /** - * Sets the signature. - * - * @param signature the signature - */ - public void setSignature(OctetString signature) { - this.signature = signature; - } - - - /** - * Sets the signature. - * - * @param signature the signature - */ - public void setSignature(byte[] signature) { - this.signature = new OctetString(signature); - } - - - -} -- cgit v1.2.3