Documentation ¶
Index ¶
- Variables
- func ComputeARPCMethod1(sessionKey, arqc []byte, responseCode string) ([]byte, error)
- func ComputeRawARQC(sessionKey, data []byte) ([]byte, error)
- func DeriveCommonSessionKey(masterkey, diversificationValue []byte) ([]byte, error)
- func DeriveMasterKeyOptionA(mdk []byte, pan string, psn string) ([]byte, error)
- func FormatPANAndPSNForDerivation(pan string, psn string) ([]byte, error)
- func RawDeriveCommonSessionKey(masterkey, diversificationValue []byte) ([]byte, error)
- func RawDeriveMasterKeyOptionA(mdk, panAndPSN []byte) ([]byte, error)
- type CVR
- type IssuerApplicationData
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNonCompliantIAD = errors.New("non compliant IAD")
Functions ¶
func ComputeARPCMethod1 ¶
func ComputeRawARQC ¶
func DeriveCommonSessionKey ¶
DeriveCommonSessionKey always sets the parity to odd
func DeriveMasterKeyOptionA ¶
DeriveMasterKeyOptionA always sets the parity to odd
func RawDeriveCommonSessionKey ¶
RawDeriveCommonSessionKey derives a Common Session Key as specified in EMV 4.x Book 2
Types ¶
Click to show internal directories.
Click to hide internal directories.