MCPcopy Index your code
hub / github.com/secdev/scapy / ASN1F_STRING

Class ASN1F_STRING

scapy/asn1fields.py:346–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344
345
346class ASN1F_STRING(ASN1F_field[str, ASN1_STRING]):
347 ASN1_tag = ASN1_Class_UNIVERSAL.STRING
348
349 def randval(self):
350 # type: () -> RandString
351 return RandString(RandNum(0, 1000))
352
353
354class ASN1F_NULL(ASN1F_INTEGER):

Callers 15

ASN1P_PRIVSEQClass · 0.90
ECCurveClass · 0.90
ECSpecifiedDomainClass · 0.90
ECDSAPrivateKeyClass · 0.90
EdDSAPrivateKeyClass · 0.90
X509_IPAddressClass · 0.90
CMS_SignerInfoClass · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected