catm_008_001_01

package
v0.0.0-...-d341185 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Algorithm11Code

type Algorithm11Code string

May be one of HS25, HS38, HS51, HS01

type Algorithm12Code

type Algorithm12Code string

May be one of MACC, MCCS, CMA1, MCC1, CMA9, CMA5

type Algorithm13Code

type Algorithm13Code string

May be one of EA2C, E3DC, DKP9, UKPT, UKA1, EA9C, EA5C

type Algorithm14Code

type Algorithm14Code string

May be one of ERS2, ERS1, RPSS

type Algorithm7Code

type Algorithm7Code string

May be one of ERSA, RSAO

type Algorithm8Code

type Algorithm8Code string

May be one of MGF1

type AlgorithmIdentification11

type AlgorithmIdentification11 struct {
	Algo  Algorithm7Code `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Algo"`
	Param Parameter4     `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Param,omitempty"`
}

type AlgorithmIdentification12

type AlgorithmIdentification12 struct {
	Algo  Algorithm8Code `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Algo"`
	Param Parameter5     `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Param,omitempty"`
}

type AlgorithmIdentification13

type AlgorithmIdentification13 struct {
	Algo  Algorithm13Code `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Algo"`
	Param Parameter6      `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Param,omitempty"`
}

type AlgorithmIdentification15

type AlgorithmIdentification15 struct {
	Algo  Algorithm12Code `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Algo"`
	Param Parameter7      `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Param,omitempty"`
}

type AlgorithmIdentification16

type AlgorithmIdentification16 struct {
	Algo Algorithm11Code `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Algo"`
}

type AlgorithmIdentification17

type AlgorithmIdentification17 struct {
	Algo  Algorithm14Code `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Algo"`
	Param Parameter8      `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Param,omitempty"`
}

type AttributeType1Code

type AttributeType1Code string

May be one of CNAT, LATT, OATT, OUAT, CATT

type AuthenticatedData4

type AuthenticatedData4 struct {
	Vrsn        float64                   `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Vrsn,omitempty"`
	Rcpt        []Recipient4Choice        `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Rcpt"`
	MACAlgo     AlgorithmIdentification15 `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 MACAlgo"`
	NcpsltdCntt EncapsulatedContent3      `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 NcpsltdCntt"`
	MAC         Max140Binary              `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 MAC"`
}

type BytePadding1Code

type BytePadding1Code string

May be one of LNGT, NUL8, NULG, NULL, RAND

type CardPaymentServiceType10Code

type CardPaymentServiceType10Code string

May be one of CRTC, CRTR, CRTK, WLSR, WLSA

type CertificateIssuer1

type CertificateIssuer1 struct {
	RltvDstngshdNm []RelativeDistinguishedName1 `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 RltvDstngshdNm"`
}

type CertificateManagementResponse1

type CertificateManagementResponse1 struct {
	POIId       GenericIdentification72      `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 POIId"`
	TMId        GenericIdentification72      `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 TMId,omitempty"`
	CertSvc     CardPaymentServiceType10Code `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 CertSvc"`
	Rslt        ResponseType6                `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Rslt"`
	SctyPrfl    Max35Text                    `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 SctyPrfl,omitempty"`
	ClntCert    Max3000Binary                `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 ClntCert,omitempty"`
	ClntCertPth []Max10KBinary               `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 ClntCertPth,omitempty"`
	SvrCertPth  []Max10KBinary               `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 SvrCertPth,omitempty"`
}

type CertificateManagementResponseV01

type CertificateManagementResponseV01 struct {
	Hdr          Header29                       `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Hdr"`
	CertMgmtRspn CertificateManagementResponse1 `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 CertMgmtRspn"`
	SctyTrlr     ContentInformationType13       `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 SctyTrlr,omitempty"`
}

type ContentInformationType13

type ContentInformationType13 struct {
	CnttTp       ContentType2Code   `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 CnttTp"`
	AuthntcdData AuthenticatedData4 `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 AuthntcdData,omitempty"`
	SgndData     SignedData4        `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 SgndData,omitempty"`
}

type ContentType2Code

type ContentType2Code string

May be one of DATA, SIGN, EVLP, DGST, AUTH

type Document

type Document struct {
	CertMgmtRspn CertificateManagementResponseV01 `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 CertMgmtRspn"`
}

type EncapsulatedContent3

type EncapsulatedContent3 struct {
	CnttTp ContentType2Code `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 CnttTp"`
	Cntt   Max100KBinary    `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Cntt,omitempty"`
}

type EncryptionFormat1Code

type EncryptionFormat1Code string

May be one of TR31, TR34

type GenericIdentification72

type GenericIdentification72 struct {
	Id     Max35Text         `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Id"`
	Issr   PartyType6Code    `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Issr,omitempty"`
	Ctry   Min2Max3AlphaText `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Ctry,omitempty"`
	ShrtNm Max35Text         `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 ShrtNm,omitempty"`
}

type GenericIdentification93

type GenericIdentification93 struct {
	Id       Max35Text          `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Id"`
	Issr     PartyType6Code     `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Issr,omitempty"`
	Ctry     Min2Max3AlphaText  `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Ctry,omitempty"`
	ShrtNm   Max35Text          `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 ShrtNm,omitempty"`
	RmotAccs NetworkParameters5 `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 RmotAccs,omitempty"`
}

type Header29

type Header29 struct {
	PrtcolVrsn Max6Text                `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 PrtcolVrsn"`
	XchgId     float64                 `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 XchgId,omitempty"`
	CreDtTm    ISODateTime             `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 CreDtTm"`
	InitgPty   GenericIdentification72 `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 InitgPty"`
	RcptPty    GenericIdentification93 `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 RcptPty,omitempty"`
}

type ISODateTime

type ISODateTime time.Time

func (ISODateTime) MarshalText

func (t ISODateTime) MarshalText() ([]byte, error)

func (*ISODateTime) UnmarshalText

func (t *ISODateTime) UnmarshalText(text []byte) error

type IssuerAndSerialNumber1

type IssuerAndSerialNumber1 struct {
	Issr  CertificateIssuer1 `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Issr"`
	SrlNb Max35Binary        `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 SrlNb"`
}

type KEK4

type KEK4 struct {
	Vrsn          float64                   `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Vrsn,omitempty"`
	KEKId         KEKIdentifier2            `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 KEKId"`
	KeyNcrptnAlgo AlgorithmIdentification13 `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 KeyNcrptnAlgo"`
	NcrptdKey     Max500Binary              `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 NcrptdKey"`
}

type KEKIdentifier2

type KEKIdentifier2 struct {
	KeyId     Max140Text      `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 KeyId"`
	KeyVrsn   Max140Text      `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 KeyVrsn"`
	SeqNb     float64         `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 SeqNb,omitempty"`
	DerivtnId Min5Max16Binary `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 DerivtnId,omitempty"`
}

type KeyTransport4

type KeyTransport4 struct {
	Vrsn          float64                   `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Vrsn,omitempty"`
	RcptId        Recipient5Choice          `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 RcptId"`
	KeyNcrptnAlgo AlgorithmIdentification11 `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 KeyNcrptnAlgo"`
	NcrptdKey     Max5000Binary             `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 NcrptdKey"`
}

type Max100KBinary

type Max100KBinary []byte

func (Max100KBinary) MarshalText

func (t Max100KBinary) MarshalText() ([]byte, error)

func (*Max100KBinary) UnmarshalText

func (t *Max100KBinary) UnmarshalText(text []byte) error

type Max10KBinary

type Max10KBinary []byte

func (Max10KBinary) MarshalText

func (t Max10KBinary) MarshalText() ([]byte, error)

func (*Max10KBinary) UnmarshalText

func (t *Max10KBinary) UnmarshalText(text []byte) error

type Max140Binary

type Max140Binary []byte

func (Max140Binary) MarshalText

func (t Max140Binary) MarshalText() ([]byte, error)

func (*Max140Binary) UnmarshalText

func (t *Max140Binary) UnmarshalText(text []byte) error

type Max140Text

type Max140Text string

Must be at least 1 items long

type Max3000Binary

type Max3000Binary []byte

func (Max3000Binary) MarshalText

func (t Max3000Binary) MarshalText() ([]byte, error)

func (*Max3000Binary) UnmarshalText

func (t *Max3000Binary) UnmarshalText(text []byte) error

type Max35Binary

type Max35Binary []byte

func (Max35Binary) MarshalText

func (t Max35Binary) MarshalText() ([]byte, error)

func (*Max35Binary) UnmarshalText

func (t *Max35Binary) UnmarshalText(text []byte) error

type Max35Text

type Max35Text string

Must be at least 1 items long

type Max5000Binary

type Max5000Binary []byte

func (Max5000Binary) MarshalText

func (t Max5000Binary) MarshalText() ([]byte, error)

func (*Max5000Binary) UnmarshalText

func (t *Max5000Binary) UnmarshalText(text []byte) error

type Max500Binary

type Max500Binary []byte

func (Max500Binary) MarshalText

func (t Max500Binary) MarshalText() ([]byte, error)

func (*Max500Binary) UnmarshalText

func (t *Max500Binary) UnmarshalText(text []byte) error

type Max6Text

type Max6Text string

Must be at least 1 items long

type Max70Text

type Max70Text string

Must be at least 1 items long

type Min2Max3AlphaText

type Min2Max3AlphaText string

Must match the pattern [a-zA-Z]{2,3}

type Min5Max16Binary

