iso20022_caam_008_001_01

package
v0.0.0-...-2e988c5 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 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 ATMEnvironment9

type ATMEnvironment9 struct {
	Acqrr    Acquirer7               `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 Acqrr,omitempty"`
	ATMMgrId Max35Text               `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 ATMMgrId,omitempty"`
	ATM      AutomatedTellerMachine7 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 ATM"`
}

ATMEnvironment9

Environment of the ATM.

type ATMMessageFunction1

type ATMMessageFunction1 struct {
	Fctn     MessageFunction7Code `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 Fctn"`
	ATMSvcCd Max35Text            `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 ATMSvcCd,omitempty"`
	HstSvcCd Max35Text            `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 HstSvcCd,omitempty"`
}

ATMMessageFunction1

Identifies the type of process related to an ATM message.

type Acquirer7

type Acquirer7 struct {
	AcqrgInstn Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 AcqrgInstn,omitempty"`
	Brnch      Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 Brnch,omitempty"`
}

Acquirer7

Acquirer of the withdrawal transaction, in charge of the funds settlement with the issuer.

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 Algorithm15Code

type Algorithm15Code string

May be one of EA2C, E3DC, EA9C, EA5C

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:caam.008.001.01 Algo"`
	Param Parameter4     `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 Param,omitempty"`
}

AlgorithmIdentification11

Cryptographic algorithms and parameters for the protection of transported keys by an asymmetric key.

type AlgorithmIdentification12

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

AlgorithmIdentification12

Mask generator function cryptographic algorithm and parameters.

type AlgorithmIdentification13

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

AlgorithmIdentification13

Cryptographic algorithm and parameters for the protection of the transported key.

type AlgorithmIdentification14

type AlgorithmIdentification14 struct {
	Algo  Algorithm15Code `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 Algo"`
	Param Parameter6      `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 Param,omitempty"`
}

AlgorithmIdentification14

Cryptographic algorithm and parameters for encryptions with a symmetric cryptographic key.

type AlgorithmIdentification15

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

AlgorithmIdentification15

Identification of a cryptographic algorithm and parameters for the MAC computation.

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:caam.008.001.01 Vrsn,omitempty"`
	Rcpt        []Recipient4Choice        `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 Rcpt"`
	MACAlgo     AlgorithmIdentification15 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 MACAlgo"`
	NcpsltdCntt EncapsulatedContent3      `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 NcpsltdCntt"`
	MAC         Max140Binary              `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 MAC"`
}

AuthenticatedData4

Message authentication code (MAC), computed on the data to protect with an encryption key.

type AutomatedTellerMachine7

type AutomatedTellerMachine7 struct {
	Id      Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 Id"`
	AddtlId Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 AddtlId,omitempty"`
	SeqNb   Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 SeqNb,omitempty"`
}

AutomatedTellerMachine7

ATM information.

type BytePadding1Code

type BytePadding1Code string

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

type CertificateIssuer1

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

CertificateIssuer1

Certificate issuer name (see X.509).

type ContentInformationType10

type ContentInformationType10 struct {
	CnttTp     ContentType2Code `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 CnttTp"`
	EnvlpdData EnvelopedData4   `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 EnvlpdData"`
}

ContentInformationType10

General cryptographic message syntax (CMS) containing encrypted data.

type ContentInformationType15

type ContentInformationType15 struct {
	CnttTp       ContentType2Code   `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 CnttTp"`
	AuthntcdData AuthenticatedData4 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 AuthntcdData"`
}

ContentInformationType15

General cryptographic message syntax (CMS) containing authenticated data.

type ContentType2Code

type ContentType2Code string

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

type Document

type Document struct {
	HstToATMAck HostToATMAcknowledgementV01 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 HstToATMAck"`
}

type EncapsulatedContent3

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

EncapsulatedContent3

Data to authenticate.

type EncryptedContent3

type EncryptedContent3 struct {
	CnttTp         ContentType2Code          `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 CnttTp"`
	CnttNcrptnAlgo AlgorithmIdentification14 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 CnttNcrptnAlgo"`
	NcrptdData     Max100KBinary             `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 NcrptdData"`
}

EncryptedContent3

Encrypted data with an encryption key.

type EncryptionFormat1Code

type EncryptionFormat1Code string

May be one of TR31, TR34

type EnvelopedData4

type EnvelopedData4 struct {
	Vrsn       float64            `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 Vrsn,omitempty"`
	Rcpt       []Recipient4Choice `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 Rcpt"`
	NcrptdCntt EncryptedContent3  `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 NcrptdCntt,omitempty"`
}

EnvelopedData4

Encrypted data with encryption key.

type GenericIdentification77

type GenericIdentification77 struct {
	Id     Max35Text         `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 Id"`
	Tp     PartyType12Code   `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 Tp"`
	Issr   PartyType12Code   `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 Issr,omitempty"`
	Ctry   Min2Max3AlphaText `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 Ctry,omitempty"`
	ShrtNm Max35Text         `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 ShrtNm,omitempty"`
}

GenericIdentification77

Identification of an entity.

type Header20

type Header20 struct {
	MsgFctn    ATMMessageFunction1 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 MsgFctn"`
	PrtcolVrsn Max6Text            `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 PrtcolVrsn"`
	XchgId     Max3NumericText     `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 XchgId"`
	CreDtTm    ISODateTime         `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 CreDtTm"`
	InitgPty   Max35Text           `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 InitgPty"`
	RcptPty    Max35Text           `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 RcptPty,omitempty"`
	PrcStat    Max35Text           `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 PrcStat,omitempty"`
	Tracblt    []Traceability4     `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 Tracblt,omitempty"`
}

Header20

Information related to the protocol management on a segment of the path from the ATM to the acquirer.

type HostToATMAcknowledgement1

type HostToATMAcknowledgement1 struct {
	Envt ATMEnvironment9 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 Envt"`
}

HostToATMAcknowledgement1

Information related to the acknowledgement from an ATM to contact the ATM manager.

type HostToATMAcknowledgementV01

type HostToATMAcknowledgementV01 struct {
	Hdr               Header20                  `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 Hdr"`
	PrtctdHstToATMAck ContentInformationType10  `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 PrtctdHstToATMAck,omitempty"`
	HstToATMAck       HostToATMAcknowledgement1 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 HstToATMAck,omitempty"`
	SctyTrlr          ContentInformationType15  `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 SctyTrlr,omitempty"`
}

HostToATMAcknowledgementV01

The HostToATMAcknowledgement message is sent by an ATM to a host to acknowledge the receipt of a HostToATMRequest message.

type ISODateTime

type ISODateTime time.Time

ISODateTime

A particular point in the progression of time defined by a mandatory date and a mandatory time component, expressed in either UTC time format (YYYY-MM-DDThh:mm:ss.sssZ), local time with UTC offset format (YYYY-MM-DDThh:mm:ss.sss+/-hh:mm), or local time format (YYYY-MM-DDThh:mm:ss.sss). These representations are defined in "XML Schema Part 2: Datatypes Second Edition - W3C Recommendation 28 October 2004" which is aligned with ISO 8601. Note on the time format: 1) beginning / end of calendar day 00:00:00 = the beginning of a calendar day 24:00:00 = the end of a calendar day 2) fractions of second in time format Decimal fractions of seconds may be included. In this case, the involved parties shall agree on the maximum number of digits that are allowed.

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:caam.008.001.01 Issr"`
	SrlNb Max35Binary        `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 SrlNb"`
}

IssuerAndSerialNumber1

Certificate issuer name and serial number (see X.509).

type KEK4

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

KEK4

Key encryption key (KEK), using previously distributed symmetric key.

type KEKIdentifier2

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

KEKIdentifier2

Identification of a key encryption key (KEK), using previously distributed symmetric key.

type KeyTransport4

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

KeyTransport4

Key encryption key (KEK), encrypted with a previously distributed asymmetric public key.

type Max100KBinary

type Max100KBinary []byte

Max100KBinary

Binary data of 100K maximum.

func (Max100KBinary) MarshalText

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

func (*Max100KBinary) UnmarshalText

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

type Max140Binary

type Max140Binary []byte

Max140Binary

Specifies a binary string with a maximum length of 140 binary bytes.

func (Max140Binary) MarshalText

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

func (*Max140Binary) UnmarshalText

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

type Max140Text

type Max140Text string

May be no more than 140 items long

type Max35Binary

type Max35Binary []byte

Max35Binary

Specifies a binary string with a maximum length of 35 binary bytes.

func (Max35Binary) MarshalText

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

func (*Max35Binary) UnmarshalText

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

type Max35Text

type Max35Text string

May be no more than 35 items long

type Max3NumericText

type Max3NumericText string

Must match the pattern [0-9]{1,3}

type Max5000Binary

type Max5000Binary []byte

Max5000Binary

Specifies a binary string with a maximum length of 5000 binary bytes.

func (Max5000Binary) MarshalText

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

func (*Max5000Binary) UnmarshalText

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

type Max500Binary

type Max500Binary []byte

Max500Binary

Specifies a binary string with a maximum length of 500 binary bytes.

func (Max500Binary) MarshalText

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

func (*Max500Binary) UnmarshalText

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

type Max6Text

type Max6Text string

May be no more than 6 items long

type MessageFunction7Code

type MessageFunction7Code string

May be one of BALN, CMPA, CMPD, ACMD, DVCC, DIAQ, DIAP, GSTS, INQQ, INQP, KYAQ, KYAP, PINQ, PINP, RJAQ, RJAP, WITV, WITK, WITQ, WITP, INQC, H2AP, H2AQ, TMOP, CSEC, DSEC, SKSC, SSTS

type Min2Max3AlphaText

type Min2Max3AlphaText string

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

type Min5Max16Binary

type Min5Max16Binary []byte

Min5Max16Binary

Specifies a binary string with a minimum length of 5 bytes, and a maximum length of 16 bytes.

func (Min5Max16Binary) MarshalText

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

func (*Min5Max16Binary) UnmarshalText

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

type Parameter4

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

Parameter4

Parameters of the asymmetric encryption algorithm.

type Parameter5

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

Parameter5

Parameters associated to a mask generator cryptographic function.

type Parameter6

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

Parameter6

Parameters associated to a cryptographic encryption algorithm.

type Parameter7

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

Parameter7

Parameters associated to the MAC algorithm.

type PartyType12Code

type PartyType12Code string

May be one of ACQR, ATMG, CISP, DLIS, HSTG, ITAG, OATM

type Recipient4Choice

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

Recipient4Choice

Transport key or key encryption key (KEK) for the recipient.

type Recipient5Choice

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

Recipient5Choice

Identification of a cryptographic asymmetric key.

type RelativeDistinguishedName1

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

RelativeDistinguishedName1

Relative distinguished name defined by X.500 and X.509.

type Traceability4

type Traceability4 struct {
	RlayId      GenericIdentification77 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 RlayId"`
	SeqNb       Max35Text               `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 SeqNb,omitempty"`
	TracDtTmIn  ISODateTime             `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 TracDtTmIn"`
	TracDtTmOut ISODateTime             `xml:"urn:iso:std:iso:20022:tech:xsd:caam.008.001.01 TracDtTmOut"`
}

Traceability4

Identification of partners involved in exchange from the ATM to the issuer, with the relative timestamp of their exchanges.

Jump to

Keyboard shortcuts

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