iOS - retrieve all installed certificates in iPhone programmatically

I need to get the list of all installed certificates in iPhone. I see several similar SO questions but couldn't find an appropriate answer whether it is possible or not, whether Apple allows or disallows to do such things. So, any help would be highly appreciated. Thanks in advance.


And, please if someone knows it's possible please share some example code for iOS for achieving this. Thanks.