ber

package
v0.0.0-...-657358b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

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

func ConvertToDER(ber []byte) ([]byte, error)

ConvertToDER converts BER-encoded ASN.1 data structures to DER-encoded.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL