pyasn1
pyasn1 copied to clipboard
Why does the name become empty after being processed by subtype?
Hello Developer, I created an issuer_name of type <class 'pyasn1_modules.rfc5280.Name'>, which has values. However, when I print the result of issuer_name.subtype(implicitTag=tag.Tag(tag.tagClassContext, tag.tagFormatConstructed, 4)), it returns an empty value. Could you please confirm if my usage of subtype is correct?
Name: rdnSequence=RDNSequence: RelativeDistinguishedName: AttributeTypeAndValue: type=2.5.4.6 value=0x0c02434e RelativeDistinguishedName: AttributeTypeAndValue: type=2.5.4.8 value=0x0c027573 RelativeDistinguishedName: AttributeTypeAndValue: type=2.5.4.7 value=0x0c0474657374 RelativeDistinguishedName: AttributeTypeAndValue: type=2.5.4.10 value=0x0c06e4b8ade69687 RelativeDistinguishedName: AttributeTypeAndValue: type=2.5.4.11 value=0x0c0474657374 RelativeDistinguishedName: AttributeTypeAndValue: type=2.5.4.3 value=0x0c0fe6b58be8af95e9a281e58f91e88085
This is the wrong place to report pyasn1 issues. Please visit https://github.com/pyasn1/pyasn1