MCPcopy Create free account
hub / github.com/secdev/scapy / RSAPublicKey

Class RSAPublicKey

scapy/layers/x509.py:96–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94# (We might have to dig into scapy field initialization mechanisms...)
95# NEVER rely on the key below, which is provided only for debugging purposes.
96class RSAPublicKey(ASN1_Packet):
97 ASN1_codec = ASN1_Codecs.BER
98 ASN1_root = ASN1F_SEQUENCE(
99 ASN1F_INTEGER("modulus", 10),
100 ASN1F_INTEGER("publicExponent", 3))
101
102
103class RSAOtherPrimeInfo(ASN1_Packet):

Callers 2

__call__Method · 0.90
__init__Method · 0.85

Calls 2

ASN1F_SEQUENCEClass · 0.90
ASN1F_INTEGERClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…