type Min5Max16Binary []byte

func (Min5Max16Binary) MarshalText

func (t Min5Max16Binary) MarshalText() ([]byte, error)

func (*Min5Max16Binary) UnmarshalText

func (t *Min5Max16Binary) UnmarshalText(text []byte) error

type NetworkParameters4

type NetworkParameters4 struct {
	NtwkTp NetworkType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 NtwkTp"`
	AdrVal Max70Text        `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 AdrVal"`
}

type NetworkParameters5

type NetworkParameters5 struct {
	Adr        []NetworkParameters4 `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Adr"`
	UsrNm      Max35Text            `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 UsrNm,omitempty"`
	AccsCd     Max35Binary          `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 AccsCd,omitempty"`
	SvrCert    []Max10KBinary       `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 SvrCert,omitempty"`
	SvrCertIdr []Max140Binary       `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 SvrCertIdr,omitempty"`
	ClntCert   []Max10KBinary       `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 ClntCert,omitempty"`
	SctyPrfl   Max35Text            `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 SctyPrfl,omitempty"`
}

type NetworkType1Code

type NetworkType1Code string

May be one of IPNW, PSTN

type Parameter4

type Parameter4 struct {
	NcrptnFrmt   EncryptionFormat1Code     `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 NcrptnFrmt,omitempty"`
	DgstAlgo     Algorithm11Code           `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 DgstAlgo,omitempty"`
	MskGnrtrAlgo AlgorithmIdentification12 `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 MskGnrtrAlgo,omitempty"`
}

type Parameter5

type Parameter5 struct {
	DgstAlgo Algorithm11Code `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 DgstAlgo,omitempty"`
}

type Parameter6

type Parameter6 struct {
	NcrptnFrmt   EncryptionFormat1Code `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 NcrptnFrmt,omitempty"`
	InitlstnVctr Max500Binary          `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 InitlstnVctr,omitempty"`
	BPddg        BytePadding1Code      `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 BPddg,omitempty"`
}

type Parameter7

type Parameter7 struct {
	InitlstnVctr Max500Binary     `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 InitlstnVctr,omitempty"`
	BPddg        BytePadding1Code `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 BPddg,omitempty"`
}

type Parameter8

type Parameter8 struct {
	DgstAlgo     Algorithm11Code           `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 DgstAlgo"`
	MskGnrtrAlgo AlgorithmIdentification12 `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 MskGnrtrAlgo"`
	SaltLngth    float64                   `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 SaltLngth"`
	TrlrFld      float64                   `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 TrlrFld,omitempty"`
}

type PartyType6Code

type PartyType6Code string

May be one of ACCP, MERC, ACQR, ITAG, MTMG, TMGT

type Recipient4Choice

type Recipient4Choice struct {
	KeyTrnsprt KeyTransport4  `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 KeyTrnsprt"`
	KEK        KEK4           `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 KEK"`
	KeyIdr     KEKIdentifier2 `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 KeyIdr"`
}

type Recipient5Choice

type Recipient5Choice struct {
	IssrAndSrlNb IssuerAndSerialNumber1 `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 IssrAndSrlNb"`
	KeyIdr       KEKIdentifier2         `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 KeyIdr"`
}

type RelativeDistinguishedName1

type RelativeDistinguishedName1 struct {
	AttrTp  AttributeType1Code `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 AttrTp"`
	AttrVal Max140Text         `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 AttrVal"`
}

type Response2Code

type Response2Code string

May be one of APPR, DECL

type ResponseType6

type ResponseType6 struct {
	Rspn      Response2Code     `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Rspn"`
	RspnDtl   ResultDetail3Code `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 RspnDtl,omitempty"`
	AddtlRspn Max140Text        `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 AddtlRspn,omitempty"`
}

type ResultDetail3Code

type ResultDetail3Code string

May be one of CRTU, SVSU

type SignedData4

type SignedData4 struct {
	Vrsn        float64                     `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Vrsn,omitempty"`
	DgstAlgo    []AlgorithmIdentification16 `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 DgstAlgo"`
	NcpsltdCntt EncapsulatedContent3        `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 NcpsltdCntt"`
	Cert        []Max5000Binary             `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Cert,omitempty"`
	Sgnr        []Signer3                   `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Sgnr"`
}

type Signer3

type Signer3 struct {
	Vrsn      float64                   `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Vrsn,omitempty"`
	SgnrId    Recipient5Choice          `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 SgnrId,omitempty"`
	DgstAlgo  AlgorithmIdentification16 `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 DgstAlgo"`
	SgntrAlgo AlgorithmIdentification17 `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 SgntrAlgo"`
	Sgntr     Max3000Binary             `xml:"urn:iso:std:iso:20022:tech:xsd:catm.008.001.01 Sgntr"`
}

Jump to

Keyboard shortcuts

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