der

package
v0.0.0-...-878775e Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidClass

func IsValidClass(class string) bool

func IsValidConstructed

func IsValidConstructed(constructed string) bool

func IsValidType

func IsValidType(typ string) bool

func WriteBMPString

func WriteBMPString(class, constructed, typ, str string) ([]byte, error)

aka UTF-16BE / UCS-2 / etc

func WriteBitstring

func WriteBitstring(class, constructed, typ, padding, payload string) ([]byte, error)

func WriteBoolean

func WriteBoolean(class, constructed, typ, value string) ([]byte, error)

func WriteEndOfContent

func WriteEndOfContent(class, constructed, typ string) ([]byte, error)

func WriteGeneric

func WriteGeneric(class, constructed, typ, payload string) ([]byte, error)

func WriteInteger

func WriteInteger(class, constructed, typ, atom string) ([]byte, error)

func WriteNull

func WriteNull(class, constructed, typ string) ([]byte, error)

func WriteOid

func WriteOid(class, constructed, typ, oid string) ([]byte, error)

func WriteRelativeOid

func WriteRelativeOid(class, constructed, typ, oid string) ([]byte, error)

func WriteUniversalString

func WriteUniversalString(class, constructed, typ, str string) ([]byte, error)

aka UTF-32BE / UCS-4 / etc

Types

This section is empty.

Jump to

Keyboard shortcuts

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