...
| Bloc de code | ||||
|---|---|---|---|---|
| ||||
<bean id="desfireTagExample" class="org.esupportail.nfctag.beans.DesfireTag" p:formatBeforeWrite="true" p:keyStart="0000000000000000" p:keyTypeStart="DES">
<property name="applications">
<util:list>
<!-- nok=02 correspond 2 clefs (T)DES - longueur clef de 8 bytes correspond à du DES -->
<bean class="org.esupportail.nfctag.beans.DesfireApplication"
p:desfireAppId="F12340" p:amks="0B" p:nok="02">
<property name="files">
<util:list>
<bean class="org.esupportail.nfctag.beans.DesfireFile"
p:fileNumber="00" p:communicationSettings="03" p:accessRights="1111" p:tagWriteApi-ref="idp2sTagWriteEsupSgc"/>
</util:list>
</property>
<property name="keys">
<util:list>
<bean class="org.esupportail.nfctag.beans.DesfireKey"
p:keyNo="00" p:keyVer="01" p:key="1000000000000000"/>
<bean class="org.esupportail.nfctag.beans.DesfireKey"
p:keyNo="01" p:keyVer="01" p:key="1000000000000000"/>
</util:list>
</property>
</bean>
<!-- nok=02 correspond 2 clefs (T)DES - longueur clef de 16 bytes correspond à du TDES -->
<bean class="org.esupportail.nfctag.beans.DesfireApplication"
p:desfireAppId="F12341" p:amks="0B" p:nok="02">
<property name="files">
<util:list>
<bean class="org.esupportail.nfctag.beans.DesfireFile"
p:fileNumber="00" p:communicationSettings="03" p:accessRights="1111" p:tagWriteApi-ref="idp2sTagWriteEsupSgc"/>
</util:list>
</property>
<property name="keys">
<util:list>
<bean class="org.esupportail.nfctag.beans.DesfireKey"
p:keyNo="00" p:keyVer="01" p:key="10000000000000000000000000000000"/>
<bean class="org.esupportail.nfctag.beans.DesfireKey"
p:keyNo="01" p:keyVer="01" p:key="10000000000000000000000000000000"/>
</util:list>
</property>
</bean>
<!-- nok=42 correspond 2 clefs TKTDES - longueur clef de 24 bytes -->
<bean class="org.esupportail.nfctag.beans.DesfireApplication"
p:desfireAppId="F12342" p:amks="0B" p:nok="42">
<property name="files">
<util:list>
<bean class="org.esupportail.nfctag.beans.DesfireFile"
p:fileNumber="00" p:communicationSettings="03" p:accessRights="1111" p:tagWriteApi-ref="idp2sTagWriteEsupSgc"/>
</util:list>
</property>
<property name="keys">
<util:list>
<bean class="org.esupportail.nfctag.beans.DesfireKey"
p:keyNo="00" p:keyVer="01" p:key="100000000000000000000000000000000000000000000000"/>
<bean class="org.esupportail.nfctag.beans.DesfireKey"
p:keyNo="01" p:keyVer="01" p:key="100000000000000000000000000000000000000000000000"/>
</util:list>
</property>
</bean>
<!-- nok=82 correspond 2 clefs AES - longueur clef de 16 bytes -->
<bean class="org.esupportail.nfctag.beans.DesfireApplication"
p:desfireAppId="F12343" p:amks="0B" p:nok="82">
<property name="files">
<util:list>
<bean class="org.esupportail.nfctag.beans.DesfireFile"
p:fileNumber="00" p:communicationSettings="03" p:accessRights="1111" p:tagWriteApi-ref="idp2sTagWriteEsupSgc"/>
</util:list>
</property>
<property name="keys">
<util:list>
<bean class="org.esupportail.nfctag.beans.DesfireKey"
p:keyNo="00" p:keyVer="01" p:key="10000000000000000000000000000000"/>
<bean class="org.esupportail.nfctag.beans.DesfireKey"
p:keyNo="01" p:keyVer="01" p:key="10000000000000000000000000000000"/>
</util:list>
</property>
</bean>
</util:list>
</property>
</bean>
|
...