Documentation ¶
Index ¶
- type ATMCommandIdentification1
- type ATMEnvironment9
- type ATMMessageFunction1
- type Acquirer7
- type Algorithm11Code
- type Algorithm12Code
- type Algorithm13Code
- type Algorithm15Code
- type Algorithm7Code
- type Algorithm8Code
- type AlgorithmIdentification11
- type AlgorithmIdentification12
- type AlgorithmIdentification13
- type AlgorithmIdentification14
- type AlgorithmIdentification15
- type AttributeType1Code
- type AuthenticatedData4
- type AutomatedTellerMachine7
- type BytePadding1Code
- type CertificateIssuer1
- type ContentInformationType10
- type ContentInformationType15
- type ContentType2Code
- type Document
- type EncapsulatedContent3
- type EncryptedContent3
- type EncryptionFormat1Code
- type EnvelopedData4
- type GenericIdentification77
- type Header20
- type HostToATMRequest1
- type HostToATMRequestV01
- type ISODateTime
- type IssuerAndSerialNumber1
- type KEK4
- type KEKIdentifier2
- type KeyTransport4
- type Max100KBinary
- type Max140Binary
- type Max140Text
- type Max35Binary
- type Max35Text
- type Max3NumericText
- type Max5000Binary
- type Max500Binary
- type Max6Text
- type MessageFunction7Code
- type MessageFunction8Code
- type Min2Max3AlphaText
- type Min5Max16Binary
- type Parameter4
- type Parameter5
- type Parameter6
- type Parameter7
- type PartyType12Code
- type Recipient4Choice
- type Recipient5Choice
- type RelativeDistinguishedName1
- type Traceability4
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ATMCommandIdentification1 ¶
type ATMCommandIdentification1 struct { Orgn Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 Orgn,omitempty"` Ref Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 Ref,omitempty"` Prcr Max140Text `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 Prcr,omitempty"` }
ATMCommandIdentification1
Identification of the entity issuing the command.
type ATMEnvironment9 ¶
type ATMEnvironment9 struct { Acqrr Acquirer7 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 Acqrr,omitempty"` ATMMgrId Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 ATMMgrId,omitempty"` ATM AutomatedTellerMachine7 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 ATM"` }
ATMEnvironment9
Environment of the ATM.
type ATMMessageFunction1 ¶
type ATMMessageFunction1 struct { Fctn MessageFunction7Code `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 Fctn"` ATMSvcCd Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 ATMSvcCd,omitempty"` HstSvcCd Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.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.007.001.01 AcqrgInstn,omitempty"` Brnch Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 Brnch,omitempty"` }
Acquirer7
Acquirer of the withdrawal transaction, in charge of the funds settlement with the issuer.
type Algorithm13Code ¶
type Algorithm13Code string
May be one of EA2C, E3DC, DKP9, UKPT, UKA1, EA9C, EA5C
type AlgorithmIdentification11 ¶
type AlgorithmIdentification11 struct { Algo Algorithm7Code `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 Algo"` Param Parameter4 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.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.007.001.01 Algo"` Param Parameter5 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.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.007.001.01 Algo"` Param Parameter6 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.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.007.001.01 Algo"` Param Parameter6 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.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.007.001.01 Algo"` Param Parameter7 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 Param,omitempty"` }
AlgorithmIdentification15
Identification of a cryptographic algorithm and parameters for the MAC computation.
type AuthenticatedData4 ¶
type AuthenticatedData4 struct { Vrsn float64 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 Vrsn,omitempty"` Rcpt []Recipient4Choice `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 Rcpt"` MACAlgo AlgorithmIdentification15 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 MACAlgo"` NcpsltdCntt EncapsulatedContent3 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 NcpsltdCntt"` MAC Max140Binary `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.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.007.001.01 Id"` AddtlId Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 AddtlId,omitempty"` SeqNb Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 SeqNb,omitempty"` }
AutomatedTellerMachine7
ATM information.
type CertificateIssuer1 ¶
type CertificateIssuer1 struct {
RltvDstngshdNm []RelativeDistinguishedName1 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.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.007.001.01 CnttTp"` EnvlpdData EnvelopedData4 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.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.007.001.01 CnttTp"` AuthntcdData AuthenticatedData4 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 AuthntcdData"` }
ContentInformationType15
General cryptographic message syntax (CMS) containing authenticated data.
type Document ¶
type Document struct {
HstToATMReq HostToATMRequestV01 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 HstToATMReq"`
}
type EncapsulatedContent3 ¶
type EncapsulatedContent3 struct { CnttTp ContentType2Code `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 CnttTp"` Cntt Max100KBinary `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 Cntt,omitempty"` }
EncapsulatedContent3
Data to authenticate.
type EncryptedContent3 ¶
type EncryptedContent3 struct { CnttTp ContentType2Code `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 CnttTp"` CnttNcrptnAlgo AlgorithmIdentification14 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 CnttNcrptnAlgo"` NcrptdData Max100KBinary `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 NcrptdData"` }
EncryptedContent3
Encrypted data with an encryption key.
type EnvelopedData4 ¶
type EnvelopedData4 struct { Vrsn float64 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 Vrsn,omitempty"` Rcpt []Recipient4Choice `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 Rcpt"` NcrptdCntt EncryptedContent3 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.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.007.001.01 Id"` Tp PartyType12Code `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 Tp"` Issr PartyType12Code `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 Issr,omitempty"` Ctry Min2Max3AlphaText `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 Ctry,omitempty"` ShrtNm Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.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.007.001.01 MsgFctn"` PrtcolVrsn Max6Text `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 PrtcolVrsn"` XchgId Max3NumericText `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 XchgId"` CreDtTm ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 CreDtTm"` InitgPty Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 InitgPty"` RcptPty Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 RcptPty,omitempty"` PrcStat Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 PrcStat,omitempty"` Tracblt []Traceability4 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 Tracblt,omitempty"` }
Header20
Information related to the protocol management on a segment of the path from the ATM to the acquirer.
type HostToATMRequest1 ¶
type HostToATMRequest1 struct { Envt ATMEnvironment9 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 Envt"` CmdId ATMCommandIdentification1 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 CmdId,omitempty"` XpctdMsgFctn MessageFunction8Code `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 XpctdMsgFctn"` }
HostToATMRequest1
Information related to the request to an ATM to contact the ATM manager.
type HostToATMRequestV01 ¶
type HostToATMRequestV01 struct { Hdr Header20 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 Hdr"` PrtctdHstToATMReq ContentInformationType10 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 PrtctdHstToATMReq,omitempty"` HstToATMReq HostToATMRequest1 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 HstToATMReq,omitempty"` SctyTrlr ContentInformationType15 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 SctyTrlr,omitempty"` }
HostToATMRequestV01
The HostToATMRequest message is sent by a host to an ATM to request the ATM to contact a host by sending of a maintenance messages.
type ISODateTime ¶
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.007.001.01 Issr"` SrlNb Max35Binary `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.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.007.001.01 Vrsn,omitempty"` KEKId KEKIdentifier2 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 KEKId"` KeyNcrptnAlgo AlgorithmIdentification13 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 KeyNcrptnAlgo"` NcrptdKey Max500Binary `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.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.007.001.01 KeyId"` KeyVrsn Max140Text `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 KeyVrsn"` SeqNb float64 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 SeqNb,omitempty"` DerivtnId Min5Max16Binary `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.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.007.001.01 Vrsn,omitempty"` RcptId Recipient5Choice `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 RcptId"` KeyNcrptnAlgo AlgorithmIdentification11 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 KeyNcrptnAlgo"` NcrptdKey Max5000Binary `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.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 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 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 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 MessageFunction8Code ¶
type MessageFunction8Code string
May be one of BALN, GSTS, DSEC, INQC, KEYQ, SSTS
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.007.001.01 NcrptnFrmt,omitempty"` DgstAlgo Algorithm11Code `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 DgstAlgo,omitempty"` MskGnrtrAlgo AlgorithmIdentification12 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.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.007.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.007.001.01 NcrptnFrmt,omitempty"` InitlstnVctr Max500Binary `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 InitlstnVctr,omitempty"` BPddg BytePadding1Code `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.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.007.001.01 InitlstnVctr,omitempty"` BPddg BytePadding1Code `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.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.007.001.01 KeyTrnsprt,omitempty"` KEK KEK4 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 KEK,omitempty"` KeyIdr KEKIdentifier2 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.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.007.001.01 IssrAndSrlNb,omitempty"` KeyIdr KEKIdentifier2 `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.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.007.001.01 AttrTp"` AttrVal Max140Text `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.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.007.001.01 RlayId"` SeqNb Max35Text `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 SeqNb,omitempty"` TracDtTmIn ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 TracDtTmIn"` TracDtTmOut ISODateTime `xml:"urn:iso:std:iso:20022:tech:xsd:caam.007.001.01 TracDtTmOut"` }
Traceability4
Identification of partners involved in exchange from the ATM to the issuer, with the relative timestamp of their exchanges.