Add ExtractSubjectFromX509Cert and OpenSSL implementation · Issue #26427 · project-chip/connectedhomeip · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should extract the bytes of an ASN.1 X.509 certificate subject field, from in-place representation. The data is not copied-out, but rather out_subject_in_place is updated to point to the contents of the certificate. The full Subject sequence should be present.
Example of extracting the right format (based on issuer field, but it's similar for subject) is attached.
Need to document the basic interface, add OpenSSL implementation and add a unit test for:
CHIP_ERROR ExtractSubjectFromX509Cert(const ByteSpan & certificate, ByteSpan & out_subject_in_place)
This should extract the bytes of an ASN.1 X.509 certificate subject field, from in-place representation. The data is not copied-out, but rather
out_subject_in_place
is updated to point to the contents of the certificate. The full Subject sequence should be present.Example of extracting the right format (based on issuer field, but it's similar for subject) is attached.
extract_cert_fields_for_dcl.py.zip
The text was updated successfully, but these errors were encountered: