misc

package
v0.0.0-...-252e15b Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TOKEN_NOOP    byte = (1 << 0)
	TOKEN_CONTEXT byte = (1 << 1)
	TOKEN_DATA    byte = (1 << 2)
	TOKEN_MIC     byte = (1 << 3)

	TOKEN_CONTEXT_NEXT byte = (1 << 4)
	TOKEN_WRAPPED      byte = (1 << 5)
	TOKEN_ENCRYPTED    byte = (1 << 6)
	TOKEN_SEND_MIC     byte = (1 << 7)
)

Variables

This section is empty.

Functions

func ParseOid

func ParseOid(oids string) (oid asn1.ObjectIdentifier)

ParseOid returns an asn1.ObjectIdentifier based on the dotted form input string.

func RecvToken

func RecvToken(conn net.Conn) (tag byte, token []byte)

RecvToken reads a token sent by SendToken over a newtork connection.

func SendToken

func SendToken(conn net.Conn, tag byte, token []byte)

SendToken sends a token from the sample GSS client to the sample GSS server, or vice-versa.

Types

This section is empty.

Jump to

Keyboard shortcuts

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