sc_crypto_system_get_curve_oid()

Retrieve the string representation of the curve object identifier (OID).

Synopsis:

#include <smartcard/sc_crypto_system.h>
 
sc_response_code_t sc_crypto_system_get_curve_oid(const sc_crypto_system_t *crypto_system,                 
                                                  char *curve_oid,                 
                                                  size_t *curve_oid_length)

Since:

BlackBerry 10.3.1

Arguments:

crypto_system

The crypto system instance. Must not be NULL.

curve_oid

The output buffer where the curve OID is written. If NULL, only the length of the curve OID is returned.

curve_oid_length

On input, the length of the curve_oid buffer array. On output, the length of the curve OID. Must not be NULL.

Library:

libscs (For the qcc command, use the -l scs option to link against this library)

Description:

The OID should be a NULL-terminated string using the dot notation, for example, "1.3.132.0.35".

Returns:

SC_SCARD_S_SUCCESS upon success, an error code otherwise. See sc_response_code_t for error code definitions.

Last modified: 2014-09-30



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus