12. )in Da dc r)0
ta * gne d cha
Da nsi e
:( NS , (u nsign
c3 (u
ata 0x
ESD ar) xe2,
ch )0
dD
5 An ned char
MD sig d
(un signe
b, un
0x7 ( #include <Openssl/crypto.h>
= ar) x22,
h )0 #include <Openssl/evp.h>
] dc r
gne d cha
nsi e #include <Openssl/err.h>
, (u nsign
a8 (u #include <Openssl/x509.h>
t;
, Sal
x53 *)g
har
dc
si gne
( un
t= );
sal (gSalt
f
zeo ;
7 !");
=1 e8
db
PBEWithMD5AndDES
sh oul
{
8) ength
= tl
al
@"s
nil; tx;
erC
iph
Xc ult
s
ER _CT f res g];
PH e o lts; trin s];
rag esu F8S yte
sto R UT ta b C,
ted ar *m 0; ord nDa ES _CB
a
loc d ch sw *)[i ndD
n= pas ar
e
ign sults
Le =[ ch D5
A
Re o rd ned it hM
sw sig
tm Pas (un h]; beW
*c = t D_p
har ata leng (NI n);
st c *m
D ta set e
con h ar [inDa ; be_ saltL
p t,
dc = s() S5_ al
i gne taLen thm = PKC ns, s
uns Da ori o
t m alg ithm terati
ll_ or
in _a g i )); ),
add R *al Ctx w ord
ay_ O her ass
S SLe _ALG ( cip (cP
9 eof len
X50 siz , str ))
0, ord on
C tx, s sw irecti
her ); cPa ,d
(& cip ) rC tx) m, rCtx) pt
ULL th
set phe ori ciphe cry
me
m =N (ci alg ( nd
e
m! n it(& -> er, & ro
rith X_i thm et ina
to
lgo CT ori aram
if (
a ER_ (alg p 1); x); ter
m
PH Init m-> tx, rCt null
{ _CI her th erC phe r
EVP _Cip lgori ciph &ci s 1 fo );
e( lu
PBE a g(& siz p en
VP_ din ck_ ; // allocL
if (
E pad lo 1
X_b ze + alloc(
_s et_ CT Si
TX ER_ lock SSL_m
R_C PH
{ PH
E _CI + b PEN
_CI EVP taLen ar *)O Len
))
E VP =
Da ch n
ize ; s, i
18. • git://github.com/xslim/mobileDeviceManager.git
• http://habrahabr.ru/blogs/macosxdev/113074/
1. Поиск приложения по его идентификатору (необходим
приложению для определения местоположения приложения
и его директорий).
2. Отображение списка всех установленных приложений.
3. Просмотр списка директорий.
4. Просмотр содержания директорий.
5. Копирование файлов с/на устройство.
6. Определение подключено/отключено устройство.
7. Просмотр папки Media и все вложенных в нее папок и
фалов, и некоторые другие.