package
0.0.0-20230426181733-1153de682fc5
Repository: https://github.com/gridplus/keycard-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewCommandDelete returns a Delete command as defined in the globalplatform specifications.
NewCommandExternalAuthenticate returns an External Authenticate command as defined in the globalplatform specifications.
NewCommandGetResponse returns a Get Response command as defined in the globalplatform specifications.
NewCommandGetStatus returns a Get Status command as defined in the globalplatform specifications.
NewCommandInitializeUpdate returns an Initialize Update command as defined in the globalplatform specifications.
NewCommandInstallForInstall returns an Install command with the install-for-instalp parameter as defined in the globalplatform specifications.
NewCommandInstallForLoad returns an Install command with the install-for-load parameter as defined in the globalplatform specifications.
NewCommandSelect returns a Select command as defined in the globalplatform specifications.
No description provided by the author
NewLoadCommandStream returns a new LoadCommandStream to load the specified file.
NewSCP02Keys returns a new SCP02Keys with the specified ENC and MAC keys.
NewSCP02Wrapper returns a new SCP02Wrapper using the specified key for MAC generation.
NewSecureChannel returns a new SecureChannel based on a session and wrapping a Channel c.
NewSession returns a new session after validating the cryptogram received from the card.

# Constants

Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.
Constants used in apdu commands and responses as defined by iso7816 and globalplatform.

# Variables

No description provided by the author

# Structs

No description provided by the author
LoadCommandStream implement a struct that generates multiple Load commands used to load files to smartcards.
SCP02Keys is a struct that contains encoding and MAC keys used to communicate with smartcards.
SCP02Wrapper is a wrapper for apdu commands inside a global platform secure channel.
SecureChannel wraps another channel and sends wrapped commands using SCP02Wrapper.
Session is a struct containing the keys and challenges used in the current communication with a card.

# Type aliases

No description provided by the author