¡@

Home 

2014/10/15 ¤U¤È 10:10:47

iphone Programming Glossary: ksecclasskey

Iphone - How to encrypt NSData with public key and decrypt with private key?

http://stackoverflow.com/questions/10072124/iphone-how-to-encrypt-nsdata-with-public-key-and-decrypt-with-private-key

NSMutableDictionary alloc init Set the public key query dictionary. queryPublicKey setObject __bridge id kSecClassKey forKey __bridge id kSecClass queryPublicKey setObject publicTag forKey __bridge id kSecAttrApplicationTag queryPublicKey.. NSMutableDictionary alloc init Set the private key query dictionary. queryPrivateKey setObject __bridge id kSecClassKey forKey __bridge id kSecClass queryPrivateKey setObject privateTag forKey __bridge id kSecAttrApplicationTag queryPrivateKey..

RSA implementations in Objective C

http://stackoverflow.com/questions/10222524/rsa-implementations-in-objective-c

NSMutableDictionary alloc init Set the public key query dictionary. queryPublicKey setObject __bridge id kSecClassKey forKey __bridge id kSecClass queryPublicKey setObject publicTag forKey __bridge id kSecAttrApplicationTag queryPublicKey.. NSMutableDictionary alloc init Set the private key query dictionary. queryPrivateKey setObject __bridge id kSecClassKey forKey __bridge id kSecClass queryPrivateKey setObject privateTag forKey __bridge id kSecAttrApplicationTag queryPrivateKey..

Extracting a public key from key pair in key chain

http://stackoverflow.com/questions/11467215/extracting-a-public-key-from-key-pair-in-key-chain

NSUTF8StringEncoding Set the public key query dictionary. queryPublicKey setObject __bridge_transfer id kSecClassKey forKey __bridge_transfer id kSecClass queryPublicKey setObject publicTag forKey __bridge_transfer id kSecAttrApplicationTag..

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 length NSMutableDictionary peerPublicKeyAttr NSMutableDictionary alloc init peerPublicKeyAttr setObject id kSecClassKey forKey id kSecClass peerPublicKeyAttr setObject id kSecAttrKeyTypeRSA forKey id kSecAttrKeyType peerPublicKeyAttr setObject..

Saving SecKeyRef device generated public/private key pair on disk

http://stackoverflow.com/questions/5988735/saving-seckeyref-device-generated-public-private-key-pair-on-disk

queryPublicKey NSMutableDictionary alloc init Set the public key query dictionary. queryPublicKey setObject id kSecClassKey forKey id kSecClass queryPublicKey setObject publicTag forKey id kSecAttrApplicationTag queryPublicKey setObject id kSecAttrKeyTypeRSA..

iPhone RSA algorithm with modulus and exponent [duplicate]

http://stackoverflow.com/questions/6665832/iphone-rsa-algorithm-with-modulus-and-exponent

length NSMutableDictionary peerPublicKeyAttr NSMutableDictionary alloc init peerPublicKeyAttr setObject __bridge id kSecClassKey forKey __bridge id kSecClass peerPublicKeyAttr setObject __bridge id kSecAttrKeyTypeRSA forKey __bridge id kSecAttrKeyType..

RSA Encryption public key?

http://stackoverflow.com/questions/7255991/rsa-encryption-public-key

length NSMutableDictionary peerPublicKeyAttr NSMutableDictionary alloc init peerPublicKeyAttr setObject __bridge id kSecClassKey forKey __bridge id kSecClass peerPublicKeyAttr setObject __bridge id kSecAttrKeyTypeRSA forKey __bridge id kSecAttrKeyType..