All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.keyple.calypso.transaction.SamCommandProcessor.class Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
????2t
@T	U	V
WX	Y
Z[\	]^
	T	_`
Zab
cd
e
f
ghij
klm
n
mho
p	qrstuv
w
xyizi{|
m}~
'
'?	????
??????
0T?
0?
0??
0?
/?
W?
??	?	?
?	?	???
?
?????	?
????
??	?i?	?	????
U?
U?
???
%??
?i??????
Z??
?????
`?i??
d??	??
??
fn
?
???
??
o???
rf
rh??
r?
?i??????
|?
W?i??
?f?
??
??
?
???
?
?
??
%?
???
??
??
??
??
???
??
???
?f
??
?
??loggerLorg/slf4j/Logger;
KIF_UNDEFINEDB
ConstantValue????CHALLENGE_LENGTH_REV_INF_32CHALLENGE_LENGTH_REV32SIGNATURE_LENGTH_REV_INF_32SIGNATURE_LENGTH_REV32samResource5Lorg/eclipse/keyple/core/card/selection/CardResource;	SignaturejLorg/eclipse/keyple/core/card/selection/CardResource;	samReader2Lorg/eclipse/keyple/core/card/message/ProxyReader;
poResourceiLorg/eclipse/keyple/core/card/selection/CardResource;poSecuritySettings;Lorg/eclipse/keyple/calypso/transaction/PoSecuritySettings;poDigestDataCacheLjava/util/List;Ljava/util/List<[B>;sessionEncryptionZverificationModeworkKeyRecordNumber
workKeyKif
workKeyKVCisDiversificationDoneisDigestInitDoneisDigesterInitializeds(Lorg/eclipse/keyple/core/card/selection/CardResource;Lorg/eclipse/keyple/calypso/transaction/PoSecuritySettings;)VCodeLineNumberTableLocalVariableTablethis;Lorg/eclipse/keyple/calypso/transaction/PoSecuritySettings;)VgetSessionTerminalChallenge()[BselectDiversifierALorg/eclipse/keyple/core/card/command/AbstractApduCommandBuilder;samCardResponse3Lorg/eclipse/keyple/core/card/message/CardResponse;eCLorg/eclipse/keyple/core/service/exception/KeypleReaderIOException;getChallengeRespParsPLorg/eclipse/keyple/calypso/command/sam/parser/security/SamGetChallengeRespPars;sessionTerminalChallenge[BapduRequestschallengeLengthgetChallengeCmdBuildBLorg/eclipse/keyple/calypso/command/sam/AbstractSamCommandBuilder;samApduResponsesnumberOfSamCmdIDLjava/util/List;?Lorg/eclipse/keyple/calypso/command/sam/AbstractSamCommandBuilder<+Lorg/eclipse/keyple/calypso/command/sam/AbstractSamResponseParser;>;ELjava/util/List;
StackMapTable?l?t?determineWorkKif?SessionSettingInnerClasses?AccessLevelU(BLorg/eclipse/keyple/calypso/transaction/PoTransaction$SessionSetting$AccessLevel;)BkifpoKifaccessLevelQLorg/eclipse/keyple/calypso/transaction/PoTransaction$SessionSetting$AccessLevel;initializeDigesterZ(Lorg/eclipse/keyple/calypso/transaction/PoTransaction$SessionSetting$AccessLevel;ZZBB[B)VpoKVC
digestDatapushPoExchangeDatah(Lorg/eclipse/keyple/core/card/message/ApduRequest;Lorg/eclipse/keyple/core/card/message/ApduResponse;)Vrequest2Lorg/eclipse/keyple/core/card/message/ApduRequest;response3Lorg/eclipse/keyple/core/card/message/ApduResponse;pushPoExchangeDataList$(Ljava/util/List;Ljava/util/List;I)Virequests	responses
startIndex?(Ljava/util/List;Ljava/util/List;I)VgetPendingSamCommands(Z)Ljava/util/List;addDigestClosesamCommands?Ljava/util/List;>;??(Z)Ljava/util/List;>;getTerminalSignaturesamCardRequest2Lorg/eclipse/keyple/core/card/message/CardRequest;digestCloseRespParsLLorg/eclipse/keyple/calypso/command/sam/parser/security/DigestCloseRespPars;sessionTerminalSignatureo?authenticatePoSignature([B)V
poSignatureLodigestAuthenticateCmdBuildTLorg/eclipse/keyple/calypso/command/sam/builder/security/DigestAuthenticateCmdBuild;samApduRequestsdigestAuthenticateRespParsSLorg/eclipse/keyple/calypso/command/sam/parser/security/DigestAuthenticateRespPars;?getApduRequests"(Ljava/util/List;)Ljava/util/List;commandBuilder??(Ljava/util/List;>;)Ljava/util/List;getCipheredPinData
([B[B[B)[BpinCipheringKey)Lorg/eclipse/keyple/calypso/KeyReference;poChallenge
currentPinnewPincardCipherPinCmdIndexcardCipherPinCmdBuildOLorg/eclipse/keyple/calypso/command/sam/builder/security/CardCipherPinCmdBuild;cardCipherPinResponsecardCipherPinRespParsNLorg/eclipse/keyple/calypso/command/sam/parser/security/CardCipherPinRespPars;?getSvComplementaryDataF(Lorg/eclipse/keyple/calypso/command/sam/AbstractSamCommandBuilder;)[BsvPrepareCmdBuildsvPrepareOperationCmdIndexsvPrepareResponsesvPrepareOperationRespParsSLorg/eclipse/keyple/calypso/command/sam/parser/security/SvPrepareOperationRespPars;samIdprepareOperationDataoperationComplementaryData?(Lorg/eclipse/keyple/calypso/command/sam/AbstractSamCommandBuilder<+Lorg/eclipse/keyple/calypso/command/sam/AbstractSamResponseParser;>;)[BgetSvReloadComplementaryDataT(Lorg/eclipse/keyple/calypso/command/po/builder/storedvalue/SvReloadCmdBuild;[B[B)[BsvReloadCmdBuildLLorg/eclipse/keyple/calypso/command/po/builder/storedvalue/SvReloadCmdBuild;svGetHeader	svGetDatasvPrepareLoadCmdBuildOLorg/eclipse/keyple/calypso/command/sam/builder/security/SvPrepareLoadCmdBuild;getSvDebitComplementaryDataS(Lorg/eclipse/keyple/calypso/command/po/builder/storedvalue/SvDebitCmdBuild;[B[B)[BsvDebitCmdBuildKLorg/eclipse/keyple/calypso/command/po/builder/storedvalue/SvDebitCmdBuild;svPrepareDebitCmdBuildPLorg/eclipse/keyple/calypso/command/sam/builder/security/SvPrepareDebitCmdBuild;getSvUndebitComplementaryDataU(Lorg/eclipse/keyple/calypso/command/po/builder/storedvalue/SvUndebitCmdBuild;[B[B)[BsvUndebitCmdBuildMLorg/eclipse/keyple/calypso/command/po/builder/storedvalue/SvUndebitCmdBuild;svPrepareUndebitCmdBuildRLorg/eclipse/keyple/calypso/command/sam/builder/security/SvPrepareUndebitCmdBuild;
checkSvStatussvOperationResponseDatasvCheckCmdBuilderILorg/eclipse/keyple/calypso/command/sam/builder/security/SvCheckCmdBuild;svCheckResponsesvCheckRespParsHLorg/eclipse/keyple/calypso/command/sam/parser/security/SvCheckRespPars;()V
SourceFileSamCommandProcessor.java?Q??????????0org/eclipse/keyple/core/card/message/ProxyReader??java/util/ArrayList??Qorg/eclipse/keyple/calypso/command/sam/builder/security/SelectDiversifierCmdBuild1org/eclipse/keyple/calypso/transaction/CalypsoSam0org/eclipse/keyple/calypso/transaction/CalypsoPo??	
?
:org/eclipse/keyple/calypso/transaction/SamCommandProcessorOorg/eclipse/keyple/calypso/command/sam/builder/security/SamGetChallengeCmdBuild?0org/eclipse/keyple/core/card/message/CardRequest?Aorg/eclipse/keyple/core/service/exception/KeypleReaderIOExceptionForg/eclipse/keyple/calypso/transaction/exception/CalypsoSamIOException2SAM IO Exception while getting terminal challenge.??1org/eclipse/keyple/core/card/message/ApduResponseNorg/eclipse/keyple/calypso/command/sam/parser/security/SamGetChallengeRespParsQ ???!"&identification: TERMINALCHALLENGE = {}#$%&'Xorg/eclipse/keyple/calypso/transaction/exception/CalypsoDesynchronizedExchangesExceptionjava/lang/StringBuilder5The number of commands/responses does not match: cmd=()(*, resp=+,?-./012??????????\initialize: POREVISION = {}, SAMREVISION = {}, SESSIONENCRYPTION = {}, VERIFICATIONMODE = {}java/lang/Object34567&8Cinitialize: VERIFICATIONMODE = {}, REV32MODE = {} KEYRECNUMBER = {}??69-initialize: KIF = {}, KVC {}, DIGESTDATA = {}%02X:;<??=Q???? pushPoExchangeData: REQUEST = {}>'?@?ABC!pushPoExchangeData: RESPONSE = {}0org/eclipse/keyple/core/card/message/ApduRequest??D&getSamDigestRequest: no data in cache.&-java/lang/IllegalStateExceptionDigest data cache is empty.>getSamDigestRequest: wrong number of buffer in cache NBR = {}.E6F"Digest data cache is inconsistent.Jorg/eclipse/keyple/calypso/command/sam/builder/security/DigestInitCmdBuild?GHLorg/eclipse/keyple/calypso/command/sam/builder/security/DigestUpdateCmdBuild?IKorg/eclipse/keyple/calypso/command/sam/builder/security/DigestCloseCmdBuildJKLM?0SAM IO Exception while transmitting digest data.@org/eclipse/keyple/calypso/command/sam/AbstractSamCommandBuilderNJorg/eclipse/keyple/calypso/command/sam/parser/security/DigestCloseRespParsO?SIGNATURE = {}Rorg/eclipse/keyple/calypso/command/sam/builder/security/DigestAuthenticateCmdBuild?SAM IO Exception while transmitting digest authentication data.+No response to Digest Authenticate command.PQRS?TUV'org/eclipse/keyple/calypso/KeyReference?WXYZ[Jorg/eclipse/keyple/calypso/command/sam/builder/security/GiveRandomCmdBuildMorg/eclipse/keyple/calypso/command/sam/builder/security/CardCipherPinCmdBuild?\]^_?Qorg/eclipse/keyple/calypso/command/sam/parser/security/SvPrepareOperationRespPars`?abc?defMorg/eclipse/keyple/calypso/command/sam/builder/security/SvPrepareLoadCmdBuildgh??i*+Norg/eclipse/keyple/calypso/command/sam/builder/security/SvPrepareDebitCmdBuildjk?Porg/eclipse/keyple/calypso/command/sam/builder/security/SvPrepareUndebitCmdBuildlm?Gorg/eclipse/keyple/calypso/command/sam/builder/security/SvCheckCmdBuildnopqrjava/util/List1org/eclipse/keyple/core/card/message/CardResponsesCorg/eclipse/keyple/calypso/transaction/PoTransaction$SessionSettingOorg/eclipse/keyple/calypso/transaction/PoTransaction$SessionSetting$AccessLevel2org/eclipse/keyple/calypso/command/sam/SamRevisionjava/util/Iterator9org/eclipse/keyple/calypso/transaction/PoSecuritySettingsgetSamResource7()Lorg/eclipse/keyple/core/card/selection/CardResource;3org/eclipse/keyple/core/card/selection/CardResource	getReader*()Lorg/eclipse/keyple/core/service/Reader;getSmartCard<()Lorg/eclipse/keyple/core/card/selection/AbstractSmartCard;getSamRevision6()Lorg/eclipse/keyple/calypso/command/sam/SamRevision;getApplicationSerialNumberBytes9(Lorg/eclipse/keyple/calypso/command/sam/SamRevision;[B)V?org/eclipse/keyple/core/card/command/AbstractApduCommandBuildergetApduRequest4()Lorg/eclipse/keyple/core/card/message/ApduRequest;add(Ljava/lang/Object;)Z"isConfidentialSessionModeSupported()Z8(Lorg/eclipse/keyple/calypso/command/sam/SamRevision;B)V(Ljava/util/List;)V3org/eclipse/keyple/core/card/message/ChannelControl	KEEP_OPEN5Lorg/eclipse/keyple/core/card/message/ChannelControl;transmitCardRequest?(Lorg/eclipse/keyple/core/card/message/CardRequest;Lorg/eclipse/keyple/core/card/message/ChannelControl;)Lorg/eclipse/keyple/core/card/message/CardResponse;*(Ljava/lang/String;Ljava/lang/Throwable;)VgetApduResponses()Ljava/util/List;size()Iget(I)Ljava/lang/Object;createResponseParserw(Lorg/eclipse/keyple/core/card/message/ApduResponse;)Lorg/eclipse/keyple/calypso/command/sam/AbstractSamResponseParser;checkStatusgetChallengeorg/slf4j/LoggerisDebugEnabled*org/eclipse/keyple/core/util/ByteArrayUtiltoHex([B)Ljava/lang/String;debug'(Ljava/lang/String;Ljava/lang/Object;)Vappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;(I)Ljava/lang/StringBuilder;toString()Ljava/lang/String;(Ljava/lang/String;)VgetSessionDefaultKifc(Lorg/eclipse/keyple/calypso/transaction/PoTransaction$SessionSetting$AccessLevel;)Ljava/lang/Byte;java/lang/Byte	byteValue()BgetRevision4()Lorg/eclipse/keyple/calypso/command/po/PoRevision;java/lang/BooleanvalueOf(Z)Ljava/lang/Boolean;((Ljava/lang/String;[Ljava/lang/Object;)V(B)Ljava/lang/Byte;java/lang/Stringformat9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;cleartraceisCase4getBytesjava/util/ArrayscopyOfRange([BII)[BisEmptyjava/lang/Integer(I)Ljava/lang/Integer;>(Lorg/eclipse/keyple/calypso/command/sam/SamRevision;ZZBBB[B)Vremove:(Lorg/eclipse/keyple/calypso/command/sam/SamRevision;Z[B)V0org/eclipse/keyple/calypso/command/po/PoRevisionREV3_22Lorg/eclipse/keyple/calypso/command/po/PoRevision;equals@org/eclipse/keyple/calypso/command/sam/AbstractSamResponseParsergetSignature?(Lorg/eclipse/keyple/core/card/message/ApduResponse;)Lorg/eclipse/keyple/calypso/command/sam/parser/security/DigestAuthenticateRespPars;Qorg/eclipse/keyple/calypso/command/sam/parser/security/DigestAuthenticateRespParsiterator()Ljava/util/Iterator;hasNextnext()Ljava/lang/Object;(BB)VgetDefaultPinCipheringKey+()Lorg/eclipse/keyple/calypso/KeyReference;addAll(Ljava/util/Collection;)Zd(Lorg/eclipse/keyple/calypso/command/sam/SamRevision;Lorg/eclipse/keyple/calypso/KeyReference;[B[B)V?(Lorg/eclipse/keyple/core/card/message/ApduResponse;)Lorg/eclipse/keyple/calypso/command/sam/parser/security/CardCipherPinRespPars;Lorg/eclipse/keyple/calypso/command/sam/parser/security/CardCipherPinRespParsgetCipheredDatagetSerialNumbergetApduResponse5()Lorg/eclipse/keyple/core/card/message/ApduResponse;
getDataOutjava/lang/System	arraycopy*(Ljava/lang/Object;ILjava/lang/Object;II)VJorg/eclipse/keyple/calypso/command/po/builder/storedvalue/SvReloadCmdBuildgetSvReloadData=(Lorg/eclipse/keyple/calypso/command/sam/SamRevision;[B[B[B)VIorg/eclipse/keyple/calypso/command/po/builder/storedvalue/SvDebitCmdBuildgetSvDebitDataKorg/eclipse/keyple/calypso/command/po/builder/storedvalue/SvUndebitCmdBuildgetSvUndebitData}(Lorg/eclipse/keyple/core/card/message/ApduResponse;)Lorg/eclipse/keyple/calypso/command/sam/parser/security/SvCheckRespPars;Forg/eclipse/keyple/calypso/command/sam/parser/security/SvCheckRespParsorg/slf4j/LoggerFactory	getLogger%(Ljava/lang/Class;)Lorg/slf4j/Logger;4org/eclipse/keyple/calypso/transaction/PoTransaction @??????????????????????????????????????????????????????????%*?*+?*,?*,??**??????_`	abc$d? %??%??%???%????????	)?	Y?
L*??5?Y*??
??*??
???M+,??W*?*??
????=?Y*??
???N+-??W*??Y+???:?:?Y ?!??":+?#6?#?C-d?$?%?&?':?(?):?*?+??*,?-?.?.?/Y?0Y?12?3?45?3?#?4?6?7??y???? x{}$?1?<?A?E?X?`?n?y????????????????????????????????????&???
1?????????&?????)??!??X???n???????????&???z??? !??n????????c?A?@?:?????
??W?a???????*?????a?????*?,?8?9>?>???????4????????????????
?*?:*?;**+??*?+???*??@Y*??
??ASY*??
??SY?BSY?BS?C?*D?@Y?BSY*??
???BSY*?E?FS?C?*G?@YH?@Y?FS?ISYH?@Y?FS?ISY?-S?C?J?K?J?W*?L*?M??j??
???&?5?E?R?Y?]?b?n?x????????????????????	?H????????????????????????????S?*N+?O+?P??J+?Q+?Q?d?R?W??J+?Q?W?*S,?O?J,?T?W??&	$-:E"R#? S??S??S???-????/6+?#?#*+?$?U,?$?%?V???ر?02(0.4?4+??/??/??/??/???/??/???	??*????U8?	Y?
M?J?W??*X?Y?ZY[?\?*?L?/?J?#p?"?*]?J?#?^?.?ZY_?\?*?L?V,?`Y*??
??*?;*??
??*?E*?=*?>?J?$?a?b?W?J?cW*?L>?J?#?4,?dY*??
??*?:?J?$?a?e?W???ƲJ?K?:,?fY*??
??*??
??A?g?h???i?W,??zHLMN'Q;SCUKSPVZYa^j`{b?f?^?g?i?m?n?p?r?n?m?v?x?z|}0z6??*?=??8??8?0??0?I?'?2?Y???}:?*??~:*??1?Y*??
??*??
????W*?*?M?*?j?W??Y*??
??+???W?#6??Y*??
??,-??:?W?Y*?k?:*???:		?"?$?%:

??:??????r
	$-4>KW]bi!v$?%?$?'?)?+?-?0?3?4?6?7?:?;?=????
!?? ?!?"?	??-??h#??N$%?5?%??	?&?
?'(?	???$??)4*+??ݻ	Y?
M*??0,?Y*??
??*??
????W*?*?M?,*?j?W,?#>,+?W?Y*,?k?:*???:?"?$?%:+?&??:??*??
???:????:	?	?`?:

???	
?	???
??fWZ\^%_1\7`<cCeOhVj^mlpuq|s~t?w?x?z?|?}????????p????,???V?-?lq|a???Q.??F/0?21??(2?	?3?
??,???	?<??456??#??Y*??
??,-+????:*?????????4#??#78#9?#:?;<=>??#??Y*??
??,-+????:*?????????4#??#?@#9?#:?ABCD??#??Y*??
??,-+????:*?????????4#??#EF#9?#:?GHI?b?	Y?
M??Y*??
??+??N,-?W?Y*,?k?:*???:?"?$?%:-??:????.????&?4?=?D?T?\?a??Rb??bJ?Z?DKL4.D??TM?\NO?ZPQ?/???*?	Y?
?J??
9ORS????	???@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy