11.12.3.4.100. Function Se05x_API_ImportObject¶
Defined in File se05x_APDU_apis.h
11.12.3.4.100.1. Function Documentation¶
-
smStatus_t
Se05x_API_ImportObject
(pSe05xSession_t session_ctx, uint32_t objectID, SE05x_RSAKeyComponent_t rsaKeyComp, const uint8_t *serializedObject, size_t serializedObjectLen)¶ Se05x_API_ImportObject
Writes a serialized Secure Object to the SE05X (i.e., “import”)
Command to Applet
Field
Value
Description
P1
P1_DEFAULT
See
SE05x_P1_t
P2
P2_IMPORT
See
SE05x_P2_t
Payload
TLV[TAG_1]
4-byte identifier.
TLV[TAG_2]
1-byte
SE05x_RSAKeyComponent_t
[Conditional: only when the identifier refers to an RSAKey object]TLV[TAG_3]
Serialized object (encrypted).
R-APDU Body
NA
R-APDU Trailer
- Parameters
[in] session_ctx
: Session Context [0:kSE05x_pSession][in] objectID
: object id [1:kSE05x_TAG_1][in] rsaKeyComp
: rsaKeyComp [2:kSE05x_TAG_2][in] serializedObject
: serializedObject [3:kSE05x_TAG_3][in] serializedObjectLen
: Length of serializedObject