#import <MumbleKit/MKCertificate.h>
|
(NSData *) | - publicKey |
|
(NSData *) | - privateKey |
|
MKRSAKeyPair implements generation of RSA key pairs.
Generate a new RSA keypair with bits key size. If a delegate is provided, the key generation will be performed asynchronously on a distinct dispatch queue. If no delegate is provided, the key generation is performed in the context in which the method is called.
- Parameters
-
bits | The size of the generated keys specified in bits. |
delegate | The delegate the MKRSAKeyPair should call its rsaKeyPairDidFinishGenerating: method on. If no delegate is specified, this method will block the thread it is run in while generating. If a delegate is specified, it will perform its key generation in a separate dispatch queue, and call the delegate on the main thread. |
- Returns
- A MKRSAKeyPair with a private and a public RSA key of bits length.
The documentation for this class was generated from the following file:
- /Users/mkrautz/Documents/mumble-iphoneos/MumbleKit/src/MumbleKit/MKCertificate.h