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 |
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 |
} |
} |
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; |