/[openpgpmdrv]/trunk/OpenPGPminidriver/CardAndContainerProperties.c
ViewVC logotype

Diff of /trunk/OpenPGPminidriver/CardAndContainerProperties.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 10 by vletoux, Mon Mar 15 18:23:17 2010 UTC revision 11 by vletoux, Thu Mar 18 16:03:39 2010 UTC
# Line 64  DWORD WINAPI CardQueryCapabilities( Line 64  DWORD WINAPI CardQueryCapabilities(
64                  }                  }
65                  pContext = (POPENPGP_CONTEXT) pCardData->pvVendorSpecific;                  pContext = (POPENPGP_CONTEXT) pCardData->pvVendorSpecific;
66                  pCardCapabilities->fKeyGen = !pContext->fIsReadOnly;                  pCardCapabilities->fKeyGen = !pContext->fIsReadOnly;
67                  pCardCapabilities->fCertificateCompression = FALSE;                              pCardCapabilities->fCertificateCompression = TRUE;              
68                  dwReturn = 0;                  dwReturn = 0;
69          }          }
70          __finally          __finally
# Line 464  DWORD WINAPI CardGetProperty( Line 464  DWORD WINAPI CardGetProperty(
464                          pPinSet = (PPIN_SET) pbData;                          pPinSet = (PPIN_SET) pbData;
465                          *pPinSet = CREATE_PIN_SET(ROLE_SIGNATURE);                          *pPinSet = CREATE_PIN_SET(ROLE_SIGNATURE);
466                          SET_PIN(*pPinSet, ROLE_AUTHENTICATION);                          SET_PIN(*pPinSet, ROLE_AUTHENTICATION);
                         SET_PIN(*pPinSet, ROLE_CONFIDENTIALITY);  
467                          SET_PIN(*pPinSet, ROLE_PUK);                          SET_PIN(*pPinSet, ROLE_PUK);
468                          SET_PIN(*pPinSet, ROLE_ADMIN);                          SET_PIN(*pPinSet, ROLE_ADMIN);
469                  }                  }
# Line 485  DWORD WINAPI CardGetProperty( Line 484  DWORD WINAPI CardGetProperty(
484                          {                          {
485                          case ROLE_SIGNATURE:                          case ROLE_SIGNATURE:
486                          case ROLE_AUTHENTICATION:                          case ROLE_AUTHENTICATION:
                         case ROLE_CONFIDENTIALITY:  
487                          case ROLE_ADMIN:                          case ROLE_ADMIN:
488                          case ROLE_PUK:                          case ROLE_PUK:
489                                  break;                                  break;

Legend:
Removed from v.10  
changed lines
  Added in v.11

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26