Questions tagged [objective-c]

Objective-C is a reflective, object-oriented programming language that adds Smalltalk-style messaging to the C programming language.

Objective-C is used primarily on Apple's Mac OS X and iOS. It is the primary language used for Apple's Cocoa API and it was originally the main language on NeXT's NeXTSTEP operating system.

8 questions
10
votes
3 answers

Are there any established secure coding guidelines available for mobile devices?

I am looking for secure coding guidelines especially for mobile devices (Android and iOS). The languages I am interested in are Objective-C, JAVA and HTML5. Would it be a good approach to use a "classic" security framework like the ESAPI for JAVA?
Demento
  • 7,249
  • 5
  • 36
  • 45
5
votes
1 answer

How to encrypt data using the iOS secure element?

I would like to know if there's a way to encrypt/decrypt data using the iOS secure element chip (Java card). Or does the keychain already use it?
4
votes
2 answers

Mitigating SSL bypassing on iOS

I am trying to mitigate SSL bypassing on a jailbroken iOS. I am unable to find any good work around as Mobile Substrate and SSL kill switch are able to bypass SSL. I have tried two things: SSL Pinning Detect jailbreak and stop the application Both…
Mohsin Khan
  • 742
  • 1
  • 4
  • 9
3
votes
2 answers

Can I store a pair of keys on iOS secure element?

I would like to know if I can use the iPhone's secure element to store a pair of keys. I need to store them in the safest emplacement, and I can't think of a better one than the secure element.
2
votes
1 answer

Code analyzer for Objective C?

Has anyone come across a code analyzer that could be run on OS other than Mac to scan for Objective C (for iOS) code?
dorothy
  • 715
  • 1
  • 7
  • 18
2
votes
1 answer

How to Manage Public Key with Asymmetric Cryptography

I'm working on an iOS chat project using Firebase RealTime Database. I want to use asymmetric cryptography for the management of messages between two users .. Browsing the net I found an excellent library Themis and for security reasons, in the…
2
votes
1 answer

Which crypto-algorithem uses iOS in NSDataWritingFileProtection and what is the keysize?

I need to know the crypto algorithm and key strength of NSDataWritingFileProtection. I would like to know the same things for using the Keychain and NSFileManager. I searched the Apple Developer references: Security…
Seega
  • 123
  • 5
1
vote
2 answers

Is Objective C (really) affected by buffer overflows?

I'm trying to find a buffer overflow sample code in Objective-C but the only samples I found are written in C (without "bracket style"). I understand that Objective-C is based on C, but are there any chance of getting buffer overflows (or any kind…
John Kravicz
  • 142
  • 7