pace

package
v0.0.0-...-1733d6c Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2025 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package pace supports the 'Password Authenticated Connection Establishment' (PACE) authentication protocol.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PACEAuthToken

type PACEAuthToken int
const (
	CBC PACEAuthToken = iota
	CMAC
)

type PACEDomainParams

type PACEDomainParams struct {
	// contains filtered or unexported fields
}

type PACEMapping

type PACEMapping int
const (
	GM PACEMapping = iota
	IM
	CAM
)

type PACESeccureMessaging

type PACESeccureMessaging int

type Pace

type Pace struct {
	// contains filtered or unexported fields
}

func NewPace

func NewPace(nfc *iso7816.NfcSession, doc *document.Document, pass *password.Password) *Pace

func (*Pace) DoPACE

func (pace *Pace) DoPACE() (err error)

type PaceConfig

type PaceConfig struct {
	// contains filtered or unexported fields
}

NB secure-messaging is currently inferred from 'cipher'

func (*PaceConfig) String

func (cfg *PaceConfig) String() string

Jump to

Keyboard shortcuts

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