File: enums.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.24.1-2~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 554,032 kB
  • sloc: java: 15,941; makefile: 419; sh: 175
file content (227 lines) | stat: -rw-r--r-- 7,559 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

type DukptDerivationType string

// Enum values for DukptDerivationType
const (
	DukptDerivationTypeTdes2key DukptDerivationType = "TDES_2KEY"
	DukptDerivationTypeTdes3key DukptDerivationType = "TDES_3KEY"
	DukptDerivationTypeAes128   DukptDerivationType = "AES_128"
	DukptDerivationTypeAes192   DukptDerivationType = "AES_192"
	DukptDerivationTypeAes256   DukptDerivationType = "AES_256"
)

// Values returns all known values for DukptDerivationType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (DukptDerivationType) Values() []DukptDerivationType {
	return []DukptDerivationType{
		"TDES_2KEY",
		"TDES_3KEY",
		"AES_128",
		"AES_192",
		"AES_256",
	}
}

type DukptEncryptionMode string

// Enum values for DukptEncryptionMode
const (
	DukptEncryptionModeEcb DukptEncryptionMode = "ECB"
	DukptEncryptionModeCbc DukptEncryptionMode = "CBC"
)

// Values returns all known values for DukptEncryptionMode. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (DukptEncryptionMode) Values() []DukptEncryptionMode {
	return []DukptEncryptionMode{
		"ECB",
		"CBC",
	}
}

type DukptKeyVariant string

// Enum values for DukptKeyVariant
const (
	DukptKeyVariantBidirectional DukptKeyVariant = "BIDIRECTIONAL"
	DukptKeyVariantRequest       DukptKeyVariant = "REQUEST"
	DukptKeyVariantResponse      DukptKeyVariant = "RESPONSE"
)

// Values returns all known values for DukptKeyVariant. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (DukptKeyVariant) Values() []DukptKeyVariant {
	return []DukptKeyVariant{
		"BIDIRECTIONAL",
		"REQUEST",
		"RESPONSE",
	}
}

type EncryptionMode string

// Enum values for EncryptionMode
const (
	EncryptionModeEcb    EncryptionMode = "ECB"
	EncryptionModeCbc    EncryptionMode = "CBC"
	EncryptionModeCfb    EncryptionMode = "CFB"
	EncryptionModeCfb1   EncryptionMode = "CFB1"
	EncryptionModeCfb8   EncryptionMode = "CFB8"
	EncryptionModeCfb64  EncryptionMode = "CFB64"
	EncryptionModeCfb128 EncryptionMode = "CFB128"
	EncryptionModeOfb    EncryptionMode = "OFB"
)

// Values returns all known values for EncryptionMode. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (EncryptionMode) Values() []EncryptionMode {
	return []EncryptionMode{
		"ECB",
		"CBC",
		"CFB",
		"CFB1",
		"CFB8",
		"CFB64",
		"CFB128",
		"OFB",
	}
}

type MacAlgorithm string

// Enum values for MacAlgorithm
const (
	MacAlgorithmIso9797Algorithm1 MacAlgorithm = "ISO9797_ALGORITHM1"
	MacAlgorithmIso9797Algorithm3 MacAlgorithm = "ISO9797_ALGORITHM3"
	MacAlgorithmCmac              MacAlgorithm = "CMAC"
	MacAlgorithmHmacSha224        MacAlgorithm = "HMAC_SHA224"
	MacAlgorithmHmacSha256        MacAlgorithm = "HMAC_SHA256"
	MacAlgorithmHmacSha384        MacAlgorithm = "HMAC_SHA384"
	MacAlgorithmHmacSha512        MacAlgorithm = "HMAC_SHA512"
)

// Values returns all known values for MacAlgorithm. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (MacAlgorithm) Values() []MacAlgorithm {
	return []MacAlgorithm{
		"ISO9797_ALGORITHM1",
		"ISO9797_ALGORITHM3",
		"CMAC",
		"HMAC_SHA224",
		"HMAC_SHA256",
		"HMAC_SHA384",
		"HMAC_SHA512",
	}
}

