bytearray

package
v1.3.1-0...-1064a08 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DERDecode

func DERDecode(bytes []byte) ([]asn1.RawValue, error)

This will DER unpack a byte array, and Decode the nested Byte array that sits underneath it.

func Decode

func Decode(bytes []byte) ([]asn1.RawValue, error)

Decode will unpack a byte array of DER encoded byte arrays into asn1.RawValue structs.

func Encode

func Encode(values []asn1.RawValue) ([]byte, error)

Take a list of asn1.RawValue structs, Marshal them, and push the combined array into a byte array to drop out.

Types

This section is empty.

Jump to

Keyboard shortcuts

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