Cryptographic algorithm types.
Synopsis:
#include <smartcard/sc_data_types.h>
typedef enum
SC_CRYPTO_ALGORITHM_NONE = 0
SC_CRYPTO_ALGORITHM_RSA = 1
SC_CRYPTO_ALGORITHM_RSA_UNPADDED = 2
SC_CRYPTO_ALGORITHM_DSA = 3
SC_CRYPTO_ALGORITHM_ECDSA = 4
SC_CRYPTO_ALGORITHM_ECGDSA = 5
} sc_crypto_algorithm_t;
Data:
- SC_CRYPTO_ALGORITHM_NONE
- Cryptographic algorithm is not specified or not known.
- SC_CRYPTO_ALGORITHM_RSA
- Raw RSA cryptographic algorithm.
The algorithm only performs key exponentiation; no padding is added or removed. Padded input is expected. Padding should be added by the caller.
- SC_CRYPTO_ALGORITHM_RSA_UNPADDED
- Unpadded RSA cryptographic algorithm.
The algorithm adds padding and performs key exponentiation. Unpadded input is expected. Padding will be added by the smart card driver, or the smart card.
Since: BlackBerry 10.3.0
- SC_CRYPTO_ALGORITHM_DSA
- DSA cryptographic algorithm.
Since: BlackBerry 10.3.0
- SC_CRYPTO_ALGORITHM_ECDSA
- ECDSA cryptographic algorithm.
Since: BlackBerry 10.3.0
- SC_CRYPTO_ALGORITHM_ECGDSA
- ECGDSA cryptographic algorithm.
Since: BlackBerry 10.3.0
Library:
libscs (For the qcc command, use the -l scs option to link against this library)