2013-04-11 18:14:53 +00:00
|
|
|
/* Do not modify this file. Changes will be overwritten. */
|
|
|
|
/* Generated automatically by the ASN.1 to Wireshark dissector compiler */
|
2007-10-17 10:25:21 +00:00
|
|
|
/* packet-h235.c */
|
2011-10-15 19:27:27 +00:00
|
|
|
/* ../../tools/asn2wrs.py -p h235 -c ./h235.cnf -s ./packet-h235-template -D . -O ../../epan/dissectors H235-SECURITY-MESSAGES.asn H235-SRTP.asn */
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
/* Input file: packet-h235-template.c */
|
|
|
|
|
2011-05-13 08:12:27 +00:00
|
|
|
#line 1 "../../asn1/h235/packet-h235-template.c"
|
2004-05-25 10:09:04 +00:00
|
|
|
/* packet-h235.c
|
|
|
|
* Routines for H.235 packet dissection
|
|
|
|
* 2004 Tomas Kukosa
|
|
|
|
*
|
2006-05-21 04:49:01 +00:00
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
2004-05-25 10:09:04 +00:00
|
|
|
* 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
|
2012-06-28 22:56:06 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2004-05-25 10:09:04 +00:00
|
|
|
*/
|
|
|
|
|
2012-09-20 02:03:38 +00:00
|
|
|
#include "config.h"
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
#include <epan/packet.h>
|
2007-08-25 01:14:24 +00:00
|
|
|
#include <epan/oids.h>
|
2007-05-01 22:05:11 +00:00
|
|
|
#include <epan/asn1.h>
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
#include "packet-per.h"
|
|
|
|
#include "packet-h235.h"
|
2006-05-15 06:32:01 +00:00
|
|
|
#include "packet-h225.h"
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
#define PNAME "H235-SECURITY-MESSAGES"
|
2005-08-31 15:03:12 +00:00
|
|
|
#define PSNAME "H.235"
|
2004-05-25 10:09:04 +00:00
|
|
|
#define PFNAME "h235"
|
|
|
|
|
2007-04-13 14:15:12 +00:00
|
|
|
#define OID_MIKEY "0.0.8.235.0.3.76"
|
|
|
|
#define OID_MIKEY_PS "0.0.8.235.0.3.72"
|
|
|
|
#define OID_MIKEY_DHHMAC "0.0.8.235.0.3.73"
|
|
|
|
#define OID_MIKEY_PK_SIGN "0.0.8.235.0.3.74"
|
|
|
|
#define OID_MIKEY_DH_SIGN "0.0.8.235.0.3.75"
|
|
|
|
#define OID_TG "0.0.8.235.0.3.70"
|
|
|
|
#define OID_SG "0.0.8.235.0.3.71"
|
|
|
|
|
2013-12-08 22:02:12 +00:00
|
|
|
void proto_register_h235(void);
|
|
|
|
void proto_reg_handoff_h235(void);
|
|
|
|
|
2004-05-25 10:09:04 +00:00
|
|
|
/* Initialize the protocol and registered fields */
|
2009-10-11 16:24:29 +00:00
|
|
|
static int proto_h235 = -1;
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
/*--- Included file: packet-h235-hf.c ---*/
|
2011-05-13 08:12:27 +00:00
|
|
|
#line 1 "../../asn1/h235/packet-h235-hf.c"
|
2007-10-17 10:25:21 +00:00
|
|
|
static int hf_h235_SrtpCryptoCapability_PDU = -1; /* SrtpCryptoCapability */
|
2004-05-25 10:09:04 +00:00
|
|
|
static int hf_h235_nonStandardIdentifier = -1; /* OBJECT_IDENTIFIER */
|
|
|
|
static int hf_h235_data = -1; /* OCTET_STRING */
|
|
|
|
static int hf_h235_halfkey = -1; /* BIT_STRING_SIZE_0_2048 */
|
|
|
|
static int hf_h235_modSize = -1; /* BIT_STRING_SIZE_0_2048 */
|
|
|
|
static int hf_h235_generator = -1; /* BIT_STRING_SIZE_0_2048 */
|
|
|
|
static int hf_h235_x = -1; /* BIT_STRING_SIZE_0_511 */
|
|
|
|
static int hf_h235_y = -1; /* BIT_STRING_SIZE_0_511 */
|
|
|
|
static int hf_h235_eckasdhp = -1; /* T_eckasdhp */
|
|
|
|
static int hf_h235_public_key = -1; /* ECpoint */
|
|
|
|
static int hf_h235_modulus = -1; /* BIT_STRING_SIZE_0_511 */
|
|
|
|
static int hf_h235_base = -1; /* ECpoint */
|
|
|
|
static int hf_h235_weierstrassA = -1; /* BIT_STRING_SIZE_0_511 */
|
|
|
|
static int hf_h235_weierstrassB = -1; /* BIT_STRING_SIZE_0_511 */
|
|
|
|
static int hf_h235_eckasdh2 = -1; /* T_eckasdh2 */
|
|
|
|
static int hf_h235_fieldSize = -1; /* BIT_STRING_SIZE_0_511 */
|
|
|
|
static int hf_h235_type = -1; /* OBJECT_IDENTIFIER */
|
|
|
|
static int hf_h235_certificatedata = -1; /* OCTET_STRING */
|
|
|
|
static int hf_h235_default = -1; /* NULL */
|
|
|
|
static int hf_h235_radius = -1; /* NULL */
|
|
|
|
static int hf_h235_dhExch = -1; /* NULL */
|
|
|
|
static int hf_h235_pwdSymEnc = -1; /* NULL */
|
|
|
|
static int hf_h235_pwdHash = -1; /* NULL */
|
|
|
|
static int hf_h235_certSign = -1; /* NULL */
|
|
|
|
static int hf_h235_ipsec = -1; /* NULL */
|
|
|
|
static int hf_h235_tls = -1; /* NULL */
|
|
|
|
static int hf_h235_nonStandard = -1; /* NonStandardParameter */
|
|
|
|
static int hf_h235_authenticationBES = -1; /* AuthenticationBES */
|
2006-05-15 06:32:01 +00:00
|
|
|
static int hf_h235_keyExch = -1; /* OBJECT_IDENTIFIER */
|
2004-05-25 10:09:04 +00:00
|
|
|
static int hf_h235_tokenOID = -1; /* OBJECT_IDENTIFIER */
|
|
|
|
static int hf_h235_timeStamp = -1; /* TimeStamp */
|
|
|
|
static int hf_h235_password = -1; /* Password */
|
|
|
|
static int hf_h235_dhkey = -1; /* DHset */
|
|
|
|
static int hf_h235_challenge = -1; /* ChallengeString */
|
|
|
|
static int hf_h235_random = -1; /* RandomVal */
|
|
|
|
static int hf_h235_certificate = -1; /* TypedCertificate */
|
|
|
|
static int hf_h235_generalID = -1; /* Identifier */
|
|
|
|
static int hf_h235_eckasdhkey = -1; /* ECKASDH */
|
|
|
|
static int hf_h235_sendersID = -1; /* Identifier */
|
|
|
|
static int hf_h235_h235Key = -1; /* H235Key */
|
2006-05-15 06:32:01 +00:00
|
|
|
static int hf_h235_profileInfo = -1; /* SEQUENCE_OF_ProfileElement */
|
|
|
|
static int hf_h235_profileInfo_item = -1; /* ProfileElement */
|
|
|
|
static int hf_h235_elementID = -1; /* INTEGER_0_255 */
|
|
|
|
static int hf_h235_paramS = -1; /* Params */
|
|
|
|
static int hf_h235_element = -1; /* Element */
|
|
|
|
static int hf_h235_octets = -1; /* OCTET_STRING */
|
|
|
|
static int hf_h235_integer = -1; /* INTEGER */
|
|
|
|
static int hf_h235_bits = -1; /* BIT_STRING */
|
|
|
|
static int hf_h235_name = -1; /* BMPString */
|
|
|
|
static int hf_h235_flag = -1; /* BOOLEAN */
|
2004-05-25 10:09:04 +00:00
|
|
|
static int hf_h235_toBeSigned = -1; /* ToBeSigned */
|
|
|
|
static int hf_h235_algorithmOID = -1; /* OBJECT_IDENTIFIER */
|
|
|
|
static int hf_h235_signaturedata = -1; /* BIT_STRING */
|
|
|
|
static int hf_h235_encryptedData = -1; /* OCTET_STRING */
|
|
|
|
static int hf_h235_hash = -1; /* BIT_STRING */
|
|
|
|
static int hf_h235_ranInt = -1; /* INTEGER */
|
|
|
|
static int hf_h235_iv8 = -1; /* IV8 */
|
|
|
|
static int hf_h235_iv16 = -1; /* IV16 */
|
|
|
|
static int hf_h235_iv = -1; /* OCTET_STRING */
|
|
|
|
static int hf_h235_clearSalt = -1; /* OCTET_STRING */
|
|
|
|
static int hf_h235_cryptoEncryptedToken = -1; /* T_cryptoEncryptedToken */
|
2007-05-07 12:59:31 +00:00
|
|
|
static int hf_h235_encryptedToken = -1; /* ENCRYPTED */
|
2004-05-25 10:09:04 +00:00
|
|
|
static int hf_h235_cryptoSignedToken = -1; /* T_cryptoSignedToken */
|
2007-05-07 12:59:31 +00:00
|
|
|
static int hf_h235_signedToken = -1; /* SIGNED */
|
2004-05-25 10:09:04 +00:00
|
|
|
static int hf_h235_cryptoHashedToken = -1; /* T_cryptoHashedToken */
|
|
|
|
static int hf_h235_hashedVals = -1; /* ClearToken */
|
2007-05-07 12:59:31 +00:00
|
|
|
static int hf_h235_hashedToken = -1; /* HASHED */
|
|
|
|
static int hf_h235_cryptoPwdEncr = -1; /* ENCRYPTED */
|
2004-05-25 10:09:04 +00:00
|
|
|
static int hf_h235_secureChannel = -1; /* KeyMaterial */
|
2007-05-07 12:59:31 +00:00
|
|
|
static int hf_h235_sharedSecret = -1; /* ENCRYPTED */
|
|
|
|
static int hf_h235_certProtectedKey = -1; /* SIGNED */
|
2004-05-25 10:09:04 +00:00
|
|
|
static int hf_h235_secureSharedSecret = -1; /* V3KeySyncMaterial */
|
|
|
|
static int hf_h235_encryptedSessionKey = -1; /* OCTET_STRING */
|
|
|
|
static int hf_h235_encryptedSaltingKey = -1; /* OCTET_STRING */
|
|
|
|
static int hf_h235_clearSaltingKey = -1; /* OCTET_STRING */
|
|
|
|
static int hf_h235_paramSsalt = -1; /* Params */
|
|
|
|
static int hf_h235_keyDerivationOID = -1; /* OBJECT_IDENTIFIER */
|
2006-05-15 06:32:01 +00:00
|
|
|
static int hf_h235_genericKeyMaterial = -1; /* OCTET_STRING */
|
2007-04-13 14:15:12 +00:00
|
|
|
static int hf_h235_SrtpCryptoCapability_item = -1; /* SrtpCryptoInfo */
|
|
|
|
static int hf_h235_cryptoSuite = -1; /* OBJECT_IDENTIFIER */
|
|
|
|
static int hf_h235_sessionParams = -1; /* SrtpSessionParameters */
|
|
|
|
static int hf_h235_allowMKI = -1; /* BOOLEAN */
|
|
|
|
static int hf_h235_SrtpKeys_item = -1; /* SrtpKeyParameters */
|
|
|
|
static int hf_h235_masterKey = -1; /* OCTET_STRING */
|
|
|
|
static int hf_h235_masterSalt = -1; /* OCTET_STRING */
|
|
|
|
static int hf_h235_lifetime = -1; /* T_lifetime */
|
|
|
|
static int hf_h235_powerOfTwo = -1; /* INTEGER */
|
|
|
|
static int hf_h235_specific = -1; /* INTEGER */
|
|
|
|
static int hf_h235_mki = -1; /* T_mki */
|
|
|
|
static int hf_h235_length = -1; /* INTEGER_1_128 */
|
|
|
|
static int hf_h235_value = -1; /* OCTET_STRING */
|
|
|
|
static int hf_h235_kdr = -1; /* INTEGER_0_24 */
|
|
|
|
static int hf_h235_unencryptedSrtp = -1; /* BOOLEAN */
|
|
|
|
static int hf_h235_unencryptedSrtcp = -1; /* BOOLEAN */
|
|
|
|
static int hf_h235_unauthenticatedSrtp = -1; /* BOOLEAN */
|
|
|
|
static int hf_h235_fecOrder = -1; /* FecOrder */
|
|
|
|
static int hf_h235_windowSizeHint = -1; /* INTEGER_64_65535 */
|
|
|
|
static int hf_h235_newParameter = -1; /* SEQUENCE_OF_GenericData */
|
|
|
|
static int hf_h235_newParameter_item = -1; /* GenericData */
|
|
|
|
static int hf_h235_fecBeforeSrtp = -1; /* NULL */
|
|
|
|
static int hf_h235_fecAfterSrtp = -1; /* NULL */
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
/*--- End of included file: packet-h235-hf.c ---*/
|
2014-12-23 05:32:58 +00:00
|
|
|
#line 52 "../../asn1/h235/packet-h235-template.c"
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
/* Initialize the subtree pointers */
|
|
|
|
|
|
|
|
/*--- Included file: packet-h235-ett.c ---*/
|
2011-05-13 08:12:27 +00:00
|
|
|
#line 1 "../../asn1/h235/packet-h235-ett.c"
|
2004-05-25 10:09:04 +00:00
|
|
|
static gint ett_h235_NonStandardParameter = -1;
|
|
|
|
static gint ett_h235_DHset = -1;
|
|
|
|
static gint ett_h235_ECpoint = -1;
|
|
|
|
static gint ett_h235_ECKASDH = -1;
|
|
|
|
static gint ett_h235_T_eckasdhp = -1;
|
|
|
|
static gint ett_h235_T_eckasdh2 = -1;
|
|
|
|
static gint ett_h235_TypedCertificate = -1;
|
|
|
|
static gint ett_h235_AuthenticationBES = -1;
|
|
|
|
static gint ett_h235_AuthenticationMechanism = -1;
|
|
|
|
static gint ett_h235_ClearToken = -1;
|
2006-05-15 06:32:01 +00:00
|
|
|
static gint ett_h235_SEQUENCE_OF_ProfileElement = -1;
|
|
|
|
static gint ett_h235_ProfileElement = -1;
|
|
|
|
static gint ett_h235_Element = -1;
|
2007-05-07 12:59:31 +00:00
|
|
|
static gint ett_h235_SIGNED = -1;
|
|
|
|
static gint ett_h235_ENCRYPTED = -1;
|
|
|
|
static gint ett_h235_HASHED = -1;
|
2004-05-25 10:09:04 +00:00
|
|
|
static gint ett_h235_Params = -1;
|
|
|
|
static gint ett_h235_CryptoToken = -1;
|
|
|
|
static gint ett_h235_T_cryptoEncryptedToken = -1;
|
|
|
|
static gint ett_h235_T_cryptoSignedToken = -1;
|
|
|
|
static gint ett_h235_T_cryptoHashedToken = -1;
|
|
|
|
static gint ett_h235_H235Key = -1;
|
|
|
|
static gint ett_h235_V3KeySyncMaterial = -1;
|
2007-04-13 14:15:12 +00:00
|
|
|
static gint ett_h235_SrtpCryptoCapability = -1;
|
|
|
|
static gint ett_h235_SrtpCryptoInfo = -1;
|
|
|
|
static gint ett_h235_SrtpKeys = -1;
|
|
|
|
static gint ett_h235_SrtpKeyParameters = -1;
|
|
|
|
static gint ett_h235_T_lifetime = -1;
|
|
|
|
static gint ett_h235_T_mki = -1;
|
|
|
|
static gint ett_h235_SrtpSessionParameters = -1;
|
|
|
|
static gint ett_h235_SEQUENCE_OF_GenericData = -1;
|
|
|
|
static gint ett_h235_FecOrder = -1;
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
/*--- End of included file: packet-h235-ett.c ---*/
|
2014-12-23 05:32:58 +00:00
|
|
|
#line 55 "../../asn1/h235/packet-h235-template.c"
|
2007-04-13 14:15:12 +00:00
|
|
|
|
2004-05-25 10:09:04 +00:00
|
|
|
|
2006-07-04 09:02:26 +00:00
|
|
|
static int
|
2006-07-04 06:49:53 +00:00
|
|
|
dissect_xxx_ToBeSigned(tvbuff_t *tvb, int offset, asn1_ctx_t *actx, proto_tree *tree, int hf_index _U_) {
|
2015-01-02 17:19:10 +00:00
|
|
|
dissect_per_not_decoded_yet(tree, actx->pinfo, tvb, "ToBeSigned");
|
2004-05-25 10:09:04 +00:00
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*--- Included file: packet-h235-fn.c ---*/
|
2011-05-13 08:12:27 +00:00
|
|
|
#line 1 "../../asn1/h235/packet-h235-fn.c"
|
2004-10-11 18:36:51 +00:00
|
|
|
|
2005-07-04 09:35:25 +00:00
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_ChallengeString(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index,
|
2007-10-29 19:25:37 +00:00
|
|
|
8, 128, FALSE, NULL);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
|
|
|
|
int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_TimeStamp(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
|
2008-05-21 05:41:39 +00:00
|
|
|
1U, 4294967295U, NULL, FALSE);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
|
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_RandomVal(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_integer(tvb, offset, actx, tree, hf_index, NULL);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2005-08-18 14:32:49 +00:00
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_Password(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_BMPString(tvb, offset, actx, tree, hf_index,
|
2009-11-22 17:00:45 +00:00
|
|
|
1, 128, FALSE);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2005-08-18 14:32:49 +00:00
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_Identifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_BMPString(tvb, offset, actx, tree, hf_index,
|
2009-11-22 17:00:45 +00:00
|
|
|
1, 128, FALSE);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2005-08-18 14:32:49 +00:00
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_KeyMaterial(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index,
|
2013-11-17 13:31:32 +00:00
|
|
|
1, 2048, FALSE, NULL, NULL);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2005-07-04 09:35:25 +00:00
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_OBJECT_IDENTIFIER(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_object_identifier(tvb, offset, actx, tree, hf_index, NULL);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2005-07-04 09:35:25 +00:00
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_OCTET_STRING(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index,
|
2007-10-29 19:25:37 +00:00
|
|
|
NO_BOUND, NO_BOUND, FALSE, NULL);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
2005-08-01 08:46:09 +00:00
|
|
|
|
2004-10-11 18:36:51 +00:00
|
|
|
static const per_sequence_t NonStandardParameter_sequence[] = {
|
2006-07-03 07:03:57 +00:00
|
|
|
{ &hf_h235_nonStandardIdentifier, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_OBJECT_IDENTIFIER },
|
|
|
|
{ &hf_h235_data , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_OCTET_STRING },
|
|
|
|
{ NULL, 0, 0, NULL }
|
2004-05-25 10:09:04 +00:00
|
|
|
};
|
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_NonStandardParameter(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
|
2005-08-01 08:46:09 +00:00
|
|
|
ett_h235_NonStandardParameter, NonStandardParameter_sequence);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2005-08-18 14:32:49 +00:00
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_BIT_STRING_SIZE_0_2048(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index,
|
2013-11-17 13:31:32 +00:00
|
|
|
0, 2048, FALSE, NULL, NULL);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
2005-08-01 08:46:09 +00:00
|
|
|
|
2004-10-11 18:36:51 +00:00
|
|
|
static const per_sequence_t DHset_sequence[] = {
|
2006-07-03 07:03:57 +00:00
|
|
|
{ &hf_h235_halfkey , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_h235_BIT_STRING_SIZE_0_2048 },
|
|
|
|
{ &hf_h235_modSize , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_h235_BIT_STRING_SIZE_0_2048 },
|
|
|
|
{ &hf_h235_generator , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_h235_BIT_STRING_SIZE_0_2048 },
|
|
|
|
{ NULL, 0, 0, NULL }
|
2004-05-25 10:09:04 +00:00
|
|
|
};
|
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_DHset(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
|
2005-08-01 08:46:09 +00:00
|
|
|
ett_h235_DHset, DHset_sequence);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2005-08-18 14:32:49 +00:00
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_BIT_STRING_SIZE_0_511(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index,
|
2013-11-17 13:31:32 +00:00
|
|
|
0, 511, FALSE, NULL, NULL);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
2005-08-01 08:46:09 +00:00
|
|
|
|
2004-10-11 18:36:51 +00:00
|
|
|
static const per_sequence_t ECpoint_sequence[] = {
|
2006-07-03 07:03:57 +00:00
|
|
|
{ &hf_h235_x , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_BIT_STRING_SIZE_0_511 },
|
|
|
|
{ &hf_h235_y , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_BIT_STRING_SIZE_0_511 },
|
|
|
|
{ NULL, 0, 0, NULL }
|
2004-05-25 10:09:04 +00:00
|
|
|
};
|
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_ECpoint(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
|
2005-08-01 08:46:09 +00:00
|
|
|
ett_h235_ECpoint, ECpoint_sequence);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
2005-08-01 08:46:09 +00:00
|
|
|
|
2004-10-11 18:36:51 +00:00
|
|
|
static const per_sequence_t T_eckasdhp_sequence[] = {
|
2006-07-03 07:03:57 +00:00
|
|
|
{ &hf_h235_public_key , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_ECpoint },
|
|
|
|
{ &hf_h235_modulus , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_BIT_STRING_SIZE_0_511 },
|
|
|
|
{ &hf_h235_base , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_ECpoint },
|
|
|
|
{ &hf_h235_weierstrassA , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_BIT_STRING_SIZE_0_511 },
|
|
|
|
{ &hf_h235_weierstrassB , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_BIT_STRING_SIZE_0_511 },
|
|
|
|
{ NULL, 0, 0, NULL }
|
2004-05-25 10:09:04 +00:00
|
|
|
};
|
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_T_eckasdhp(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
|
2005-08-01 08:46:09 +00:00
|
|
|
ett_h235_T_eckasdhp, T_eckasdhp_sequence);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
2005-08-01 08:46:09 +00:00
|
|
|
|
2004-10-11 18:36:51 +00:00
|
|
|
static const per_sequence_t T_eckasdh2_sequence[] = {
|
2006-07-03 07:03:57 +00:00
|
|
|
{ &hf_h235_public_key , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_ECpoint },
|
|
|
|
{ &hf_h235_fieldSize , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_BIT_STRING_SIZE_0_511 },
|
|
|
|
{ &hf_h235_base , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_ECpoint },
|
|
|
|
{ &hf_h235_weierstrassA , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_BIT_STRING_SIZE_0_511 },
|
|
|
|
{ &hf_h235_weierstrassB , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_BIT_STRING_SIZE_0_511 },
|
|
|
|
{ NULL, 0, 0, NULL }
|
2004-05-25 10:09:04 +00:00
|
|
|
};
|
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_T_eckasdh2(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
|
2005-08-01 08:46:09 +00:00
|
|
|
ett_h235_T_eckasdh2, T_eckasdh2_sequence);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2005-07-04 09:35:25 +00:00
|
|
|
static const value_string h235_ECKASDH_vals[] = {
|
2004-05-25 10:09:04 +00:00
|
|
|
{ 0, "eckasdhp" },
|
|
|
|
{ 1, "eckasdh2" },
|
|
|
|
{ 0, NULL }
|
|
|
|
};
|
2004-06-03 19:07:05 +00:00
|
|
|
|
2004-10-11 18:36:51 +00:00
|
|
|
static const per_choice_t ECKASDH_choice[] = {
|
2006-06-29 15:26:41 +00:00
|
|
|
{ 0, &hf_h235_eckasdhp , ASN1_EXTENSION_ROOT , dissect_h235_T_eckasdhp },
|
|
|
|
{ 1, &hf_h235_eckasdh2 , ASN1_EXTENSION_ROOT , dissect_h235_T_eckasdh2 },
|
2004-05-25 10:09:04 +00:00
|
|
|
{ 0, NULL, 0, NULL }
|
|
|
|
};
|
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_ECKASDH(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_choice(tvb, offset, actx, tree, hf_index,
|
2005-09-19 07:35:05 +00:00
|
|
|
ett_h235_ECKASDH, ECKASDH_choice,
|
2005-08-01 08:46:09 +00:00
|
|
|
NULL);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
2005-08-01 08:46:09 +00:00
|
|
|
|
2004-10-11 18:36:51 +00:00
|
|
|
static const per_sequence_t TypedCertificate_sequence[] = {
|
2006-07-03 07:03:57 +00:00
|
|
|
{ &hf_h235_type , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_h235_OBJECT_IDENTIFIER },
|
|
|
|
{ &hf_h235_certificatedata, ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_h235_OCTET_STRING },
|
|
|
|
{ NULL, 0, 0, NULL }
|
2004-05-25 10:09:04 +00:00
|
|
|
};
|
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_TypedCertificate(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
|
2005-08-01 08:46:09 +00:00
|
|
|
ett_h235_TypedCertificate, TypedCertificate_sequence);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2005-07-04 09:35:25 +00:00
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_NULL(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_null(tvb, offset, actx, tree, hf_index);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2005-07-04 09:35:25 +00:00
|
|
|
static const value_string h235_AuthenticationBES_vals[] = {
|
2004-05-25 10:09:04 +00:00
|
|
|
{ 0, "default" },
|
|
|
|
{ 1, "radius" },
|
|
|
|
{ 0, NULL }
|
|
|
|
};
|
2004-06-03 19:07:05 +00:00
|
|
|
|
2004-10-11 18:36:51 +00:00
|
|
|
static const per_choice_t AuthenticationBES_choice[] = {
|
2006-06-29 15:26:41 +00:00
|
|
|
{ 0, &hf_h235_default , ASN1_EXTENSION_ROOT , dissect_h235_NULL },
|
|
|
|
{ 1, &hf_h235_radius , ASN1_EXTENSION_ROOT , dissect_h235_NULL },
|
2004-05-25 10:09:04 +00:00
|
|
|
{ 0, NULL, 0, NULL }
|
|
|
|
};
|
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_AuthenticationBES(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_choice(tvb, offset, actx, tree, hf_index,
|
2005-09-19 07:35:05 +00:00
|
|
|
ett_h235_AuthenticationBES, AuthenticationBES_choice,
|
2005-08-01 08:46:09 +00:00
|
|
|
NULL);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2005-07-04 09:35:25 +00:00
|
|
|
const value_string h235_AuthenticationMechanism_vals[] = {
|
2004-05-25 10:09:04 +00:00
|
|
|
{ 0, "dhExch" },
|
|
|
|
{ 1, "pwdSymEnc" },
|
|
|
|
{ 2, "pwdHash" },
|
|
|
|
{ 3, "certSign" },
|
|
|
|
{ 4, "ipsec" },
|
|
|
|
{ 5, "tls" },
|
|
|
|
{ 6, "nonStandard" },
|
|
|
|
{ 7, "authenticationBES" },
|
2006-05-15 06:32:01 +00:00
|
|
|
{ 8, "keyExch" },
|
2004-05-25 10:09:04 +00:00
|
|
|
{ 0, NULL }
|
|
|
|
};
|
2004-06-03 19:07:05 +00:00
|
|
|
|
2004-10-11 18:36:51 +00:00
|
|
|
static const per_choice_t AuthenticationMechanism_choice[] = {
|
2006-06-29 15:26:41 +00:00
|
|
|
{ 0, &hf_h235_dhExch , ASN1_EXTENSION_ROOT , dissect_h235_NULL },
|
|
|
|
{ 1, &hf_h235_pwdSymEnc , ASN1_EXTENSION_ROOT , dissect_h235_NULL },
|
|
|
|
{ 2, &hf_h235_pwdHash , ASN1_EXTENSION_ROOT , dissect_h235_NULL },
|
|
|
|
{ 3, &hf_h235_certSign , ASN1_EXTENSION_ROOT , dissect_h235_NULL },
|
|
|
|
{ 4, &hf_h235_ipsec , ASN1_EXTENSION_ROOT , dissect_h235_NULL },
|
|
|
|
{ 5, &hf_h235_tls , ASN1_EXTENSION_ROOT , dissect_h235_NULL },
|
|
|
|
{ 6, &hf_h235_nonStandard , ASN1_EXTENSION_ROOT , dissect_h235_NonStandardParameter },
|
|
|
|
{ 7, &hf_h235_authenticationBES, ASN1_NOT_EXTENSION_ROOT, dissect_h235_AuthenticationBES },
|
|
|
|
{ 8, &hf_h235_keyExch , ASN1_NOT_EXTENSION_ROOT, dissect_h235_OBJECT_IDENTIFIER },
|
2004-05-25 10:09:04 +00:00
|
|
|
{ 0, NULL, 0, NULL }
|
|
|
|
};
|
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_AuthenticationMechanism(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_choice(tvb, offset, actx, tree, hf_index,
|
2005-09-19 07:35:05 +00:00
|
|
|
ett_h235_AuthenticationMechanism, AuthenticationMechanism_choice,
|
2005-08-01 08:46:09 +00:00
|
|
|
NULL);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
|
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_INTEGER(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_integer(tvb, offset, actx, tree, hf_index, NULL);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2005-07-04 09:35:25 +00:00
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_IV8(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index,
|
2007-10-29 19:25:37 +00:00
|
|
|
8, 8, FALSE, NULL);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2005-07-04 09:35:25 +00:00
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_IV16(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index,
|
2007-10-29 19:25:37 +00:00
|
|
|
16, 16, FALSE, NULL);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
2005-08-01 08:46:09 +00:00
|
|
|
|
2004-10-11 18:36:51 +00:00
|
|
|
static const per_sequence_t Params_sequence[] = {
|
2006-07-03 07:03:57 +00:00
|
|
|
{ &hf_h235_ranInt , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_INTEGER },
|
|
|
|
{ &hf_h235_iv8 , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_IV8 },
|
|
|
|
{ &hf_h235_iv16 , ASN1_NOT_EXTENSION_ROOT, ASN1_OPTIONAL , dissect_h235_IV16 },
|
|
|
|
{ &hf_h235_iv , ASN1_NOT_EXTENSION_ROOT, ASN1_OPTIONAL , dissect_h235_OCTET_STRING },
|
|
|
|
{ &hf_h235_clearSalt , ASN1_NOT_EXTENSION_ROOT, ASN1_OPTIONAL , dissect_h235_OCTET_STRING },
|
|
|
|
{ NULL, 0, 0, NULL }
|
2004-05-25 10:09:04 +00:00
|
|
|
};
|
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_Params(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
|
2005-08-01 08:46:09 +00:00
|
|
|
ett_h235_Params, Params_sequence);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
2005-08-01 08:46:09 +00:00
|
|
|
|
2007-05-07 12:59:31 +00:00
|
|
|
static const per_sequence_t ENCRYPTED_sequence[] = {
|
2006-07-03 07:03:57 +00:00
|
|
|
{ &hf_h235_algorithmOID , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_OBJECT_IDENTIFIER },
|
|
|
|
{ &hf_h235_paramS , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_Params },
|
|
|
|
{ &hf_h235_encryptedData , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_OCTET_STRING },
|
|
|
|
{ NULL, 0, 0, NULL }
|
2004-05-25 10:09:04 +00:00
|
|
|
};
|
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
int
|
2007-05-07 12:59:31 +00:00
|
|
|
dissect_h235_ENCRYPTED(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2014-02-18 03:02:21 +00:00
|
|
|
#line 63 "../../asn1/h235/h235.cnf"
|
2008-05-21 05:41:39 +00:00
|
|
|
proto_item *hidden_item;
|
2013-06-12 09:03:21 +00:00
|
|
|
hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset>>3, 0, ENC_NA);
|
2008-05-21 05:41:39 +00:00
|
|
|
PROTO_ITEM_SET_HIDDEN(hidden_item);
|
2005-12-08 23:29:21 +00:00
|
|
|
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
|
2007-05-07 12:59:31 +00:00
|
|
|
ett_h235_ENCRYPTED, ENCRYPTED_sequence);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2005-08-18 14:32:49 +00:00
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_BIT_STRING(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index,
|
2013-11-17 13:31:32 +00:00
|
|
|
NO_BOUND, NO_BOUND, FALSE, NULL, NULL);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
2005-08-01 08:46:09 +00:00
|
|
|
|
2007-05-07 12:59:31 +00:00
|
|
|
static const per_sequence_t SIGNED_sequence[] = {
|
2006-07-03 07:03:57 +00:00
|
|
|
{ &hf_h235_toBeSigned , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_xxx_ToBeSigned },
|
|
|
|
{ &hf_h235_algorithmOID , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_OBJECT_IDENTIFIER },
|
|
|
|
{ &hf_h235_paramS , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_Params },
|
|
|
|
{ &hf_h235_signaturedata , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_BIT_STRING },
|
|
|
|
{ NULL, 0, 0, NULL }
|
2004-05-25 10:09:04 +00:00
|
|
|
};
|
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
int
|
2007-05-07 12:59:31 +00:00
|
|
|
dissect_h235_SIGNED(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2014-02-18 03:02:21 +00:00
|
|
|
#line 58 "../../asn1/h235/h235.cnf"
|
2008-05-21 05:41:39 +00:00
|
|
|
proto_item *hidden_item;
|
2013-06-12 09:03:21 +00:00
|
|
|
hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset>>3, 0, ENC_NA);
|
2008-05-21 05:41:39 +00:00
|
|
|
PROTO_ITEM_SET_HIDDEN(hidden_item);
|
2005-12-08 23:29:21 +00:00
|
|
|
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
|
2007-05-07 12:59:31 +00:00
|
|
|
ett_h235_SIGNED, SIGNED_sequence);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
2005-08-01 08:46:09 +00:00
|
|
|
|
2004-10-11 18:36:51 +00:00
|
|
|
static const per_sequence_t V3KeySyncMaterial_sequence[] = {
|
2006-07-03 07:03:57 +00:00
|
|
|
{ &hf_h235_generalID , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_Identifier },
|
|
|
|
{ &hf_h235_algorithmOID , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_OBJECT_IDENTIFIER },
|
|
|
|
{ &hf_h235_paramS , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_h235_Params },
|
|
|
|
{ &hf_h235_encryptedSessionKey, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_OCTET_STRING },
|
|
|
|
{ &hf_h235_encryptedSaltingKey, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_OCTET_STRING },
|
|
|
|
{ &hf_h235_clearSaltingKey, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_OCTET_STRING },
|
|
|
|
{ &hf_h235_paramSsalt , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_Params },
|
|
|
|
{ &hf_h235_keyDerivationOID, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_OBJECT_IDENTIFIER },
|
|
|
|
{ &hf_h235_genericKeyMaterial, ASN1_NOT_EXTENSION_ROOT, ASN1_OPTIONAL , dissect_h235_OCTET_STRING },
|
|
|
|
{ NULL, 0, 0, NULL }
|
2004-05-25 10:09:04 +00:00
|
|
|
};
|
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_V3KeySyncMaterial(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
|
2005-08-01 08:46:09 +00:00
|
|
|
ett_h235_V3KeySyncMaterial, V3KeySyncMaterial_sequence);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2005-07-04 09:35:25 +00:00
|
|
|
static const value_string h235_H235Key_vals[] = {
|
2004-05-25 10:09:04 +00:00
|
|
|
{ 0, "secureChannel" },
|
|
|
|
{ 1, "sharedSecret" },
|
|
|
|
{ 2, "certProtectedKey" },
|
|
|
|
{ 3, "secureSharedSecret" },
|
|
|
|
{ 0, NULL }
|
|
|
|
};
|
2004-06-03 19:07:05 +00:00
|
|
|
|
2004-10-11 18:36:51 +00:00
|
|
|
static const per_choice_t H235Key_choice[] = {
|
2006-06-29 15:26:41 +00:00
|
|
|
{ 0, &hf_h235_secureChannel , ASN1_EXTENSION_ROOT , dissect_h235_KeyMaterial },
|
2007-05-07 12:59:31 +00:00
|
|
|
{ 1, &hf_h235_sharedSecret , ASN1_EXTENSION_ROOT , dissect_h235_ENCRYPTED },
|
|
|
|
{ 2, &hf_h235_certProtectedKey, ASN1_EXTENSION_ROOT , dissect_h235_SIGNED },
|
2006-06-29 15:26:41 +00:00
|
|
|
{ 3, &hf_h235_secureSharedSecret, ASN1_NOT_EXTENSION_ROOT, dissect_h235_V3KeySyncMaterial },
|
2004-05-25 10:09:04 +00:00
|
|
|
{ 0, NULL, 0, NULL }
|
|
|
|
};
|
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_H235Key(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_choice(tvb, offset, actx, tree, hf_index,
|
2005-09-19 07:35:05 +00:00
|
|
|
ett_h235_H235Key, H235Key_choice,
|
2005-08-01 08:46:09 +00:00
|
|
|
NULL);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
2005-08-01 08:46:09 +00:00
|
|
|
|
2006-05-15 06:32:01 +00:00
|
|
|
|
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_INTEGER_0_255(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
|
2008-05-21 05:41:39 +00:00
|
|
|
0U, 255U, NULL, FALSE);
|
2006-05-15 06:32:01 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_BMPString(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_BMPString(tvb, offset, actx, tree, hf_index,
|
2009-11-22 17:00:45 +00:00
|
|
|
NO_BOUND, NO_BOUND, FALSE);
|
2006-05-15 06:32:01 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_BOOLEAN(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_boolean(tvb, offset, actx, tree, hf_index, NULL);
|
2006-05-15 06:32:01 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static const value_string h235_Element_vals[] = {
|
|
|
|
{ 0, "octets" },
|
|
|
|
{ 1, "integer" },
|
|
|
|
{ 2, "bits" },
|
|
|
|
{ 3, "name" },
|
|
|
|
{ 4, "flag" },
|
|
|
|
{ 0, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static const per_choice_t Element_choice[] = {
|
2006-06-29 15:26:41 +00:00
|
|
|
{ 0, &hf_h235_octets , ASN1_EXTENSION_ROOT , dissect_h235_OCTET_STRING },
|
|
|
|
{ 1, &hf_h235_integer , ASN1_EXTENSION_ROOT , dissect_h235_INTEGER },
|
|
|
|
{ 2, &hf_h235_bits , ASN1_EXTENSION_ROOT , dissect_h235_BIT_STRING },
|
|
|
|
{ 3, &hf_h235_name , ASN1_EXTENSION_ROOT , dissect_h235_BMPString },
|
|
|
|
{ 4, &hf_h235_flag , ASN1_EXTENSION_ROOT , dissect_h235_BOOLEAN },
|
2006-05-15 06:32:01 +00:00
|
|
|
{ 0, NULL, 0, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_Element(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_choice(tvb, offset, actx, tree, hf_index,
|
2006-05-15 06:32:01 +00:00
|
|
|
ett_h235_Element, Element_choice,
|
|
|
|
NULL);
|
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static const per_sequence_t ProfileElement_sequence[] = {
|
2006-07-03 07:03:57 +00:00
|
|
|
{ &hf_h235_elementID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_h235_INTEGER_0_255 },
|
|
|
|
{ &hf_h235_paramS , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_Params },
|
|
|
|
{ &hf_h235_element , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_Element },
|
|
|
|
{ NULL, 0, 0, NULL }
|
2006-05-15 06:32:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_ProfileElement(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
|
2006-05-15 06:32:01 +00:00
|
|
|
ett_h235_ProfileElement, ProfileElement_sequence);
|
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static const per_sequence_t SEQUENCE_OF_ProfileElement_sequence_of[1] = {
|
2006-07-03 07:03:57 +00:00
|
|
|
{ &hf_h235_profileInfo_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_ProfileElement },
|
2006-05-15 06:32:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_SEQUENCE_OF_ProfileElement(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_sequence_of(tvb, offset, actx, tree, hf_index,
|
2006-05-15 06:32:01 +00:00
|
|
|
ett_h235_SEQUENCE_OF_ProfileElement, SEQUENCE_OF_ProfileElement_sequence_of);
|
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2004-10-11 18:36:51 +00:00
|
|
|
static const per_sequence_t ClearToken_sequence[] = {
|
2006-07-03 07:03:57 +00:00
|
|
|
{ &hf_h235_tokenOID , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_h235_OBJECT_IDENTIFIER },
|
|
|
|
{ &hf_h235_timeStamp , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_TimeStamp },
|
|
|
|
{ &hf_h235_password , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_Password },
|
|
|
|
{ &hf_h235_dhkey , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_DHset },
|
|
|
|
{ &hf_h235_challenge , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_ChallengeString },
|
|
|
|
{ &hf_h235_random , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_RandomVal },
|
|
|
|
{ &hf_h235_certificate , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_TypedCertificate },
|
|
|
|
{ &hf_h235_generalID , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_Identifier },
|
|
|
|
{ &hf_h235_nonStandard , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_NonStandardParameter },
|
|
|
|
{ &hf_h235_eckasdhkey , ASN1_NOT_EXTENSION_ROOT, ASN1_OPTIONAL , dissect_h235_ECKASDH },
|
|
|
|
{ &hf_h235_sendersID , ASN1_NOT_EXTENSION_ROOT, ASN1_OPTIONAL , dissect_h235_Identifier },
|
|
|
|
{ &hf_h235_h235Key , ASN1_NOT_EXTENSION_ROOT, ASN1_OPTIONAL , dissect_h235_H235Key },
|
|
|
|
{ &hf_h235_profileInfo , ASN1_NOT_EXTENSION_ROOT, ASN1_OPTIONAL , dissect_h235_SEQUENCE_OF_ProfileElement },
|
|
|
|
{ NULL, 0, 0, NULL }
|
2004-05-25 10:09:04 +00:00
|
|
|
};
|
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_ClearToken(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2014-02-18 03:02:21 +00:00
|
|
|
#line 74 "../../asn1/h235/h235.cnf"
|
2008-05-21 05:41:39 +00:00
|
|
|
proto_item *hidden_item;
|
2013-06-12 09:03:21 +00:00
|
|
|
hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset>>3, 0, ENC_NA);
|
2008-05-21 05:41:39 +00:00
|
|
|
PROTO_ITEM_SET_HIDDEN(hidden_item);
|
2005-12-08 23:29:21 +00:00
|
|
|
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
|
2005-08-01 08:46:09 +00:00
|
|
|
ett_h235_ClearToken, ClearToken_sequence);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
2005-08-01 08:46:09 +00:00
|
|
|
|
2007-05-07 12:59:31 +00:00
|
|
|
static const per_sequence_t HASHED_sequence[] = {
|
2006-07-03 07:03:57 +00:00
|
|
|
{ &hf_h235_algorithmOID , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_OBJECT_IDENTIFIER },
|
|
|
|
{ &hf_h235_paramS , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_Params },
|
|
|
|
{ &hf_h235_hash , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_BIT_STRING },
|
|
|
|
{ NULL, 0, 0, NULL }
|
2004-05-25 10:09:04 +00:00
|
|
|
};
|
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
int
|
2007-05-07 12:59:31 +00:00
|
|
|
dissect_h235_HASHED(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2014-02-18 03:02:21 +00:00
|
|
|
#line 68 "../../asn1/h235/h235.cnf"
|
2008-05-21 05:41:39 +00:00
|
|
|
proto_item *hidden_item;
|
2013-06-12 09:03:21 +00:00
|
|
|
hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset>>3, 0, ENC_NA);
|
2008-05-21 05:41:39 +00:00
|
|
|
PROTO_ITEM_SET_HIDDEN(hidden_item);
|
2005-12-08 23:29:21 +00:00
|
|
|
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
|
2007-05-07 12:59:31 +00:00
|
|
|
ett_h235_HASHED, HASHED_sequence);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
2005-08-01 08:46:09 +00:00
|
|
|
|
2004-10-11 18:36:51 +00:00
|
|
|
static const per_sequence_t T_cryptoEncryptedToken_sequence[] = {
|
2006-07-03 07:03:57 +00:00
|
|
|
{ &hf_h235_tokenOID , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_OBJECT_IDENTIFIER },
|
2007-05-07 12:59:31 +00:00
|
|
|
{ &hf_h235_encryptedToken , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_ENCRYPTED },
|
2006-07-03 07:03:57 +00:00
|
|
|
{ NULL, 0, 0, NULL }
|
2004-05-25 10:09:04 +00:00
|
|
|
};
|
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_T_cryptoEncryptedToken(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
|
2005-08-01 08:46:09 +00:00
|
|
|
ett_h235_T_cryptoEncryptedToken, T_cryptoEncryptedToken_sequence);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
2005-08-01 08:46:09 +00:00
|
|
|
|
2004-10-11 18:36:51 +00:00
|
|
|
static const per_sequence_t T_cryptoSignedToken_sequence[] = {
|
2006-07-03 07:03:57 +00:00
|
|
|
{ &hf_h235_tokenOID , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_OBJECT_IDENTIFIER },
|
2007-05-07 12:59:31 +00:00
|
|
|
{ &hf_h235_signedToken , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_SIGNED },
|
2006-07-03 07:03:57 +00:00
|
|
|
{ NULL, 0, 0, NULL }
|
2004-05-25 10:09:04 +00:00
|
|
|
};
|
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_T_cryptoSignedToken(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
|
2005-08-01 08:46:09 +00:00
|
|
|
ett_h235_T_cryptoSignedToken, T_cryptoSignedToken_sequence);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
2005-08-01 08:46:09 +00:00
|
|
|
|
2004-10-11 18:36:51 +00:00
|
|
|
static const per_sequence_t T_cryptoHashedToken_sequence[] = {
|
2006-07-03 07:03:57 +00:00
|
|
|
{ &hf_h235_tokenOID , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_OBJECT_IDENTIFIER },
|
|
|
|
{ &hf_h235_hashedVals , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_ClearToken },
|
2007-05-07 12:59:31 +00:00
|
|
|
{ &hf_h235_hashedToken , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_HASHED },
|
2006-07-03 07:03:57 +00:00
|
|
|
{ NULL, 0, 0, NULL }
|
2004-05-25 10:09:04 +00:00
|
|
|
};
|
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
static int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_T_cryptoHashedToken(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
|
2005-08-01 08:46:09 +00:00
|
|
|
ett_h235_T_cryptoHashedToken, T_cryptoHashedToken_sequence);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2005-07-04 09:35:25 +00:00
|
|
|
const value_string h235_CryptoToken_vals[] = {
|
2004-05-25 10:09:04 +00:00
|
|
|
{ 0, "cryptoEncryptedToken" },
|
|
|
|
{ 1, "cryptoSignedToken" },
|
|
|
|
{ 2, "cryptoHashedToken" },
|
|
|
|
{ 3, "cryptoPwdEncr" },
|
|
|
|
{ 0, NULL }
|
|
|
|
};
|
2004-06-03 19:07:05 +00:00
|
|
|
|
2004-10-11 18:36:51 +00:00
|
|
|
static const per_choice_t CryptoToken_choice[] = {
|
2006-06-29 15:26:41 +00:00
|
|
|
{ 0, &hf_h235_cryptoEncryptedToken, ASN1_EXTENSION_ROOT , dissect_h235_T_cryptoEncryptedToken },
|
|
|
|
{ 1, &hf_h235_cryptoSignedToken, ASN1_EXTENSION_ROOT , dissect_h235_T_cryptoSignedToken },
|
|
|
|
{ 2, &hf_h235_cryptoHashedToken, ASN1_EXTENSION_ROOT , dissect_h235_T_cryptoHashedToken },
|
2007-05-07 12:59:31 +00:00
|
|
|
{ 3, &hf_h235_cryptoPwdEncr , ASN1_EXTENSION_ROOT , dissect_h235_ENCRYPTED },
|
2004-05-25 10:09:04 +00:00
|
|
|
{ 0, NULL, 0, NULL }
|
|
|
|
};
|
|
|
|
|
2004-06-03 19:07:05 +00:00
|
|
|
int
|
2007-03-21 10:22:22 +00:00
|
|
|
dissect_h235_CryptoToken(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
2014-02-18 03:02:21 +00:00
|
|
|
#line 80 "../../asn1/h235/h235.cnf"
|
2008-05-21 05:41:39 +00:00
|
|
|
proto_item *hidden_item;
|
2013-06-12 09:03:21 +00:00
|
|
|
hidden_item = proto_tree_add_item(tree, proto_h235, tvb, offset>>3, 0, ENC_NA);
|
2008-05-21 05:41:39 +00:00
|
|
|
PROTO_ITEM_SET_HIDDEN(hidden_item);
|
2005-12-08 23:29:21 +00:00
|
|
|
|
2006-05-22 11:49:50 +00:00
|
|
|
offset = dissect_per_choice(tvb, offset, actx, tree, hf_index,
|
2005-09-19 07:35:05 +00:00
|
|
|
ett_h235_CryptoToken, CryptoToken_choice,
|
2005-08-01 08:46:09 +00:00
|
|
|
NULL);
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2006-06-05 06:52:50 +00:00
|
|
|
|
2007-04-13 14:15:12 +00:00
|
|
|
static int
|
|
|
|
dissect_h235_INTEGER_0_24(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
|
2008-05-21 05:41:39 +00:00
|
|
|
0U, 24U, NULL, FALSE);
|
2007-04-13 14:15:12 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static const per_sequence_t FecOrder_sequence[] = {
|
|
|
|
{ &hf_h235_fecBeforeSrtp , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_NULL },
|
|
|
|
{ &hf_h235_fecAfterSrtp , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_NULL },
|
|
|
|
{ NULL, 0, 0, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
|
|
|
dissect_h235_FecOrder(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
|
|
|
|
ett_h235_FecOrder, FecOrder_sequence);
|
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
|
|
|
dissect_h235_INTEGER_64_65535(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
|
2008-05-21 05:41:39 +00:00
|
|
|
64U, 65535U, NULL, FALSE);
|
2007-04-13 14:15:12 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static const per_sequence_t SEQUENCE_OF_GenericData_sequence_of[1] = {
|
|
|
|
{ &hf_h235_newParameter_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h225_GenericData },
|
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
|
|
|
dissect_h235_SEQUENCE_OF_GenericData(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
offset = dissect_per_sequence_of(tvb, offset, actx, tree, hf_index,
|
|
|
|
ett_h235_SEQUENCE_OF_GenericData, SEQUENCE_OF_GenericData_sequence_of);
|
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static const per_sequence_t SrtpSessionParameters_sequence[] = {
|
|
|
|
{ &hf_h235_kdr , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_INTEGER_0_24 },
|
|
|
|
{ &hf_h235_unencryptedSrtp, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_BOOLEAN },
|
|
|
|
{ &hf_h235_unencryptedSrtcp, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_BOOLEAN },
|
|
|
|
{ &hf_h235_unauthenticatedSrtp, ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_BOOLEAN },
|
|
|
|
{ &hf_h235_fecOrder , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_FecOrder },
|
|
|
|
{ &hf_h235_windowSizeHint , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_INTEGER_64_65535 },
|
|
|
|
{ &hf_h235_newParameter , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_SEQUENCE_OF_GenericData },
|
|
|
|
{ NULL, 0, 0, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
|
|
|
dissect_h235_SrtpSessionParameters(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
|
|
|
|
ett_h235_SrtpSessionParameters, SrtpSessionParameters_sequence);
|
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static const per_sequence_t SrtpCryptoInfo_sequence[] = {
|
|
|
|
{ &hf_h235_cryptoSuite , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_OBJECT_IDENTIFIER },
|
|
|
|
{ &hf_h235_sessionParams , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_SrtpSessionParameters },
|
|
|
|
{ &hf_h235_allowMKI , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_BOOLEAN },
|
|
|
|
{ NULL, 0, 0, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
|
|
|
dissect_h235_SrtpCryptoInfo(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
|
|
|
|
ett_h235_SrtpCryptoInfo, SrtpCryptoInfo_sequence);
|
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static const per_sequence_t SrtpCryptoCapability_sequence_of[1] = {
|
|
|
|
{ &hf_h235_SrtpCryptoCapability_item, ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_SrtpCryptoInfo },
|
|
|
|
};
|
|
|
|
|
2007-10-17 10:25:21 +00:00
|
|
|
static int
|
2007-04-13 14:15:12 +00:00
|
|
|
dissect_h235_SrtpCryptoCapability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
offset = dissect_per_sequence_of(tvb, offset, actx, tree, hf_index,
|
|
|
|
ett_h235_SrtpCryptoCapability, SrtpCryptoCapability_sequence_of);
|
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static const value_string h235_T_lifetime_vals[] = {
|
|
|
|
{ 0, "powerOfTwo" },
|
|
|
|
{ 1, "specific" },
|
|
|
|
{ 0, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static const per_choice_t T_lifetime_choice[] = {
|
|
|
|
{ 0, &hf_h235_powerOfTwo , ASN1_EXTENSION_ROOT , dissect_h235_INTEGER },
|
|
|
|
{ 1, &hf_h235_specific , ASN1_EXTENSION_ROOT , dissect_h235_INTEGER },
|
|
|
|
{ 0, NULL, 0, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
|
|
|
dissect_h235_T_lifetime(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
offset = dissect_per_choice(tvb, offset, actx, tree, hf_index,
|
|
|
|
ett_h235_T_lifetime, T_lifetime_choice,
|
|
|
|
NULL);
|
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static int
|
|
|
|
dissect_h235_INTEGER_1_128(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
|
2008-05-21 05:41:39 +00:00
|
|
|
1U, 128U, NULL, FALSE);
|
2007-04-13 14:15:12 +00:00
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static const per_sequence_t T_mki_sequence[] = {
|
|
|
|
{ &hf_h235_length , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_h235_INTEGER_1_128 },
|
|
|
|
{ &hf_h235_value , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_h235_OCTET_STRING },
|
|
|
|
{ NULL, 0, 0, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
|
|
|
dissect_h235_T_mki(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
|
|
|
|
ett_h235_T_mki, T_mki_sequence);
|
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static const per_sequence_t SrtpKeyParameters_sequence[] = {
|
|
|
|
{ &hf_h235_masterKey , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_h235_OCTET_STRING },
|
|
|
|
{ &hf_h235_masterSalt , ASN1_EXTENSION_ROOT , ASN1_NOT_OPTIONAL, dissect_h235_OCTET_STRING },
|
|
|
|
{ &hf_h235_lifetime , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_T_lifetime },
|
|
|
|
{ &hf_h235_mki , ASN1_EXTENSION_ROOT , ASN1_OPTIONAL , dissect_h235_T_mki },
|
|
|
|
{ NULL, 0, 0, NULL }
|
|
|
|
};
|
|
|
|
|
|
|
|
static int
|
|
|
|
dissect_h235_SrtpKeyParameters(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
|
|
|
|
ett_h235_SrtpKeyParameters, SrtpKeyParameters_sequence);
|
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static const per_sequence_t SrtpKeys_sequence_of[1] = {
|
|
|
|
{ &hf_h235_SrtpKeys_item , ASN1_NO_EXTENSIONS , ASN1_NOT_OPTIONAL, dissect_h235_SrtpKeyParameters },
|
|
|
|
};
|
|
|
|
|
|
|
|
int
|
|
|
|
dissect_h235_SrtpKeys(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
|
|
|
|
offset = dissect_per_sequence_of(tvb, offset, actx, tree, hf_index,
|
|
|
|
ett_h235_SrtpKeys, SrtpKeys_sequence_of);
|
|
|
|
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
2007-10-17 10:25:21 +00:00
|
|
|
/*--- PDUs ---*/
|
|
|
|
|
2012-09-10 21:42:36 +00:00
|
|
|
static int dissect_SrtpCryptoCapability_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, void *data _U_) {
|
2007-10-17 10:25:21 +00:00
|
|
|
int offset = 0;
|
|
|
|
asn1_ctx_t asn1_ctx;
|
|
|
|
asn1_ctx_init(&asn1_ctx, ASN1_ENC_PER, TRUE, pinfo);
|
|
|
|
offset = dissect_h235_SrtpCryptoCapability(tvb, offset, &asn1_ctx, tree, hf_h235_SrtpCryptoCapability_PDU);
|
|
|
|
offset += 7; offset >>= 3;
|
|
|
|
return offset;
|
|
|
|
}
|
|
|
|
|
2007-04-13 14:15:12 +00:00
|
|
|
|
2004-05-25 10:09:04 +00:00
|
|
|
/*--- End of included file: packet-h235-fn.c ---*/
|
2014-12-23 05:32:58 +00:00
|
|
|
#line 64 "../../asn1/h235/packet-h235-template.c"
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
/*--- proto_register_h235 ----------------------------------------------*/
|
|
|
|
void proto_register_h235(void) {
|
|
|
|
|
|
|
|
/* List of fields */
|
|
|
|
static hf_register_info hf[] = {
|
|
|
|
|
|
|
|
/*--- Included file: packet-h235-hfarr.c ---*/
|
2011-05-13 08:12:27 +00:00
|
|
|
#line 1 "../../asn1/h235/packet-h235-hfarr.c"
|
2007-10-17 10:25:21 +00:00
|
|
|
{ &hf_h235_SrtpCryptoCapability_PDU,
|
|
|
|
{ "SrtpCryptoCapability", "h235.SrtpCryptoCapability",
|
|
|
|
FT_UINT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
NULL, HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_nonStandardIdentifier,
|
|
|
|
{ "nonStandardIdentifier", "h235.nonStandardIdentifier",
|
2005-12-02 13:21:43 +00:00
|
|
|
FT_OID, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"OBJECT_IDENTIFIER", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_data,
|
|
|
|
{ "data", "h235.data",
|
2004-06-24 21:50:05 +00:00
|
|
|
FT_UINT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"OCTET_STRING", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_halfkey,
|
|
|
|
{ "halfkey", "h235.halfkey",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"BIT_STRING_SIZE_0_2048", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_modSize,
|
|
|
|
{ "modSize", "h235.modSize",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"BIT_STRING_SIZE_0_2048", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_generator,
|
|
|
|
{ "generator", "h235.generator",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"BIT_STRING_SIZE_0_2048", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_x,
|
|
|
|
{ "x", "h235.x",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"BIT_STRING_SIZE_0_511", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_y,
|
|
|
|
{ "y", "h235.y",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"BIT_STRING_SIZE_0_511", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_eckasdhp,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "eckasdhp", "h235.eckasdhp_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 03:53:31 +00:00
|
|
|
NULL, HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_public_key,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "public-key", "h235.public_key_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"ECpoint", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_modulus,
|
|
|
|
{ "modulus", "h235.modulus",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"BIT_STRING_SIZE_0_511", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_base,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "base", "h235.base_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"ECpoint", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_weierstrassA,
|
|
|
|
{ "weierstrassA", "h235.weierstrassA",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"BIT_STRING_SIZE_0_511", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_weierstrassB,
|
|
|
|
{ "weierstrassB", "h235.weierstrassB",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"BIT_STRING_SIZE_0_511", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_eckasdh2,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "eckasdh2", "h235.eckasdh2_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 03:53:31 +00:00
|
|
|
NULL, HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_fieldSize,
|
|
|
|
{ "fieldSize", "h235.fieldSize",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"BIT_STRING_SIZE_0_511", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_type,
|
|
|
|
{ "type", "h235.type",
|
2005-12-02 13:21:43 +00:00
|
|
|
FT_OID, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"OBJECT_IDENTIFIER", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_certificatedata,
|
|
|
|
{ "certificate", "h235.certificate",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"OCTET_STRING", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_default,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "default", "h235.default_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 03:53:31 +00:00
|
|
|
NULL, HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_radius,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "radius", "h235.radius_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 03:53:31 +00:00
|
|
|
NULL, HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_dhExch,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "dhExch", "h235.dhExch_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 03:53:31 +00:00
|
|
|
NULL, HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_pwdSymEnc,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "pwdSymEnc", "h235.pwdSymEnc_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 03:53:31 +00:00
|
|
|
NULL, HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_pwdHash,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "pwdHash", "h235.pwdHash_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 03:53:31 +00:00
|
|
|
NULL, HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_certSign,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "certSign", "h235.certSign_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 03:53:31 +00:00
|
|
|
NULL, HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_ipsec,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "ipsec", "h235.ipsec_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 03:53:31 +00:00
|
|
|
NULL, HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_tls,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "tls", "h235.tls_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 03:53:31 +00:00
|
|
|
NULL, HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_nonStandard,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "nonStandard", "h235.nonStandard_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"NonStandardParameter", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_authenticationBES,
|
|
|
|
{ "authenticationBES", "h235.authenticationBES",
|
2005-07-04 09:35:25 +00:00
|
|
|
FT_UINT32, BASE_DEC, VALS(h235_AuthenticationBES_vals), 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
NULL, HFILL }},
|
2006-05-15 06:32:01 +00:00
|
|
|
{ &hf_h235_keyExch,
|
|
|
|
{ "keyExch", "h235.keyExch",
|
|
|
|
FT_OID, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"OBJECT_IDENTIFIER", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_tokenOID,
|
|
|
|
{ "tokenOID", "h235.tokenOID",
|
2005-12-02 13:21:43 +00:00
|
|
|
FT_OID, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"OBJECT_IDENTIFIER", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_timeStamp,
|
|
|
|
{ "timeStamp", "h235.timeStamp",
|
2009-12-19 03:17:44 +00:00
|
|
|
FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
NULL, HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_password,
|
|
|
|
{ "password", "h235.password",
|
|
|
|
FT_STRING, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
NULL, HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_dhkey,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "dhkey", "h235.dhkey_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"DHset", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_challenge,
|
|
|
|
{ "challenge", "h235.challenge",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"ChallengeString", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_random,
|
|
|
|
{ "random", "h235.random",
|
|
|
|
FT_INT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"RandomVal", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_certificate,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "certificate", "h235.certificate_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"TypedCertificate", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_generalID,
|
|
|
|
{ "generalID", "h235.generalID",
|
|
|
|
FT_STRING, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"Identifier", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_eckasdhkey,
|
|
|
|
{ "eckasdhkey", "h235.eckasdhkey",
|
2005-07-04 09:35:25 +00:00
|
|
|
FT_UINT32, BASE_DEC, VALS(h235_ECKASDH_vals), 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"ECKASDH", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_sendersID,
|
|
|
|
{ "sendersID", "h235.sendersID",
|
|
|
|
FT_STRING, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"Identifier", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_h235Key,
|
|
|
|
{ "h235Key", "h235.h235Key",
|
2005-07-04 09:35:25 +00:00
|
|
|
FT_UINT32, BASE_DEC, VALS(h235_H235Key_vals), 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
NULL, HFILL }},
|
2006-05-15 06:32:01 +00:00
|
|
|
{ &hf_h235_profileInfo,
|
|
|
|
{ "profileInfo", "h235.profileInfo",
|
|
|
|
FT_UINT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"SEQUENCE_OF_ProfileElement", HFILL }},
|
2006-05-15 06:32:01 +00:00
|
|
|
{ &hf_h235_profileInfo_item,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "ProfileElement", "h235.ProfileElement_element",
|
2006-05-15 06:32:01 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
NULL, HFILL }},
|
2006-05-15 06:32:01 +00:00
|
|
|
{ &hf_h235_elementID,
|
|
|
|
{ "elementID", "h235.elementID",
|
|
|
|
FT_UINT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"INTEGER_0_255", HFILL }},
|
2006-05-15 06:32:01 +00:00
|
|
|
{ &hf_h235_paramS,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "paramS", "h235.paramS_element",
|
2006-05-15 06:32:01 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
NULL, HFILL }},
|
2006-05-15 06:32:01 +00:00
|
|
|
{ &hf_h235_element,
|
|
|
|
{ "element", "h235.element",
|
|
|
|
FT_UINT32, BASE_DEC, VALS(h235_Element_vals), 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
NULL, HFILL }},
|
2006-05-15 06:32:01 +00:00
|
|
|
{ &hf_h235_octets,
|
|
|
|
{ "octets", "h235.octets",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"OCTET_STRING", HFILL }},
|
2006-05-15 06:32:01 +00:00
|
|
|
{ &hf_h235_integer,
|
|
|
|
{ "integer", "h235.integer",
|
|
|
|
FT_INT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
NULL, HFILL }},
|
2006-05-15 06:32:01 +00:00
|
|
|
{ &hf_h235_bits,
|
|
|
|
{ "bits", "h235.bits",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"BIT_STRING", HFILL }},
|
2006-05-15 06:32:01 +00:00
|
|
|
{ &hf_h235_name,
|
|
|
|
{ "name", "h235.name",
|
|
|
|
FT_STRING, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"BMPString", HFILL }},
|
2006-05-15 06:32:01 +00:00
|
|
|
{ &hf_h235_flag,
|
|
|
|
{ "flag", "h235.flag",
|
2009-06-26 03:59:01 +00:00
|
|
|
FT_BOOLEAN, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"BOOLEAN", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_toBeSigned,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "toBeSigned", "h235.toBeSigned_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
NULL, HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_algorithmOID,
|
|
|
|
{ "algorithmOID", "h235.algorithmOID",
|
2005-12-02 13:21:43 +00:00
|
|
|
FT_OID, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"OBJECT_IDENTIFIER", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_signaturedata,
|
|
|
|
{ "signature", "h235.signature",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"BIT_STRING", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_encryptedData,
|
|
|
|
{ "encryptedData", "h235.encryptedData",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"OCTET_STRING", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_hash,
|
|
|
|
{ "hash", "h235.hash",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"BIT_STRING", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_ranInt,
|
|
|
|
{ "ranInt", "h235.ranInt",
|
|
|
|
FT_INT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"INTEGER", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_iv8,
|
|
|
|
{ "iv8", "h235.iv8",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
NULL, HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_iv16,
|
|
|
|
{ "iv16", "h235.iv16",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
NULL, HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_iv,
|
|
|
|
{ "iv", "h235.iv",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"OCTET_STRING", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_clearSalt,
|
|
|
|
{ "clearSalt", "h235.clearSalt",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"OCTET_STRING", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_cryptoEncryptedToken,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "cryptoEncryptedToken", "h235.cryptoEncryptedToken_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 03:53:31 +00:00
|
|
|
NULL, HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_encryptedToken,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "token", "h235.token_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"ENCRYPTED", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_cryptoSignedToken,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "cryptoSignedToken", "h235.cryptoSignedToken_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 03:53:31 +00:00
|
|
|
NULL, HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_signedToken,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "token", "h235.token_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"SIGNED", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_cryptoHashedToken,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "cryptoHashedToken", "h235.cryptoHashedToken_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 03:53:31 +00:00
|
|
|
NULL, HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_hashedVals,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "hashedVals", "h235.hashedVals_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"ClearToken", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_hashedToken,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "token", "h235.token_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"HASHED", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_cryptoPwdEncr,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "cryptoPwdEncr", "h235.cryptoPwdEncr_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"ENCRYPTED", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_secureChannel,
|
|
|
|
{ "secureChannel", "h235.secureChannel",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"KeyMaterial", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_sharedSecret,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "sharedSecret", "h235.sharedSecret_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"ENCRYPTED", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_certProtectedKey,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "certProtectedKey", "h235.certProtectedKey_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"SIGNED", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_secureSharedSecret,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "secureSharedSecret", "h235.secureSharedSecret_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"V3KeySyncMaterial", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_encryptedSessionKey,
|
|
|
|
{ "encryptedSessionKey", "h235.encryptedSessionKey",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"OCTET_STRING", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_encryptedSaltingKey,
|
|
|
|
{ "encryptedSaltingKey", "h235.encryptedSaltingKey",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"OCTET_STRING", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_clearSaltingKey,
|
|
|
|
{ "clearSaltingKey", "h235.clearSaltingKey",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"OCTET_STRING", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_paramSsalt,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "paramSsalt", "h235.paramSsalt_element",
|
2004-05-25 10:09:04 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"Params", HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
{ &hf_h235_keyDerivationOID,
|
|
|
|
{ "keyDerivationOID", "h235.keyDerivationOID",
|
2005-12-02 13:21:43 +00:00
|
|
|
FT_OID, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"OBJECT_IDENTIFIER", HFILL }},
|
2006-05-15 06:32:01 +00:00
|
|
|
{ &hf_h235_genericKeyMaterial,
|
|
|
|
{ "genericKeyMaterial", "h235.genericKeyMaterial",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"OCTET_STRING", HFILL }},
|
2007-04-13 14:15:12 +00:00
|
|
|
{ &hf_h235_SrtpCryptoCapability_item,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "SrtpCryptoInfo", "h235.SrtpCryptoInfo_element",
|
2007-04-13 14:15:12 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
NULL, HFILL }},
|
2007-04-13 14:15:12 +00:00
|
|
|
{ &hf_h235_cryptoSuite,
|
|
|
|
{ "cryptoSuite", "h235.cryptoSuite",
|
|
|
|
FT_OID, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"OBJECT_IDENTIFIER", HFILL }},
|
2007-04-13 14:15:12 +00:00
|
|
|
{ &hf_h235_sessionParams,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "sessionParams", "h235.sessionParams_element",
|
2007-04-13 14:15:12 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"SrtpSessionParameters", HFILL }},
|
2007-04-13 14:15:12 +00:00
|
|
|
{ &hf_h235_allowMKI,
|
|
|
|
{ "allowMKI", "h235.allowMKI",
|
2009-06-26 03:59:01 +00:00
|
|
|
FT_BOOLEAN, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"BOOLEAN", HFILL }},
|
2007-04-13 14:15:12 +00:00
|
|
|
{ &hf_h235_SrtpKeys_item,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "SrtpKeyParameters", "h235.SrtpKeyParameters_element",
|
2007-04-13 14:15:12 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
NULL, HFILL }},
|
2007-04-13 14:15:12 +00:00
|
|
|
{ &hf_h235_masterKey,
|
|
|
|
{ "masterKey", "h235.masterKey",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"OCTET_STRING", HFILL }},
|
2007-04-13 14:15:12 +00:00
|
|
|
{ &hf_h235_masterSalt,
|
|
|
|
{ "masterSalt", "h235.masterSalt",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"OCTET_STRING", HFILL }},
|
2007-04-13 14:15:12 +00:00
|
|
|
{ &hf_h235_lifetime,
|
|
|
|
{ "lifetime", "h235.lifetime",
|
|
|
|
FT_UINT32, BASE_DEC, VALS(h235_T_lifetime_vals), 0,
|
2010-05-11 03:53:31 +00:00
|
|
|
NULL, HFILL }},
|
2007-04-13 14:15:12 +00:00
|
|
|
{ &hf_h235_powerOfTwo,
|
|
|
|
{ "powerOfTwo", "h235.powerOfTwo",
|
|
|
|
FT_INT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"INTEGER", HFILL }},
|
2007-04-13 14:15:12 +00:00
|
|
|
{ &hf_h235_specific,
|
|
|
|
{ "specific", "h235.specific",
|
|
|
|
FT_INT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"INTEGER", HFILL }},
|
2007-04-13 14:15:12 +00:00
|
|
|
{ &hf_h235_mki,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "mki", "h235.mki_element",
|
2007-04-13 14:15:12 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 03:53:31 +00:00
|
|
|
NULL, HFILL }},
|
2007-04-13 14:15:12 +00:00
|
|
|
{ &hf_h235_length,
|
|
|
|
{ "length", "h235.length",
|
|
|
|
FT_UINT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"INTEGER_1_128", HFILL }},
|
2007-04-13 14:15:12 +00:00
|
|
|
{ &hf_h235_value,
|
|
|
|
{ "value", "h235.value",
|
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
|
|
|
FT_BYTES, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"OCTET_STRING", HFILL }},
|
2007-04-13 14:15:12 +00:00
|
|
|
{ &hf_h235_kdr,
|
|
|
|
{ "kdr", "h235.kdr",
|
|
|
|
FT_UINT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"INTEGER_0_24", HFILL }},
|
2007-04-13 14:15:12 +00:00
|
|
|
{ &hf_h235_unencryptedSrtp,
|
|
|
|
{ "unencryptedSrtp", "h235.unencryptedSrtp",
|
2009-06-26 03:59:01 +00:00
|
|
|
FT_BOOLEAN, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"BOOLEAN", HFILL }},
|
2007-04-13 14:15:12 +00:00
|
|
|
{ &hf_h235_unencryptedSrtcp,
|
|
|
|
{ "unencryptedSrtcp", "h235.unencryptedSrtcp",
|
2009-06-26 03:59:01 +00:00
|
|
|
FT_BOOLEAN, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"BOOLEAN", HFILL }},
|
2007-04-13 14:15:12 +00:00
|
|
|
{ &hf_h235_unauthenticatedSrtp,
|
|
|
|
{ "unauthenticatedSrtp", "h235.unauthenticatedSrtp",
|
2009-06-26 03:59:01 +00:00
|
|
|
FT_BOOLEAN, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"BOOLEAN", HFILL }},
|
2007-04-13 14:15:12 +00:00
|
|
|
{ &hf_h235_fecOrder,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "fecOrder", "h235.fecOrder_element",
|
2007-04-13 14:15:12 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
NULL, HFILL }},
|
2007-04-13 14:15:12 +00:00
|
|
|
{ &hf_h235_windowSizeHint,
|
|
|
|
{ "windowSizeHint", "h235.windowSizeHint",
|
|
|
|
FT_UINT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"INTEGER_64_65535", HFILL }},
|
2007-04-13 14:15:12 +00:00
|
|
|
{ &hf_h235_newParameter,
|
|
|
|
{ "newParameter", "h235.newParameter",
|
|
|
|
FT_UINT32, BASE_DEC, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
"SEQUENCE_OF_GenericData", HFILL }},
|
2007-04-13 14:15:12 +00:00
|
|
|
{ &hf_h235_newParameter_item,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "GenericData", "h235.GenericData_element",
|
2007-04-13 14:15:12 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 02:13:26 +00:00
|
|
|
NULL, HFILL }},
|
2007-04-13 14:15:12 +00:00
|
|
|
{ &hf_h235_fecBeforeSrtp,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "fecBeforeSrtp", "h235.fecBeforeSrtp_element",
|
2007-04-13 14:15:12 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 03:53:31 +00:00
|
|
|
NULL, HFILL }},
|
2007-04-13 14:15:12 +00:00
|
|
|
{ &hf_h235_fecAfterSrtp,
|
2013-05-27 20:26:49 +00:00
|
|
|
{ "fecAfterSrtp", "h235.fecAfterSrtp_element",
|
2007-04-13 14:15:12 +00:00
|
|
|
FT_NONE, BASE_NONE, NULL, 0,
|
2010-05-11 03:53:31 +00:00
|
|
|
NULL, HFILL }},
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
/*--- End of included file: packet-h235-hfarr.c ---*/
|
2014-12-23 05:32:58 +00:00
|
|
|
#line 72 "../../asn1/h235/packet-h235-template.c"
|
2004-05-25 10:09:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* List of subtrees */
|
|
|
|
static gint *ett[] = {
|
|
|
|
|
|
|
|
/*--- Included file: packet-h235-ettarr.c ---*/
|
2011-05-13 08:12:27 +00:00
|
|
|
#line 1 "../../asn1/h235/packet-h235-ettarr.c"
|
2004-05-25 10:09:04 +00:00
|
|
|
&ett_h235_NonStandardParameter,
|
|
|
|
&ett_h235_DHset,
|
|
|
|
&ett_h235_ECpoint,
|
|
|
|
&ett_h235_ECKASDH,
|
|
|
|
&ett_h235_T_eckasdhp,
|
|
|
|
&ett_h235_T_eckasdh2,
|
|
|
|
&ett_h235_TypedCertificate,
|
|
|
|
&ett_h235_AuthenticationBES,
|
|
|
|
&ett_h235_AuthenticationMechanism,
|
|
|
|
&ett_h235_ClearToken,
|
2006-05-15 06:32:01 +00:00
|
|
|
&ett_h235_SEQUENCE_OF_ProfileElement,
|
|
|
|
&ett_h235_ProfileElement,
|
|
|
|
&ett_h235_Element,
|
2007-05-07 12:59:31 +00:00
|
|
|
&ett_h235_SIGNED,
|
|
|
|
&ett_h235_ENCRYPTED,
|
|
|
|
&ett_h235_HASHED,
|
2004-05-25 10:09:04 +00:00
|
|
|
&ett_h235_Params,
|
|
|
|
&ett_h235_CryptoToken,
|
|
|
|
&ett_h235_T_cryptoEncryptedToken,
|
|
|
|
&ett_h235_T_cryptoSignedToken,
|
|
|
|
&ett_h235_T_cryptoHashedToken,
|
|
|
|
&ett_h235_H235Key,
|
|
|
|
&ett_h235_V3KeySyncMaterial,
|
2007-04-13 14:15:12 +00:00
|
|
|
&ett_h235_SrtpCryptoCapability,
|
|
|
|
&ett_h235_SrtpCryptoInfo,
|
|
|
|
&ett_h235_SrtpKeys,
|
|
|
|
&ett_h235_SrtpKeyParameters,
|
|
|
|
&ett_h235_T_lifetime,
|
|
|
|
&ett_h235_T_mki,
|
|
|
|
&ett_h235_SrtpSessionParameters,
|
|
|
|
&ett_h235_SEQUENCE_OF_GenericData,
|
|
|
|
&ett_h235_FecOrder,
|
2004-05-25 10:09:04 +00:00
|
|
|
|
|
|
|
/*--- End of included file: packet-h235-ettarr.c ---*/
|
2014-12-23 05:32:58 +00:00
|
|
|
#line 77 "../../asn1/h235/packet-h235-template.c"
|
2004-05-25 10:09:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* Register protocol */
|
|
|
|
proto_h235 = proto_register_protocol(PNAME, PSNAME, PFNAME);
|
|
|
|
|
|
|
|
/* Register fields and subtrees */
|
|
|
|
proto_register_field_array(proto_h235, hf, array_length(hf));
|
|
|
|
proto_register_subtree_array(ett, array_length(ett));
|
|
|
|
|
2006-06-28 06:50:39 +00:00
|
|
|
/* OID names */
|
|
|
|
/* H.235.1, Chapter 15, Table 3 */
|
|
|
|
/* A */
|
2007-10-31 23:11:15 +00:00
|
|
|
oid_add_from_string("all fields in RAS/CS","0.0.8.235.0.1.1");
|
|
|
|
oid_add_from_string("all fields in RAS/CS","0.0.8.235.0.2.1");
|
2006-06-28 06:50:39 +00:00
|
|
|
/* T */
|
2007-10-31 23:11:15 +00:00
|
|
|
oid_add_from_string("ClearToken","0.0.8.235.0.1.5");
|
|
|
|
oid_add_from_string("ClearToken","0.0.8.235.0.2.5");
|
2006-06-28 06:50:39 +00:00
|
|
|
/* U */
|
2007-10-31 23:11:15 +00:00
|
|
|
oid_add_from_string("HMAC-SHA1-96","0.0.8.235.0.1.6");
|
|
|
|
oid_add_from_string("HMAC-SHA1-96","0.0.8.235.0.2.6");
|
2007-04-13 14:15:12 +00:00
|
|
|
/* H.235.7, Chapter 5, Table 1 */
|
2008-11-04 22:28:52 +00:00
|
|
|
oid_add_from_string("MIKEY", OID_MIKEY);
|
|
|
|
oid_add_from_string("MIKEY-PS", OID_MIKEY_PS);
|
2007-10-31 23:11:15 +00:00
|
|
|
oid_add_from_string("MIKEY-DHHMAC", OID_MIKEY_DHHMAC);
|
|
|
|
oid_add_from_string("MIKEY-PK-SIGN", OID_MIKEY_PK_SIGN);
|
|
|
|
oid_add_from_string("MIKEY-DH-SIGN", OID_MIKEY_DH_SIGN);
|
2007-04-13 14:15:12 +00:00
|
|
|
/* H.235.7, Chapter 8.5 */
|
2007-10-31 23:11:15 +00:00
|
|
|
oid_add_from_string("TG",OID_TG);
|
2007-04-13 14:15:12 +00:00
|
|
|
/* H.235.7, Chapter 9.5 */
|
2007-10-31 23:11:15 +00:00
|
|
|
oid_add_from_string("SG",OID_SG);
|
2007-10-17 10:25:21 +00:00
|
|
|
/* H.235.8, Chapter 4.2, Table 2 */
|
2007-10-31 23:11:15 +00:00
|
|
|
oid_add_from_string("AES_CM_128_HMAC_SHA1_80","0.0.8.235.0.4.91");
|
|
|
|
oid_add_from_string("AES_CM_128_HMAC_SHA1_32","0.0.8.235.0.4.92");
|
|
|
|
oid_add_from_string("F8_128_HMAC_SHA1_80","0.0.8.235.0.4.93");
|
2004-05-25 10:09:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*--- proto_reg_handoff_h235 -------------------------------------------*/
|
|
|
|
void proto_reg_handoff_h235(void) {
|
2008-11-04 22:28:52 +00:00
|
|
|
dissector_handle_t mikey_handle;
|
2007-04-13 14:15:12 +00:00
|
|
|
|
|
|
|
mikey_handle = find_dissector("mikey");
|
|
|
|
|
|
|
|
/* H.235.7, Chapter 7.1, MIKEY operation at "session level" */
|
2007-10-17 10:25:21 +00:00
|
|
|
dissector_add_string("h245.gef.content", "GenericCapability/" OID_MIKEY "/nonCollapsing/0", mikey_handle);
|
|
|
|
dissector_add_string("h245.gef.content", "GenericCapability/" OID_MIKEY_PS "/nonCollapsing/0", mikey_handle);
|
|
|
|
dissector_add_string("h245.gef.content", "GenericCapability/" OID_MIKEY_DHHMAC "/nonCollapsing/0", mikey_handle);
|
|
|
|
dissector_add_string("h245.gef.content", "GenericCapability/" OID_MIKEY_PK_SIGN "/nonCollapsing/0", mikey_handle);
|
|
|
|
dissector_add_string("h245.gef.content", "GenericCapability/" OID_MIKEY_DH_SIGN "/nonCollapsing/0", mikey_handle);
|
|
|
|
dissector_add_string("h245.gef.content", "EncryptionSync/0", mikey_handle);
|
2007-04-13 14:15:12 +00:00
|
|
|
/* H.235.7, Chapter 7.2, MIKEY operation at "media level" */
|
2007-10-17 10:25:21 +00:00
|
|
|
dissector_add_string("h245.gef.content", "EncryptionSync/76", mikey_handle);
|
|
|
|
dissector_add_string("h245.gef.content", "EncryptionSync/72", mikey_handle);
|
|
|
|
dissector_add_string("h245.gef.content", "EncryptionSync/73", mikey_handle);
|
|
|
|
dissector_add_string("h245.gef.content", "EncryptionSync/74", mikey_handle);
|
|
|
|
dissector_add_string("h245.gef.content", "EncryptionSync/75", mikey_handle);
|
|
|
|
dissector_add_string("h245.gef.content", "GenericCapability/" OID_MIKEY "/nonCollapsing/76", mikey_handle);
|
|
|
|
dissector_add_string("h245.gef.content", "GenericCapability/" OID_MIKEY_PS "/nonCollapsing/72", mikey_handle);
|
|
|
|
dissector_add_string("h245.gef.content", "GenericCapability/" OID_MIKEY_DHHMAC "/nonCollapsing/73", mikey_handle);
|
|
|
|
dissector_add_string("h245.gef.content", "GenericCapability/" OID_MIKEY_PK_SIGN "/nonCollapsing/74", mikey_handle);
|
|
|
|
dissector_add_string("h245.gef.content", "GenericCapability/" OID_MIKEY_DH_SIGN "/nonCollapsing/75", mikey_handle);
|
|
|
|
|
|
|
|
/* H.235.8, Chapter 4.1.2, SrtpCryptoCapability transport */
|
2014-02-26 19:29:17 +00:00
|
|
|
dissector_add_string("h245.gef.content", "GenericCapability/0.0.8.235.0.4.90/nonCollapsingRaw",
|
2007-10-17 10:25:21 +00:00
|
|
|
new_create_dissector_handle(dissect_SrtpCryptoCapability_PDU, proto_h235));
|
2007-04-13 14:15:12 +00:00
|
|
|
|
2004-05-25 10:09:04 +00:00
|
|
|
}
|
|
|
|
|