6 #ifndef SecRecoveryKey_h
7 #define SecRecoveryKey_h
9 #include <Security/Security.h>
12 @
class SecRecoveryKey
;
14 typedef struct __SecRecoveryKey SecRecoveryKey
;
18 SecRKRegisterBackupPublicKey(SecRecoveryKey
*rk
, CFErrorRef
*error
);
23 SecRKCreateRecoveryKey(NSString
*recoveryKey
);
26 SecRKCreateRecoveryKeyString(NSError
**error
);
29 SecRKCopyAccountRecoveryPassword(SecRecoveryKey
*rk
);
32 SecRKCopyBackupFullKey(SecRecoveryKey
*rk
);
35 SecRKCopyBackupPublicKey(SecRecoveryKey
*rk
);
40 SecRKCreateRecoveryKey(CFStringRef recoveryKey
);
43 SecRKCopyBackupFullKey(SecRecoveryKey
*rk
);
46 SecRKCopyBackupPublicKey(SecRecoveryKey
*rk
);