scapy.layers.x509 module

X.509 certificates.

class scapy.layers.x509.ASN1F_EXT_SEQUENCE(**kargs)

Bases: scapy.asn1fields.ASN1F_SEQUENCE

dissect(pkt, s)
class scapy.layers.x509.ASN1F_OCSP_BasicResponse(**kargs)

Bases: scapy.asn1fields.ASN1F_SEQUENCE

build(pkt)
dissect(pkt, s)
m2i(pkt, x)

ASN1F_SEQUENCE behaves transparently, with nested ASN1_objects being dissected one by one. Because we use obj.dissect (see loop below) instead of obj.m2i (as we trust dissect to do the appropriate set_vals) we do not directly retrieve the list of nested objects. Thus m2i returns an empty list (along with the proper remainder). It is discarded by dissect() and should not be missed elsewhere.

class scapy.layers.x509.ASN1F_OCSP_BasicResponseECDSA(**kargs)

Bases: scapy.asn1fields.ASN1F_SEQUENCE

class scapy.layers.x509.ASN1F_X509_CRL(**kargs)

Bases: scapy.asn1fields.ASN1F_SEQUENCE

build(pkt)
dissect(pkt, s)
m2i(pkt, x)

ASN1F_SEQUENCE behaves transparently, with nested ASN1_objects being dissected one by one. Because we use obj.dissect (see loop below) instead of obj.m2i (as we trust dissect to do the appropriate set_vals) we do not directly retrieve the list of nested objects. Thus m2i returns an empty list (along with the proper remainder). It is discarded by dissect() and should not be missed elsewhere.

class scapy.layers.x509.ASN1F_X509_CRLECDSA(**kargs)

Bases: scapy.asn1fields.ASN1F_SEQUENCE

class scapy.layers.x509.ASN1F_X509_Cert(**kargs)

Bases: scapy.asn1fields.ASN1F_SEQUENCE

build(pkt)
dissect(pkt, s)
m2i(pkt, x)

ASN1F_SEQUENCE behaves transparently, with nested ASN1_objects being dissected one by one. Because we use obj.dissect (see loop below) instead of obj.m2i (as we trust dissect to do the appropriate set_vals) we do not directly retrieve the list of nested objects. Thus m2i returns an empty list (along with the proper remainder). It is discarded by dissect() and should not be missed elsewhere.

class scapy.layers.x509.ASN1F_X509_CertECDSA(**kargs)

Bases: scapy.asn1fields.ASN1F_SEQUENCE

class scapy.layers.x509.ASN1F_X509_DirectoryString(name, default, **kwargs)

Bases: scapy.asn1fields.ASN1F_CHOICE

class scapy.layers.x509.ASN1F_X509_SubjectPublicKeyInfo(**kargs)

Bases: scapy.asn1fields.ASN1F_SEQUENCE

build(pkt)
dissect(pkt, s)
m2i(pkt, x)

ASN1F_SEQUENCE behaves transparently, with nested ASN1_objects being dissected one by one. Because we use obj.dissect (see loop below) instead of obj.m2i (as we trust dissect to do the appropriate set_vals) we do not directly retrieve the list of nested objects. Thus m2i returns an empty list (along with the proper remainder). It is discarded by dissect() and should not be missed elsewhere.

class scapy.layers.x509.ASN1F_X509_SubjectPublicKeyInfoECDSA(**kargs)

Bases: scapy.asn1fields.ASN1F_SEQUENCE

class scapy.layers.x509.ASN1F_X509_SubjectPublicKeyInfoRSA(**kargs)

Bases: scapy.asn1fields.ASN1F_SEQUENCE

