Posts

Post marked as solved
4 Replies
181 Views
Hi, I'm trying to validate certificate that I know has two problems: Too long expiration date Hostname mismatch I'm ok with those problems so when they occurs I want to accept this certificate as valid. When using: success = SecTrustEvaluateWithError(trust, &error) let dictionary = SecTrustCopyResult(trust) this dictionary contains validation failure reasons under key "TrustResultDetails" - key : SSLHostname - value : 0 - key : ValidityPeriodMaximums - value : 0 but none of those keys are documented and not really sutable for production code? My question is how to know validation failure reasons or how to change validation method to pass validation when those problems occurs? Thanks :)
Posted
by MuniekMg.
Last updated
.
Post not yet marked as solved
0 Replies
571 Views
Hi,I use:scaleTimeRange(_:toDuration:)to slow down or speed up some fragments of video recorded by iPhone but when I slow down normal 30/60pfs video to make it "slowmotion"it becomes to be slow as I wanted but olso poor in frames, so I need to slow down viedo recorded in 120/240fps, but when I try to use scaleTimeRange, nothing happends, eg. I want to speep up 240fps video by 4 times to achieve normal speed.Thanks! 🙂
Posted
by MuniekMg.
Last updated
.
Post marked as solved
6 Replies
4.2k Views
Hi,Why this piece of code works?let queue = DispatchQueue(label: "queue_label", attributes: .concurrent) queue.sync { queue.sync { print("wokrs!") } }shouldn't be a deadlock here?Or maybe "attributes: .concurrent" makes .sync and .async always be an "async"?Thanks! 🙂
Posted
by MuniekMg.
Last updated
.
Post not yet marked as solved
2 Replies
934 Views
Hi,Our iOS application generate CSR and send it to the server, server then generate client certificate based on CSR and send it back, application then store it in a keychain.The problem is when we try to store second certificate (different csr), system return us an error saying than this certificate already exists in a keychain which is not true.So my question is, what iOS compere to decide if one certificate is the same as the other?Thanks,Tomasz Trela
Posted
by MuniekMg.
Last updated
.