type MajorKeyDerivationMode string

// Enum values for MajorKeyDerivationMode
const (
	MajorKeyDerivationModeEmvOptionA MajorKeyDerivationMode = "EMV_OPTION_A"
	MajorKeyDerivationModeEmvOptionB MajorKeyDerivationMode = "EMV_OPTION_B"
)

// Values returns all known values for MajorKeyDerivationMode. Note that this can
// be expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (MajorKeyDerivationMode) Values() []MajorKeyDerivationMode {
	return []MajorKeyDerivationMode{
		"EMV_OPTION_A",
		"EMV_OPTION_B",
	}
}

type PaddingType string

// Enum values for PaddingType
const (
	PaddingTypePkcs1      PaddingType = "PKCS1"
	PaddingTypeOaepSha1   PaddingType = "OAEP_SHA1"
	PaddingTypeOaepSha256 PaddingType = "OAEP_SHA256"
	PaddingTypeOaepSha512 PaddingType = "OAEP_SHA512"
)

// Values returns all known values for PaddingType. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (PaddingType) Values() []PaddingType {
	return []PaddingType{
		"PKCS1",
		"OAEP_SHA1",
		"OAEP_SHA256",
		"OAEP_SHA512",
	}
}

type PinBlockFormatForPinData string

// Enum values for PinBlockFormatForPinData
const (
	PinBlockFormatForPinDataIsoFormat0 PinBlockFormatForPinData = "ISO_FORMAT_0"
	PinBlockFormatForPinDataIsoFormat3 PinBlockFormatForPinData = "ISO_FORMAT_3"
)

// Values returns all known values for PinBlockFormatForPinData. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
// The ordering of this slice is not guaranteed to be stable across updates.
func (PinBlockFormatForPinData) Values() []PinBlockFormatForPinData {
	return []PinBlockFormatForPinData{
		"ISO_FORMAT_0",
		"ISO_FORMAT_3",
	}
}

type SessionKeyDerivationMode string

// Enum values for SessionKeyDerivationMode
const (
	SessionKeyDerivationModeEmvCommonSessionKey  SessionKeyDerivationMode = "EMV_COMMON_SESSION_KEY"
	SessionKeyDerivationModeEmv2000              SessionKeyDerivationMode = "EMV2000"
	SessionKeyDerivationModeAmex                 SessionKeyDerivationMode = "AMEX"
	SessionKeyDerivationModeMastercardSessionKey SessionKeyDerivationMode = "MASTERCARD_SESSION_KEY"
	SessionKeyDerivationModeVisa                 SessionKeyDerivationMode = "VISA"
)

// Values returns all known values for SessionKeyDerivationMode. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
// The ordering of this slice is not guaranteed to be stable across updates.
func (SessionKeyDerivationMode) Values() []SessionKeyDerivationMode {
	return []SessionKeyDerivationMode{
		"EMV_COMMON_SESSION_KEY",
		"EMV2000",
		"AMEX",
		"MASTERCARD_SESSION_KEY",
		"VISA",
	}
}

type VerificationFailedReason string

// Enum values for VerificationFailedReason
const (
	VerificationFailedReasonInvalidMac                   VerificationFailedReason = "INVALID_MAC"
	VerificationFailedReasonInvalidPin                   VerificationFailedReason = "INVALID_PIN"
	VerificationFailedReasonInvalidValidationData        VerificationFailedReason = "INVALID_VALIDATION_DATA"
	VerificationFailedReasonInvalidAuthRequestCryptogram VerificationFailedReason = "INVALID_AUTH_REQUEST_CRYPTOGRAM"
)

// Values returns all known values for VerificationFailedReason. Note that this
// can be expanded in the future, and so it is only as up to date as the client.
// The ordering of this slice is not guaranteed to be stable across updates.
func (VerificationFailedReason) Values() []VerificationFailedReason {
	return []VerificationFailedReason{
		"INVALID_MAC",
		"INVALID_PIN",
		"INVALID_VALIDATION_DATA",
		"INVALID_AUTH_REQUEST_CRYPTOGRAM",
	}
}