diff options
Diffstat (limited to 'src/org/uic/header/Extension.java')
-rw-r--r-- | src/org/uic/header/Extension.java | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/src/org/uic/header/Extension.java b/src/org/uic/header/Extension.java deleted file mode 100644 index 98f44d7..0000000 --- a/src/org/uic/header/Extension.java +++ /dev/null @@ -1,72 +0,0 @@ -package org.uic.header;
-
-
-import net.gcdc.asn1.datatypes.CharacterRestriction;
-import net.gcdc.asn1.datatypes.RestrictedString;
-import net.gcdc.asn1.datatypes.Sequence;
-import net.gcdc.asn1.datatypesimpl.OctetString;
-
-
-// TODO: Auto-generated Javadoc
-/**
- * The Class Extension.
- */
-@Sequence
-public class Extension extends Object {
-
- /**
- * Instantiates a new extension.
- */
- public Extension() {}
-
- /** The extension id. */
- @RestrictedString(CharacterRestriction.IA5String)
- public String extensionId;
-
- /** The extension data. */
- public OctetString extensionData;
-
- /**
- * Gets the extension id.
- *
- * @return the extension id
- */
- public String getExtensionId() {
-
- return this.extensionId;
- }
-
- /**
- * Gets the extension data.
- *
- * @return the extension data
- */
- public byte[] getExtensionData() {
-
- return extensionData.toByteArray();
- }
-
- /**
- * Sets the extension id.
- *
- * @param extensionId the new extension id
- */
- public void setExtensionId(String extensionId) {
-
- this.extensionId = extensionId;
- }
-
- /**
- * Sets the extension data.
- *
- * @param extensionData the new extension data
- */
- public void setExtensionData(byte[] extensionData) {
-
- this.extensionData = new OctetString(extensionData);
-
- }
-
-
-
-}
|