/usr/share/doc/neard/secureelement-api.txt is in neard-dev 0.16-0.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 | Secure Element hierarchy
========================
Service org.neard.se
Interface org.neard.se.SecureElement
Object path [variable prefix]/{se0,se1,...}
Methods: dict GetProperties()
Returns all properties for the secure element. See the
properties section for available properties.
Possible Errors: org.seeld.Error.DoesNotExist
void SetProperty(string name, variant value)
Changes the value of the specified property. Only
properties that are listed a read-write are changeable.
On success this will emit a PropertyChanged signal.
Possible Errors: org.seeld.Error.DoesNotExist
org.seeld.Error.InvalidArguments
object OpenChannel(array{byte} AID)
Open an ISO7816 logical channel to the secure element.
The AID (Application ID) array must be between 5 and 16
bytes long.
The returned path is a Channel object path.
Possible errors: org.seeld.Error.Failed
org.seeld.Error.InvalidArguments
org.seeld.Error.PermissionDenied
org.seeld.Error.NotSupported
void CloseChannel(object channel)
Close an ISO7816 channel, passed as an object path
argument.
Possible errors: org.seeld.Error.Failed
org.seeld.Error.InvalidArguments
org.seeld.Error.PermissionDenied
org.seeld.Error.NotSupported
Signals PropertyChanged(string name, variant value)
This signal indicates a changed value of the given
property.
Properties string Type [readonly]
The secure element type.
Possible values are "Embedded", "UICC" or "ASSD".
boolean Enabled [readwrite]
Enable a secure element.
This will e.g. enable the SWP link for a UICC
based secure element.
array{object} Channels [readonly]
The opened channels object paths for this secure element.
Channel hierarchy
=================
Service org.neard.se
Interface org.neard.se.Channel
Object path [variable prefix]/{se0}/{channel0,channel1,...}
Methods: dict GetProperties()
Returns all properties for the secure element. See the
properties section for available properties.
Possible Errors: org.seeld.Error.DoesNotExist
array{byte} SendAPDU(array{byte})
Send an ISO7816 APDU over this channel.
This is an asynchronous method and the returned array
is the response to the ISO7816 command.
Possible errors: org.seeld.Error.Failed
org.seeld.Error.PermissionDenied
org.seeld.Error.NotSupported
Properties boolean Basic [readonly]
Indicates if the channel is a basic one or not.
array{byte} AID
Associated Application ID.
|