• Jakub Jelen's avatar
    cac, cac-aca: Implement other undocumented encoding for extended properties · d73b64d8
    Jakub Jelen authored
     * These modifiers nor format is not documented anywhere, but ActivClient
       expects them and cards happily answer them
     * This is a kind of more compressed form of other ACA buffers, but it is
       extended with some additional values of unknown meaning.
     * This is somehow consistent with the standard GET ACR parameters, but if
       P1 | 0x40 is set, the response should come in this new format.
     * This affects also GET PROPERTIES APDU, where we get also other bunch of
       TLVs in case of this bit is set.
    Signed-off-by: default avatarJakub Jelen <jjelen@redhat.com>
    Reviewed-by: default avatarRobert Relyea <rrelyea@redhat.com>
    Message-Id: <20180802094407.4104-29-jjelen@redhat.com>
    d73b64d8
cac-aca.h 987 Bytes