samav3

package
v0.0.0-...-89eb2bc Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SamAv3

type SamAv3 interface {
	samav2.SamAv2
	// smartcard.ICard
	// GetVersion() ([]byte, error)
	// /*AuthHost SAM_AuthenticationHost AV2 mode
	// key, key to Authentication
	// keyNo, key entry number in SAM key storage
	// keyVr, key version used
	// hostMode, hostMode (0: plain, 1: Mac, 2: Full)*/
	AuthHost(key []byte, keyNo, keyVr, hostMode int) ([]byte, error)
}

SamAv3 Interface

func ConnectSam

func ConnectSam(r smartcard.IReader) (SamAv3, error)

ConnectSam Create SamAv2 interface

func SamAV3

func SamAV3(c smartcard.ICard) SamAv3

SamAV3 Create SAM from Card

Jump to

Keyboard shortcuts

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