class scapy.layers.x509.ASN1P_INTEGER

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_INTEGER object>
aliastypes = [<class 'scapy.layers.x509.ASN1P_INTEGER'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_INTEGER object>]
class scapy.layers.x509.ASN1P_OID

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_OID object>
aliastypes = [<class 'scapy.layers.x509.ASN1P_OID'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_OID object>]
class scapy.layers.x509.ASN1P_PRIVSEQ

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_IA5_STRING object>, <scapy.asn1fields.ASN1F_STRING object>)>
aliastypes = [<class 'scapy.layers.x509.ASN1P_PRIVSEQ'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_IA5_STRING object>, <scapy.asn1fields.ASN1F_STRING object>]
class scapy.layers.x509.ECCurve

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_STRING object>, <scapy.asn1fields.ASN1F_STRING object>, <scapy.asn1fields.ASN1F_optional object>)>
aliastypes = [<class 'scapy.layers.x509.ECCurve'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_STRING object>, <scapy.asn1fields.ASN1F_STRING object>, <scapy.asn1fields.ASN1F_BIT_STRING object>]
class scapy.layers.x509.ECDSAPrivateKey

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_enum_INTEGER object>, <scapy.asn1fields.ASN1F_STRING object>, <scapy.asn1fields.ASN1F_optional object>, <scapy.asn1fields.ASN1F_optional object>)>
aliastypes = [<class 'scapy.layers.x509.ECDSAPrivateKey'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_enum_INTEGER object>, <scapy.asn1fields.ASN1F_STRING object>, <scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_PACKET object>]
class scapy.layers.x509.ECDSAPrivateKey_OpenSSL

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.layers.x509.ECDSAPrivateKey_OpenSSL'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (ECDSAPrivateKey_OpenSSL).ecparam>, <Field (ECDSAPrivateKey_OpenSSL).privateKey>]
class scapy.layers.x509.ECDSAPublicKey

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_BIT_STRING object>
aliastypes = [<class 'scapy.layers.x509.ECDSAPublicKey'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_BIT_STRING object>]
class scapy.layers.x509.ECDSASignature

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>)>
aliastypes = [<class 'scapy.layers.x509.ECDSASignature'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>]
class scapy.layers.x509.ECFieldID

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_OID object>, <scapy.asn1fields.ASN1F_INTEGER object>)>
aliastypes = [<class 'scapy.layers.x509.ECFieldID'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_OID object>, <scapy.asn1fields.ASN1F_INTEGER object>]
class scapy.layers.x509.ECParameters

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_CHOICE object>
aliastypes = [<class 'scapy.layers.x509.ECParameters'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_CHOICE object>]
class scapy.layers.x509.ECSpecifiedDomain

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_enum_INTEGER object>, <scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_STRING object>, <scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_optional object>)>
aliastypes = [<class 'scapy.layers.x509.ECSpecifiedDomain'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_enum_INTEGER object>, <scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_STRING object>, <scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>]
class scapy.layers.x509.OCSP_ByKey

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_STRING object>
aliastypes = [<class 'scapy.layers.x509.OCSP_ByKey'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_STRING object>]
class scapy.layers.x509.OCSP_ByName

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE_OF byName>
aliastypes = [<class 'scapy.layers.x509.OCSP_ByName'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<ASN1F_SEQUENCE_OF byName>]
class scapy.layers.x509.OCSP_CertID

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_STRING object>, <scapy.asn1fields.ASN1F_STRING object>, <scapy.asn1fields.ASN1F_INTEGER object>)>
aliastypes = [<class 'scapy.layers.x509.OCSP_CertID'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_STRING object>, <scapy.asn1fields.ASN1F_STRING object>, <scapy.asn1fields.ASN1F_INTEGER object>]
class scapy.layers.x509.OCSP_CertStatus

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_CHOICE object>
aliastypes = [<class 'scapy.layers.x509.OCSP_CertStatus'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_CHOICE object>]
class scapy.layers.x509.OCSP_GoodInfo

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_NULL object>
aliastypes = [<class 'scapy.layers.x509.OCSP_GoodInfo'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_NULL object>]
class scapy.layers.x509.OCSP_ResponderID

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_CHOICE object>
aliastypes = [<class 'scapy.layers.x509.OCSP_ResponderID'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_CHOICE object>]
class scapy.layers.x509.OCSP_Response

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_ENUMERATED object>, <scapy.asn1fields.ASN1F_optional object>)>
aliastypes = [<class 'scapy.layers.x509.OCSP_Response'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_ENUMERATED object>, <scapy.asn1fields.ASN1F_PACKET object>]
class scapy.layers.x509.OCSP_ResponseBytes

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_OID object>, <ASN1F_OCSP_BasicResponse(<scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_BIT_STRING object>, <scapy.asn1fields.ASN1F_optional object>)>)>
aliastypes = [<class 'scapy.layers.x509.OCSP_ResponseBytes'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_OID object>, <scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_BIT_STRING object>, <ASN1F_SEQUENCE_OF certs>]
class scapy.layers.x509.OCSP_ResponseData

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_optional object>, <scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_GENERALIZED_TIME object>, <ASN1F_SEQUENCE_OF responses>, <scapy.asn1fields.ASN1F_optional object>)>
aliastypes = [<class 'scapy.layers.x509.OCSP_ResponseData'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_enum_INTEGER object>, <scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_GENERALIZED_TIME object>, <ASN1F_SEQUENCE_OF responses>, <ASN1F_SEQUENCE_OF responseExtensions>]
class scapy.layers.x509.OCSP_RevokedInfo

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_GENERALIZED_TIME object>, <scapy.asn1fields.ASN1F_optional object>)>
aliastypes = [<class 'scapy.layers.x509.OCSP_RevokedInfo'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_GENERALIZED_TIME object>, <scapy.asn1fields.ASN1F_PACKET object>]
class scapy.layers.x509.OCSP_SingleResponse

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_GENERALIZED_TIME object>, <scapy.asn1fields.ASN1F_optional object>, <scapy.asn1fields.ASN1F_optional object>)>
aliastypes = [<class 'scapy.layers.x509.OCSP_SingleResponse'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_GENERALIZED_TIME object>, <scapy.asn1fields.ASN1F_GENERALIZED_TIME object>, <ASN1F_SEQUENCE_OF singleExtensions>]
class scapy.layers.x509.OCSP_UnknownInfo

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_NULL object>
aliastypes = [<class 'scapy.layers.x509.OCSP_UnknownInfo'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_NULL object>]
class scapy.layers.x509.RSAOtherPrimeInfo

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>)>
aliastypes = [<class 'scapy.layers.x509.RSAOtherPrimeInfo'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>]
class scapy.layers.x509.RSAPrivateKey

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_enum_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_optional object>)>
aliastypes = [<class 'scapy.layers.x509.RSAPrivateKey'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_enum_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>, <ASN1F_SEQUENCE_OF otherPrimeInfos>]
class scapy.layers.x509.RSAPrivateKey_OpenSSL

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_enum_INTEGER object>, <scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_optional object>, <scapy.asn1fields.ASN1F_optional object>)>
aliastypes = [<class 'scapy.layers.x509.RSAPrivateKey_OpenSSL'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_enum_INTEGER object>, <scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_PACKET object>]
class scapy.layers.x509.RSAPublicKey

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>)>
aliastypes = [<class 'scapy.layers.x509.RSAPublicKey'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>]
class scapy.layers.x509.X509_AccessDescription

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_OID object>, <scapy.asn1fields.ASN1F_PACKET object>)>
aliastypes = [<class 'scapy.layers.x509.X509_AccessDescription'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_OID object>, <scapy.asn1fields.ASN1F_PACKET object>]
class scapy.layers.x509.X509_AlgorithmIdentifier

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_OID object>, <scapy.asn1fields.ASN1F_optional object>)>
aliastypes = [<class 'scapy.layers.x509.X509_AlgorithmIdentifier'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_OID object>, <scapy.asn1fields.ASN1F_CHOICE object>]
class scapy.layers.x509.X509_Attribute

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_OID object>, <ASN1F_SET_OF values>)>
aliastypes = [<class 'scapy.layers.x509.X509_Attribute'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_OID object>, <ASN1F_SET_OF values>]
class scapy.layers.x509.X509_AttributeTypeAndValue

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_OID object>, <scapy.layers.x509.ASN1F_X509_DirectoryString object>)>
aliastypes = [<class 'scapy.layers.x509.X509_AttributeTypeAndValue'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_OID object>, <scapy.layers.x509.ASN1F_X509_DirectoryString object>]
class scapy.layers.x509.X509_AttributeValue

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_CHOICE object>
aliastypes = [<class 'scapy.layers.x509.X509_AttributeValue'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_CHOICE object>]
class scapy.layers.x509.X509_CRL

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_X509_CRL(<scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_BIT_STRING object>)>
aliastypes = [<class 'scapy.layers.x509.X509_CRL'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_BIT_STRING object>]
class scapy.layers.x509.X509_Cert

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_X509_Cert(<scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_BIT_STRING object>)>
aliastypes = [<class 'scapy.layers.x509.X509_Cert'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_BIT_STRING object>]
class scapy.layers.x509.X509_DNSName

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_IA5_STRING object>
aliastypes = [<class 'scapy.layers.x509.X509_DNSName'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_IA5_STRING object>]
class scapy.layers.x509.X509_DirectoryName

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE_OF directoryName>
aliastypes = [<class 'scapy.layers.x509.X509_DirectoryName'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<ASN1F_SEQUENCE_OF directoryName>]
class scapy.layers.x509.X509_EDIPartyName

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_optional object>, <scapy.layers.x509.ASN1F_X509_DirectoryString object>)>
aliastypes = [<class 'scapy.layers.x509.X509_EDIPartyName'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.layers.x509.ASN1F_X509_DirectoryString object>, <scapy.layers.x509.ASN1F_X509_DirectoryString object>]
class scapy.layers.x509.X509_ExtAuthInfoAccess

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE_OF authorityInfoAccess>
aliastypes = [<class 'scapy.layers.x509.X509_ExtAuthInfoAccess'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<ASN1F_SEQUENCE_OF authorityInfoAccess>]
class scapy.layers.x509.X509_ExtAuthorityKeyIdentifier

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_optional object>, <scapy.asn1fields.ASN1F_optional object>, <scapy.asn1fields.ASN1F_optional object>)>
aliastypes = [<class 'scapy.layers.x509.X509_ExtAuthorityKeyIdentifier'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_STRING object>, <ASN1F_SEQUENCE_OF authorityCertIssuer>, <scapy.asn1fields.ASN1F_INTEGER object>]
class scapy.layers.x509.X509_ExtBasicConstraints

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_optional object>, <scapy.asn1fields.ASN1F_optional object>)>
aliastypes = [<class 'scapy.layers.x509.X509_ExtBasicConstraints'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_BOOLEAN object>, <scapy.asn1fields.ASN1F_INTEGER object>]
class scapy.layers.x509.X509_ExtCRLDistributionPoints

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE_OF cRLDistributionPoints>
aliastypes = [<class 'scapy.layers.x509.X509_ExtCRLDistributionPoints'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<ASN1F_SEQUENCE_OF cRLDistributionPoints>]
class scapy.layers.x509.X509_ExtCRLNumber

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_INTEGER object>
aliastypes = [<class 'scapy.layers.x509.X509_ExtCRLNumber'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_INTEGER object>]
class scapy.layers.x509.X509_ExtCertificateIssuer

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE_OF certificateIssuer>
aliastypes = [<class 'scapy.layers.x509.X509_ExtCertificateIssuer'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<ASN1F_SEQUENCE_OF certificateIssuer>]
class scapy.layers.x509.X509_ExtCertificatePolicies

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE_OF certificatePolicies>
aliastypes = [<class 'scapy.layers.x509.X509_ExtCertificatePolicies'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<ASN1F_SEQUENCE_OF certificatePolicies>]
class scapy.layers.x509.X509_ExtComment

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_CHOICE object>
aliastypes = [<class 'scapy.layers.x509.X509_ExtComment'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_CHOICE object>]
class scapy.layers.x509.X509_ExtDefault

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_field object>
aliastypes = [<class 'scapy.layers.x509.X509_ExtDefault'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_field object>]
class scapy.layers.x509.X509_ExtDeltaCRLIndicator

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_INTEGER object>
aliastypes = [<class 'scapy.layers.x509.X509_ExtDeltaCRLIndicator'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_INTEGER object>]
class scapy.layers.x509.X509_ExtDistributionPoint

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_optional object>, <scapy.asn1fields.ASN1F_optional object>, <scapy.asn1fields.ASN1F_optional object>)>
aliastypes = [<class 'scapy.layers.x509.X509_ExtDistributionPoint'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_FLAGS object>, <ASN1F_SEQUENCE_OF cRLIssuer>]
class scapy.layers.x509.X509_ExtDistributionPointName

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_CHOICE object>
aliastypes = [<class 'scapy.layers.x509.X509_ExtDistributionPointName'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_CHOICE object>]
class scapy.layers.x509.X509_ExtExtendedKeyUsage

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE_OF extendedKeyUsage>
aliastypes = [<class 'scapy.layers.x509.X509_ExtExtendedKeyUsage'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<ASN1F_SEQUENCE_OF extendedKeyUsage>]
get_extendedKeyUsage()
class scapy.layers.x509.X509_ExtFreshestCRL

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE_OF cRLDistributionPoints>
aliastypes = [<class 'scapy.layers.x509.X509_ExtFreshestCRL'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<ASN1F_SEQUENCE_OF cRLDistributionPoints>]
class scapy.layers.x509.X509_ExtFullName

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE_OF fullName>
aliastypes = [<class 'scapy.layers.x509.X509_ExtFullName'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<ASN1F_SEQUENCE_OF fullName>]
class scapy.layers.x509.X509_ExtGeneralSubtree

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_optional object>, <scapy.asn1fields.ASN1F_optional object>)>
aliastypes = [<class 'scapy.layers.x509.X509_ExtGeneralSubtree'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>]
class scapy.layers.x509.X509_ExtInhibitAnyPolicy

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_INTEGER object>
aliastypes = [<class 'scapy.layers.x509.X509_ExtInhibitAnyPolicy'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_INTEGER object>]
class scapy.layers.x509.X509_ExtInvalidityDate

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_GENERALIZED_TIME object>
aliastypes = [<class 'scapy.layers.x509.X509_ExtInvalidityDate'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_GENERALIZED_TIME object>]
class scapy.layers.x509.X509_ExtIssuerAltName

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE_OF issuerAltName>
aliastypes = [<class 'scapy.layers.x509.X509_ExtIssuerAltName'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<ASN1F_SEQUENCE_OF issuerAltName>]
class scapy.layers.x509.X509_ExtIssuingDistributionPoint

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_optional object>, <scapy.asn1fields.ASN1F_BOOLEAN object>, <scapy.asn1fields.ASN1F_BOOLEAN object>, <scapy.asn1fields.ASN1F_optional object>, <scapy.asn1fields.ASN1F_BOOLEAN object>, <scapy.asn1fields.ASN1F_BOOLEAN object>)>
aliastypes = [<class 'scapy.layers.x509.X509_ExtIssuingDistributionPoint'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_BOOLEAN object>, <scapy.asn1fields.ASN1F_BOOLEAN object>, <scapy.asn1fields.ASN1F_FLAGS object>, <scapy.asn1fields.ASN1F_BOOLEAN object>, <scapy.asn1fields.ASN1F_BOOLEAN object>]
class scapy.layers.x509.X509_ExtKeyUsage

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_FLAGS object>
aliastypes = [<class 'scapy.layers.x509.X509_ExtKeyUsage'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_FLAGS object>]
get_keyUsage()
class scapy.layers.x509.X509_ExtNameConstraints

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_optional object>, <scapy.asn1fields.ASN1F_optional object>)>
aliastypes = [<class 'scapy.layers.x509.X509_ExtNameConstraints'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<ASN1F_SEQUENCE_OF permittedSubtrees>, <ASN1F_SEQUENCE_OF excludedSubtrees>]
class scapy.layers.x509.X509_ExtNameRelativeToCRLIssuer

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_PACKET object>
aliastypes = [<class 'scapy.layers.x509.X509_ExtNameRelativeToCRLIssuer'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_PACKET object>]
class scapy.layers.x509.X509_ExtNetscapeCertType

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_BIT_STRING object>
aliastypes = [<class 'scapy.layers.x509.X509_ExtNetscapeCertType'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_BIT_STRING object>]
class scapy.layers.x509.X509_ExtNoticeReference

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_CHOICE object>, <ASN1F_SEQUENCE_OF noticeNumbers>)>
aliastypes = [<class 'scapy.layers.x509.X509_ExtNoticeReference'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_CHOICE object>, <ASN1F_SEQUENCE_OF noticeNumbers>]
class scapy.layers.x509.X509_ExtPolicyConstraints

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_optional object>, <scapy.asn1fields.ASN1F_optional object>)>
aliastypes = [<class 'scapy.layers.x509.X509_ExtPolicyConstraints'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>]
class scapy.layers.x509.X509_ExtPolicyInformation

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_OID object>, <scapy.asn1fields.ASN1F_optional object>)>
aliastypes = [<class 'scapy.layers.x509.X509_ExtPolicyInformation'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_OID object>, <ASN1F_SEQUENCE_OF policyQualifiers>]
class scapy.layers.x509.X509_ExtPolicyMappings

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE_OF policyMappings>
aliastypes = [<class 'scapy.layers.x509.X509_ExtPolicyMappings'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<ASN1F_SEQUENCE_OF policyMappings>]
class scapy.layers.x509.X509_ExtPolicyQualifierInfo

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_OID object>, <scapy.asn1fields.ASN1F_CHOICE object>)>
aliastypes = [<class 'scapy.layers.x509.X509_ExtPolicyQualifierInfo'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_OID object>, <scapy.asn1fields.ASN1F_CHOICE object>]
class scapy.layers.x509.X509_ExtPrivateKeyUsagePeriod

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_optional object>, <scapy.asn1fields.ASN1F_optional object>)>
aliastypes = [<class 'scapy.layers.x509.X509_ExtPrivateKeyUsagePeriod'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_GENERALIZED_TIME object>, <scapy.asn1fields.ASN1F_GENERALIZED_TIME object>]
class scapy.layers.x509.X509_ExtQcStatement

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_OID object>, <scapy.asn1fields.ASN1F_optional object>)>
aliastypes = [<class 'scapy.layers.x509.X509_ExtQcStatement'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_OID object>, <scapy.asn1fields.ASN1F_field object>]
class scapy.layers.x509.X509_ExtQcStatements

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE_OF qcStatements>
aliastypes = [<class 'scapy.layers.x509.X509_ExtQcStatements'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<ASN1F_SEQUENCE_OF qcStatements>]
class scapy.layers.x509.X509_ExtReasonCode

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_ENUMERATED object>
aliastypes = [<class 'scapy.layers.x509.X509_ExtReasonCode'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_ENUMERATED object>]
class scapy.layers.x509.X509_ExtSubjInfoAccess

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE_OF subjectInfoAccess>
aliastypes = [<class 'scapy.layers.x509.X509_ExtSubjInfoAccess'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<ASN1F_SEQUENCE_OF subjectInfoAccess>]
class scapy.layers.x509.X509_ExtSubjectAltName

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE_OF subjectAltName>
aliastypes = [<class 'scapy.layers.x509.X509_ExtSubjectAltName'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<ASN1F_SEQUENCE_OF subjectAltName>]
class scapy.layers.x509.X509_ExtSubjectDirectoryAttributes

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE_OF subjectDirectoryAttributes>
aliastypes = [<class 'scapy.layers.x509.X509_ExtSubjectDirectoryAttributes'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<ASN1F_SEQUENCE_OF subjectDirectoryAttributes>]
class scapy.layers.x509.X509_ExtSubjectKeyIdentifier

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_STRING object>
aliastypes = [<class 'scapy.layers.x509.X509_ExtSubjectKeyIdentifier'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_STRING object>]
class scapy.layers.x509.X509_ExtUserNotice

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_optional object>, <scapy.asn1fields.ASN1F_optional object>)>
aliastypes = [<class 'scapy.layers.x509.X509_ExtUserNotice'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_CHOICE object>]
class scapy.layers.x509.X509_Extension

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_EXT_SEQUENCE(<scapy.asn1fields.ASN1F_OID object>, <scapy.asn1fields.ASN1F_optional object>, <scapy.asn1fields.ASN1F_PACKET object>)>
aliastypes = [<class 'scapy.layers.x509.X509_Extension'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_OID object>, <scapy.asn1fields.ASN1F_BOOLEAN object>, <scapy.asn1fields.ASN1F_PACKET object>]
class scapy.layers.x509.X509_Extensions

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_optional object>
aliastypes = [<class 'scapy.layers.x509.X509_Extensions'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<ASN1F_SEQUENCE_OF extensions>]
class scapy.layers.x509.X509_GeneralName

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_CHOICE object>
aliastypes = [<class 'scapy.layers.x509.X509_GeneralName'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_CHOICE object>]
class scapy.layers.x509.X509_IPAddress

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_STRING object>
aliastypes = [<class 'scapy.layers.x509.X509_IPAddress'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_STRING object>]
class scapy.layers.x509.X509_OtherName

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_OID object>, <scapy.asn1fields.ASN1F_CHOICE object>)>
aliastypes = [<class 'scapy.layers.x509.X509_OtherName'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_OID object>, <scapy.asn1fields.ASN1F_CHOICE object>]
class scapy.layers.x509.X509_PolicyMapping

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_OID object>, <scapy.asn1fields.ASN1F_OID object>)>
aliastypes = [<class 'scapy.layers.x509.X509_PolicyMapping'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_OID object>, <scapy.asn1fields.ASN1F_OID object>]
class scapy.layers.x509.X509_RDN

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SET_OF rdn>
aliastypes = [<class 'scapy.layers.x509.X509_RDN'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<ASN1F_SET_OF rdn>]
class scapy.layers.x509.X509_RFC822Name

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_IA5_STRING object>
aliastypes = [<class 'scapy.layers.x509.X509_RFC822Name'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_IA5_STRING object>]
class scapy.layers.x509.X509_RegisteredID

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_OID object>
aliastypes = [<class 'scapy.layers.x509.X509_RegisteredID'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_OID object>]
class scapy.layers.x509.X509_RevokedCertificate

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_UTC_TIME object>, <scapy.asn1fields.ASN1F_optional object>)>
aliastypes = [<class 'scapy.layers.x509.X509_RevokedCertificate'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_UTC_TIME object>, <ASN1F_SEQUENCE_OF crlEntryExtensions>]
class scapy.layers.x509.X509_SubjectPublicKeyInfo

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_X509_SubjectPublicKeyInfo(<scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_BIT_STRING object>)>
aliastypes = [<class 'scapy.layers.x509.X509_SubjectPublicKeyInfo'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_BIT_STRING object>]
class scapy.layers.x509.X509_TBSCertList

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_optional object>, <scapy.asn1fields.ASN1F_PACKET object>, <ASN1F_SEQUENCE_OF issuer>, <scapy.asn1fields.ASN1F_UTC_TIME object>, <scapy.asn1fields.ASN1F_optional object>, <scapy.asn1fields.ASN1F_optional object>, <scapy.asn1fields.ASN1F_optional object>)>
aliastypes = [<class 'scapy.layers.x509.X509_TBSCertList'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_enum_INTEGER object>, <scapy.asn1fields.ASN1F_PACKET object>, <ASN1F_SEQUENCE_OF issuer>, <scapy.asn1fields.ASN1F_UTC_TIME object>, <scapy.asn1fields.ASN1F_UTC_TIME object>, <ASN1F_SEQUENCE_OF revokedCertificates>, <ASN1F_SEQUENCE_OF crlExtensions>]
get_issuer()
get_issuer_str()

