Documentation ¶
Overview ¶
Package ber decodes BER-encoded ASN.1 data structures and encodes in DER. Note:
- DER is a subset of BER.
- Indefinite length is not supported.
- The length of the encoded data must fit the memory space of the int type (4 bytes).
Reference: - http://luca.ntop.org/Teaching/Appunti/asn1.html - ISO/IEC 8825-1:2021 - https://learn.microsoft.com/windows/win32/seccertenroll/about-introduction-to-asn-1-syntax-and-encoding
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToDER ¶
ConvertToDER converts BER-encoded ASN.1 data structures to DER-encoded.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.