asn1

package
v0.0.0-...-033c8b6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Linter

type Linter struct {
	// contains filtered or unexported fields
}

func (*Linter) CheckFormat

func (l *Linter) CheckFormat(d asn1.RawValue)

CheckFormat returns a list of formatting errors based on the expected ASN1 encoding according to the class and tag of the raw value. TODO: Create checks for remaining class 0 tags TODO: Should we create extensions for other classes, even include class 0?

func (*Linter) CheckStruct

func (l *Linter) CheckStruct(der []byte) *errors.Errors

CheckStruct returns a list of errors based on strict checks on the raw ASN1 encoding of the input der.

Jump to

Keyboard shortcuts

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