Returns a one-line string containing every type/value in a rather specific order. sorted() built-in ensures unicity.

class scapy.layers.x509.X509_TBSCertificate

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_optional object>, <scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_PACKET object>, <ASN1F_SEQUENCE_OF issuer>, <scapy.asn1fields.ASN1F_PACKET object>, <ASN1F_SEQUENCE_OF subject>, <scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_optional object>, <scapy.asn1fields.ASN1F_optional object>, <scapy.asn1fields.ASN1F_optional object>)>
aliastypes = [<class 'scapy.layers.x509.X509_TBSCertificate'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_enum_INTEGER object>, <scapy.asn1fields.ASN1F_INTEGER object>, <scapy.asn1fields.ASN1F_PACKET object>, <ASN1F_SEQUENCE_OF issuer>, <scapy.asn1fields.ASN1F_PACKET object>, <ASN1F_SEQUENCE_OF subject>, <scapy.asn1fields.ASN1F_PACKET object>, <scapy.asn1fields.ASN1F_BIT_STRING object>, <scapy.asn1fields.ASN1F_BIT_STRING object>, <ASN1F_SEQUENCE_OF extensions>]
get_issuer()
get_issuer_str()

Returns a one-line string containing every type/value in a rather specific order. sorted() built-in ensures unicity.

get_subject()
get_subject_str()
class scapy.layers.x509.X509_URI

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_IA5_STRING object>
aliastypes = [<class 'scapy.layers.x509.X509_URI'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_IA5_STRING object>]
class scapy.layers.x509.X509_Validity

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <ASN1F_SEQUENCE(<scapy.asn1fields.ASN1F_CHOICE object>, <scapy.asn1fields.ASN1F_CHOICE object>)>
aliastypes = [<class 'scapy.layers.x509.X509_Validity'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_CHOICE object>, <scapy.asn1fields.ASN1F_CHOICE object>]
class scapy.layers.x509.X509_X400Address

Bases: scapy.asn1packet.ASN1_Packet

ASN1_codec = <ASN1Codec BER[1]>
ASN1_root = <scapy.asn1fields.ASN1F_field object>
aliastypes = [<class 'scapy.layers.x509.X509_X400Address'>, <class 'scapy.asn1packet.ASN1_Packet'>, <class 'scapy.packet.Packet'>]
fields_desc = [<scapy.asn1fields.ASN1F_field object>]