contentinfo

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	ContentType asn1.ObjectIdentifier
	Content     asn1.RawValue `asn1:"explicit,optional,tag:0"`
}

Container asn.1 CMS representation RFC5652

func DecodeDER

func DecodeDER(derData containers.DER) (*Container, error)

func (*Container) EncodeToDER

func (ci *Container) EncodeToDER() ([]byte, error)

func (*Container) IsContentType

func (ci *Container) IsContentType(oid asn1.ObjectIdentifier) bool

Jump to

Keyboard shortcuts

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