openspalib

package module
v0.0.0-...-4d93f28 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: LGPL-3.0 Imports: 0 Imported by: 2

README

OpenSPA Library

An OpenSPA Golang library that implements the OpenSPA Protocol Specification.

This library is under heavy development. No guarantees are made that it will remain backwards compatible in it's current form.

License

The library is under the LGPLv3 license.

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

	ClientType_Browser_Windows = 1
	ClientType_Browser_MAC     = 2
	ClientType_SDP_Windows     = 3
	ClientType_SDP_MAC         = 4
	ClientType_SDP_Android     = 5
	ClientType_SDP_IOS         = 6
	ClientType_Browser_Android = 7
	ClientType_Browser_IOS     = 8
	ClientType_Browser_Linux   = 9
	ClientType_SDP_Linux       = 10
	ClientType_SDP_Connector   = 11

	// 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