iphone Programming Glossary: peertag
Converting Raw RSA Key value to SecKeyRef Object for Encryption http://stackoverflow.com/questions/1536894/converting-raw-rsa-key-value-to-seckeyref-object-for-encryption peerName nil @ Peer name parameter is nil. LOGGING_FACILITY publicKey nil @ Public key parameter is nil. NSData peerTag NSData alloc initWithBytes const void peerName UTF8String length peerName length NSMutableDictionary peerPublicKeyAttr NSMutableDictionary.. id kSecClass peerPublicKeyAttr setObject id kSecAttrKeyTypeRSA forKey id kSecAttrKeyType peerPublicKeyAttr setObject peerTag forKey id kSecAttrApplicationTag peerPublicKeyAttr setObject publicKey forKey id kSecValueData peerPublicKeyAttr setObject..
iPhone RSA algorithm with modulus and exponent [duplicate] http://stackoverflow.com/questions/6665832/iphone-rsa-algorithm-with-modulus-and-exponent Or from the perspective of the low level API you can use SecItemAdd . NSString peerName @ Test Public Key NSData peerTag NSData alloc initWithBytes const void peerName UTF8String length peerName length NSMutableDictionary peerPublicKeyAttr NSMutableDictionary.. setObject __bridge id kSecAttrKeyTypeRSA forKey __bridge id kSecAttrKeyType peerPublicKeyAttr setObject peerTag forKey __bridge id kSecAttrApplicationTag peerPublicKeyAttr setObject testPubKey forKey __bridge id kSecValueData peerPublicKeyAttr..
NSDate / NSDateFormatter returning GMT on iPhone iOS 4.3 http://stackoverflow.com/questions/7199807/nsdate-nsdateformatter-returning-gmt-on-iphone-ios-4-3
RSA Encryption public key? http://stackoverflow.com/questions/7255991/rsa-encryption-public-key Or from the perspective of the low level API you can use SecItemAdd . NSString peerName @ Test Public Key NSData peerTag NSData alloc initWithBytes const void peerName UTF8String length peerName length NSMutableDictionary peerPublicKeyAttr NSMutableDictionary.. setObject __bridge id kSecAttrKeyTypeRSA forKey __bridge id kSecAttrKeyType peerPublicKeyAttr setObject peerTag forKey __bridge id kSecAttrApplicationTag peerPublicKeyAttr setObject testPubKey forKey __bridge id kSecValueData peerPublicKeyAttr..
|