security - MonoTouch - How do you use SecKeyChain.QueryAsRecord() to get a list of certificates? -
i emailed ipad .p12 certificate , installed in settings under settings->profiles->configuration profiles.
i tried using following code array of certificates on ipad:
secrecord myquery = new secrecord(seckind.identity); secstatuscode resultcode; secrecord[] arrayrecords = seckeychain.queryasrecord(myquery, 10, out resultcode);
the resultcode set itemnotfound when returning queryasrecord(). tried creating myquery as:
secrecord myquery = new secrecord(seckind.certificate);
but caused resultcode set itemnotfound.
how use seckeychain.queryasrecord() list of installed certificates?
the keychain not useful think is. keychain gives access certificates manually added, wont give access system ones.
or @ least, have never found way of doing , googling few months ago turned out no answers problem.
Comments
Post a Comment