Hi. I'm working on a security related swift application, and I need som info from certificates stored in SecIdentities. Although I can access to SecCertificate to extract some info (serialnumber, common name, subject name) y can't find any example of function (or OSX API documentation) for other data extraction, like validity date (from/until), DER encoded public key, certificate usage policies, etc.I'm using Xcode 8.2.1 (Swift 3.0.2).Thank you in advance.
Post not yet marked as solved
Hi all,I'm working on a swift 3.1 (XCode 8.2/El Capitan) application that will "listen" on a port for incomming socket client connections. Where could I find some docs that describe the API and how to use it? I know how to do it in C or Java, if it helps.Thank you in advance.
Hi,Exists a native function for message timestamping (RFC3161) in Swift 3 (OSX 10.11+)? I could not find any, but maybe I was searching in wrong docs.Thank you in advance.
Hi,Is there a "native" swift method/class to compute digest (sha1, sha2, etc.) and digital signatures?I know there are some CommonCrypto functions (like mentioned in https://forums.developer.apple.com/message/257577#257577 or https://forums.developer.apple.com/message/249331#249331) but I dont know if those are the better options in Swift (xcode 8.2.1, Swift 3)What about an example? I found SecDigestTransfromCreate, but documentation is not really helping me on how to use it.Thanks in advance.
Hi, I'm new to OSX/Mac/Swift world, and need some help to access system keychain certificates, just that for the moment.I'm reading dev site documentation but the examples are useless or confusing for what I want to do. I will apreciate any help or point to correct documentation, even I could translate Objective-C to Swift. Thank you in advance.