aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/logotypecertextn
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-03-09 03:17:51 +0000
committerJoão Valverde <j@v6e.pt>2016-03-13 21:30:24 +0000
commit54a520d4a1151c68d0b4e5f09a8d82466fa499f3 (patch)
tree7aacae160382098ce651ac862a5dfd5de4beff94 /asn1/logotypecertextn
parentc1f3c935bdd33090c87f0d2f84842ce9729b747a (diff)
Move /asn1 to /epan/dissectors
Change-Id: I1208fe3c2ba428995526f561e8f792b8d871e9a9 Reviewed-on: https://code.wireshark.org/review/14388 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'asn1/logotypecertextn')
-rw-r--r--asn1/logotypecertextn/CMakeLists.txt52
-rw-r--r--asn1/logotypecertextn/LogotypeCertExtn.asn117
-rw-r--r--asn1/logotypecertextn/Makefile.am23
-rw-r--r--asn1/logotypecertextn/Makefile.common47
-rw-r--r--asn1/logotypecertextn/Makefile.nmake26
-rw-r--r--asn1/logotypecertextn/logotypecertextn.cnf28
-rw-r--r--asn1/logotypecertextn/packet-logotypecertextn-template.c77
-rw-r--r--asn1/logotypecertextn/packet-logotypecertextn-template.h30
8 files changed, 0 insertions, 400 deletions
diff --git a/asn1/logotypecertextn/CMakeLists.txt b/asn1/logotypecertextn/CMakeLists.txt
deleted file mode 100644
index 64ab3dade5..0000000000
--- a/asn1/logotypecertextn/CMakeLists.txt
+++ /dev/null
@@ -1,52 +0,0 @@
-# CMakeLists.txt
-#
-# Wireshark - Network traffic analyzer
-# By Gerald Combs <gerald@wireshark.org>
-# Copyright 1998 Gerald Combs
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
-
-set( PROTOCOL_NAME logotypecertextn )
-
-set( PROTO_OPT )
-
-set( EXT_ASN_FILE_LIST
-)
-
-set( ASN_FILE_LIST
- LogotypeCertExtn.asn
-)
-
-set( EXTRA_DIST
- ${ASN_FILE_LIST}
- packet-${PROTOCOL_NAME}-template.c
- packet-${PROTOCOL_NAME}-template.h
- ${PROTOCOL_NAME}.cnf
-)
-
-set( SRC_FILES
- ${EXTRA_DIST}
- ${EXT_ASN_FILE_LIST}
-)
-
-set( A2W_FLAGS -b )
-
-set( EXTRA_CNF
- "${CMAKE_CURRENT_BINARY_DIR}/../x509af/x509af-exp.cnf"
-)
-
-ASN2WRS()
-
diff --git a/asn1/logotypecertextn/LogotypeCertExtn.asn b/asn1/logotypecertextn/LogotypeCertExtn.asn
deleted file mode 100644
index babaaa20f8..0000000000
--- a/asn1/logotypecertextn/LogotypeCertExtn.asn
+++ /dev/null
@@ -1,117 +0,0 @@
--- This ASN.1 module was taken from RFC3709.
---
--- The copyright statement of the RFC as follows :
---
--- Full Copyright Statement
---
--- Copyright (C) The Internet Society (2004). This document is subject
--- to the rights, licenses and restrictions contained in BCP 78 and
--- except as set forth therein, the authors retain all their rights.
---
--- This document and the information contained herein are provided on an
--- "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE
--- REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE
--- INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR
--- IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF
--- THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
--- WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
-
-LogotypeCertExtn
- { iso(1) identified-organization(3) dod(6) internet(1)
- security(5) mechanisms(5) pkix(7) id-mod(0)
- id-mod-logotype(22) }
-
-DEFINITIONS IMPLICIT TAGS ::=
-BEGIN
-
-IMPORTS
- AlgorithmIdentifier FROM AuthenticationFramework -- RFC 3280
- { iso(1) identified-organization(3) dod(6) internet(1)
- security(5) mechanisms(5) pkix(7) id-mod(0)
- id-pkix1-explicit(18) };
-
-
--- Logotype Extension OID
---
-id-pe-logotype OBJECT IDENTIFIER ::=
- { iso(1) identified-organization(3) dod(6) internet(1)
- security(5) mechanisms(5) pkix(7) id-pe(1) 12 }
-
-
--- Logotype Extension Syntax
-
-LogotypeExtn ::= SEQUENCE {
- communityLogos [0] EXPLICIT SEQUENCE OF LogotypeInfo OPTIONAL,
- issuerLogo [1] EXPLICIT LogotypeInfo OPTIONAL,
- subjectLogo [2] EXPLICIT LogotypeInfo OPTIONAL,
- otherLogos [3] EXPLICIT SEQUENCE OF OtherLogotypeInfo OPTIONAL }
-
-LogotypeInfo ::= CHOICE {
- direct [0] LogotypeData,
- indirect [1] LogotypeReference }
-
-LogotypeData ::= SEQUENCE {
- image SEQUENCE OF LogotypeImage OPTIONAL,
- audio [1] SEQUENCE OF LogotypeAudio OPTIONAL }
-
-LogotypeImage ::= SEQUENCE {
- imageDetails LogotypeDetails,
- imageInfo LogotypeImageInfo OPTIONAL }
-
-LogotypeAudio ::= SEQUENCE {
- audioDetails LogotypeDetails,
- audioInfo LogotypeAudioInfo OPTIONAL }
-
-LogotypeDetails ::= SEQUENCE {
- mediaType IA5String, -- MIME media type name and optional
- -- parameters
- logotypeHash SEQUENCE SIZE (1..MAX) OF HashAlgAndValue,
- logotypeURI SEQUENCE SIZE (1..MAX) OF IA5String }
-
-LogotypeImageInfo ::= SEQUENCE {
- type [0] LogotypeImageType DEFAULT color,
- fileSize INTEGER, -- In octets
- xSize INTEGER, -- Horizontal size in pixels
- ySize INTEGER, -- Vertical size in pixels
- resolution LogotypeImageResolution OPTIONAL,
- language [4] IA5String OPTIONAL } -- RFC 3066 Language Tag
-
-LogotypeImageType ::= INTEGER { grayScale(0), color(1) }
-
-LogotypeImageResolution ::= CHOICE {
- numBits [1] INTEGER, -- Resolution in bits
- tableSize [2] INTEGER } -- Number of colors or grey tones
-
-LogotypeAudioInfo ::= SEQUENCE {
- fileSize INTEGER, -- In octets
- playTime INTEGER, -- In milliseconds
- channels INTEGER, -- 1=mono, 2=stereo, 4=quad
- sampleRate [3] INTEGER OPTIONAL, -- Samples per second
- language [4] IA5String OPTIONAL } -- RFC 3066 Language Tag
-
-OtherLogotypeInfo ::= SEQUENCE {
- logotypeType OBJECT IDENTIFIER,
- info LogotypeInfo }
-
-LogotypeReference ::= SEQUENCE {
- refStructHash SEQUENCE SIZE (1..MAX) OF HashAlgAndValue,
- refStructURI SEQUENCE SIZE (1..MAX) OF IA5String }
- -- Places to get the same "LTD" file
-
--- Note: The content of referenced "LTD" files is defined by the
--- LogotypeData type
-
-HashAlgAndValue ::= SEQUENCE {
- hashAlg AlgorithmIdentifier,
- hashValue OCTET STRING }
-
--- Other logotype type OIDs
-
-id-logo OBJECT IDENTIFIER ::= { iso(1) identified-organization(3)
- dod(6) internet(1) security(5) mechanisms(5) pkix(7) 20 }
-
-
-id-logo-loyalty OBJECT IDENTIFIER ::= { id-logo 1 }
-
-id-logo-background OBJECT IDENTIFIER ::= { id-logo 2 }
-END
diff --git a/asn1/logotypecertextn/Makefile.am b/asn1/logotypecertextn/Makefile.am
deleted file mode 100644
index 72d28e600b..0000000000
--- a/asn1/logotypecertextn/Makefile.am
+++ /dev/null
@@ -1,23 +0,0 @@
-# Wireshark - Network traffic analyzer
-# By Gerald Combs <gerald@wireshark.org>
-# Copyright 1998 Gerald Combs
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
-
-include ../Makefile.preinc
-include Makefile.common
-include ../Makefile.inc
-
diff --git a/asn1/logotypecertextn/Makefile.common b/asn1/logotypecertextn/Makefile.common
deleted file mode 100644
index 726cbde191..0000000000
--- a/asn1/logotypecertextn/Makefile.common
+++ /dev/null
@@ -1,47 +0,0 @@
-# Wireshark - Network traffic analyzer
-# By Gerald Combs <gerald@wireshark.org>
-# Copyright 1998 Gerald Combs
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
-
-PROTOCOL_NAME=logotypecertextn
-
-EXT_ASN_FILE_LIST =
-
-ASN_FILE_LIST = \
- LogotypeCertExtn.asn
-
-# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn
-# files do not exist # for all protocols: Please add/remove as required.
-EXTRA_DIST = \
- $(EXTRA_DIST_COMMON) \
- $(ASN_FILE_LIST) \
- packet-$(PROTOCOL_NAME)-template.c \
- packet-$(PROTOCOL_NAME)-template.h \
- $(PROTOCOL_NAME).cnf
-
-SRC_FILES = \
- $(EXTRA_DIST) \
- $(EXT_ASN_FILE_LIST)
-
-A2W_FLAGS= -b
-
-EXTRA_CNF= \
- $(builddir)/../x509af/x509af-exp.cnf
-
-$(builddir)/../x509af/x509af-exp.cnf:
- (cd $(builddir)/../x509af && $(MAKE_CNF_EXPORT))
-
diff --git a/asn1/logotypecertextn/Makefile.nmake b/asn1/logotypecertextn/Makefile.nmake
deleted file mode 100644
index fc70f2382f..0000000000
--- a/asn1/logotypecertextn/Makefile.nmake
+++ /dev/null
@@ -1,26 +0,0 @@
-## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
-#
-# Wireshark - Network traffic analyzer
-# By Gerald Combs <gerald@wireshark.org>
-# Copyright 1998 Gerald Combs
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
-
-include ../../config.nmake
-include ../Makefile.preinc.nmake
-include Makefile.common
-include ../Makefile.inc.nmake
-
diff --git a/asn1/logotypecertextn/logotypecertextn.cnf b/asn1/logotypecertextn/logotypecertextn.cnf
deleted file mode 100644
index d3c6906be9..0000000000
--- a/asn1/logotypecertextn/logotypecertextn.cnf
+++ /dev/null
@@ -1,28 +0,0 @@
-# logotypecertextn.cnf
-# LogotypeCertExtn conformation file
-
-#.IMPORT ../x509af/x509af-exp.cnf
-
-#.EXPORTS
-
-#.PDU
-
-#.REGISTER
-LogotypeExtn B "1.3.6.1.5.5.7.1.12" "id-pe-logotype"
-LogotypeExtn B "1.3.6.1.5.5.7.20.1" "id-pe-logo-loyalty"
-LogotypeExtn B "1.3.6.1.5.5.7.20.2" "id-pe-logo-background"
-
-#.FN_FTR LogotypeDetails/logotypeURI/_item
- PROTO_ITEM_SET_URL(actx->created_item);
-
-#.FN_FTR LogotypeReference/refStructURI/_item
- PROTO_ITEM_SET_URL(actx->created_item);
-
-#.NO_EMIT
-
-#.TYPE_RENAME
-
-#.FIELD_RENAME
-
-#.END
-
diff --git a/asn1/logotypecertextn/packet-logotypecertextn-template.c b/asn1/logotypecertextn/packet-logotypecertextn-template.c
deleted file mode 100644
index 2bdc5afb91..0000000000
--- a/asn1/logotypecertextn/packet-logotypecertextn-template.c
+++ /dev/null
@@ -1,77 +0,0 @@
-/* packet-logotypecertextn.c
- * Routines for RFC3709 Logotype Certificate Extensions packet dissection
- * Ronnie Sahlberg 2004
- *
- * Wireshark - Network traffic analyzer
- * By Gerald Combs <gerald@wireshark.org>
- * Copyright 1998 Gerald Combs
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- */
-
-#include "config.h"
-
-#include <epan/packet.h>
-
-#include "packet-ber.h"
-#include "packet-logotypecertextn.h"
-#include "packet-x509af.h"
-
-#define PNAME "Logotype Certificate Extensions"
-#define PSNAME "LogotypeCertExtn"
-#define PFNAME "logotypecertextn"
-
-void proto_register_logotypecertextn(void);
-void proto_reg_handoff_logotypecertextn(void);
-
-/* Initialize the protocol and registered fields */
-static int proto_logotypecertextn = -1;
-#include "packet-logotypecertextn-hf.c"
-
-/* Initialize the subtree pointers */
-#include "packet-logotypecertextn-ett.c"
-
-
-#include "packet-logotypecertextn-fn.c"
-
-
-/*--- proto_register_logotypecertextn ----------------------------------------------*/
-void proto_register_logotypecertextn(void) {
-
- /* List of fields */
- static hf_register_info hf[] = {
-#include "packet-logotypecertextn-hfarr.c"
- };
-
- /* List of subtrees */
- static gint *ett[] = {
-#include "packet-logotypecertextn-ettarr.c"
- };
-
- /* Register protocol */
- proto_logotypecertextn = proto_register_protocol(PNAME, PSNAME, PFNAME);
-
- /* Register fields and subtrees */
- proto_register_field_array(proto_logotypecertextn, hf, array_length(hf));
- proto_register_subtree_array(ett, array_length(ett));
-
-}
-
-
-/*--- proto_reg_handoff_logotypecertextn -------------------------------------------*/
-void proto_reg_handoff_logotypecertextn(void) {
-#include "packet-logotypecertextn-dis-tab.c"
-}
-
diff --git a/asn1/logotypecertextn/packet-logotypecertextn-template.h b/asn1/logotypecertextn/packet-logotypecertextn-template.h
deleted file mode 100644
index 02983cb11d..0000000000
--- a/asn1/logotypecertextn/packet-logotypecertextn-template.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/* packet-logotypecertextn.h
- * Routines for RFC3907 Logotype Certificate Extensions packet dissection
- * Ronnie Sahlberg 2004
- *
- * Wireshark - Network traffic analyzer
- * By Gerald Combs <gerald@wireshark.org>
- * Copyright 1998 Gerald Combs
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- */
-
-#ifndef PACKET_LOGOTYPE_CERT_EXTN_H
-#define PACKET_LOGOTYPE_CERT_EXTN_H
-
-/*#include "packet-logotypecertextn-exp.h"*/
-
-#endif /* PACKET_LOGOTYPE_CERT_EXTN_H */
-