openspalib

package module
v0.0.0-...-9be5009 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2022 License: LGPL-3.0 Imports: 0 Imported by: 4

README

OpenSPA Library

This is a Go library implementing the OpenSPA v1 protocol.

v1 of the OpenSPA protocol is not supported any more, please check out the OpenSPA v2 protocol and implementation.

Documentation

Index

Constants

View Source
const (
	Version = 1 // version of the protocol

	// Protocol numbers are according to: https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml
	Protocol_ICMP   = 1
	Protocol_IPV4   = 4
	Protocol_TCP    = 6
	Protocol_UDP    = 17
	Protocol_ICMPv6 = 58

	// Encryption methods
	EncryptionMethod_RSA2048_AES256CBC = 1

	// Signature methods
	SignatureMethod_RSA_SHA256 = 1
)

Variables

This section is empty.

Functions

func SupportedEncryptionMethods

func SupportedEncryptionMethods() []byte

Returns all the supported encryption methods

func SupportedSignatureMethods

func SupportedSignatureMethods() []byte

Returns all the supported signature methods

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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