Home
last modified time | relevance | path

Searched refs:ASN1_tag (Results 1 – 3 of 3) sorted by relevance

/external/scapy/scapy/
Dasn1fields.py38 ASN1_tag = ASN1_Class_UNIVERSAL.ANY variable in ASN1F_field
51 self.default = self.ASN1_tag.asn1_object(default)
59 self.network_tag = implicit_tag or explicit_tag or self.ASN1_tag
80 diff_tag, s = BER_tagging_dec(s, hidden_tag=self.ASN1_tag,
90 codec = self.ASN1_tag.get_codec(pkt.ASN1_codec)
99 if ( self.ASN1_tag == ASN1_Class_UNIVERSAL.ANY
102 or self.ASN1_tag == x.tag ):
105 …SN1_Error("Encoding Error: got %r instead of an %r for field [%s]" % (x, self.ASN1_tag, self.name))
107 s = self.ASN1_tag.get_codec(pkt.ASN1_codec).enc(x)
161 ASN1_tag = ASN1_Class_UNIVERSAL.BOOLEAN variable in ASN1F_BOOLEAN
[all …]
/external/scapy/scapy/layers/
Dsnmp.py94 ASN1_tag = ASN1_Class_SNMP.PDU_GET variable in ASN1F_SNMP_PDU_GET
97 ASN1_tag = ASN1_Class_SNMP.PDU_NEXT variable in ASN1F_SNMP_PDU_NEXT
100 ASN1_tag = ASN1_Class_SNMP.PDU_RESPONSE variable in ASN1F_SNMP_PDU_RESPONSE
103 ASN1_tag = ASN1_Class_SNMP.PDU_SET variable in ASN1F_SNMP_PDU_SET
106 ASN1_tag = ASN1_Class_SNMP.PDU_TRAPv1 variable in ASN1F_SNMP_PDU_TRAPv1
109 ASN1_tag = ASN1_Class_SNMP.PDU_BULK variable in ASN1F_SNMP_PDU_BULK
112 ASN1_tag = ASN1_Class_SNMP.PDU_INFORM variable in ASN1F_SNMP_PDU_INFORM
115 ASN1_tag = ASN1_Class_SNMP.PDU_TRAPv2 variable in ASN1F_SNMP_PDU_TRAPv2
Dx509.py632 codec = self.ASN1_tag.get_codec(pkt.ASN1_codec)