FRAIdentityDatabaseSQLiteOperations.m revision 465ea459a87d4605e145d8f45b6a9c104b696e3b
0N/A * You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
0N/A * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
0N/A- (BOOL)performStatement:(NSString *)schema withValues:(NSArray *)values error:(NSError * __autoreleasing *)error {
0N/A NSString *digitsString = [[NSNumber numberWithUnsignedInteger:oathMechanism.digits] stringValue];
0N/A NSString *periodString = [[NSNumber numberWithUnsignedInteger:oathMechanism.period] stringValue];
0N/A NSString *counterString = [[NSNumber numberWithUnsignedLongLong:oathMechanism.counter] stringValue];
0N/A [options setObject:[FRASerialization nonNilString:counterString] forKey:OATH_MECHANISM_COUNTER];
0N/A [options setObject:[FRASerialization nonNilString:pushMechanism.secret] forKey:PUSH_MECHANISM_SECRET];
0N/A [options setObject:[FRASerialization nonNilString:pushMechanism.authEndpoint] forKey:PUSH_MECHANISM_AUTH_END_POINT];
0N/A [options setObject:[FRASerialization nonNilString:versionString] forKey:PUSH_MECHANISM_VERSION];
0N/A- (BOOL)insertNotification:(FRANotification *)notification error:(NSError *__autoreleasing *)error {
0N/A @throw [[NSException alloc] initWithName:@"Illegal State" reason:@"Unrecognised class of Mechanism" userInfo:nil];
0N/A- (BOOL)deleteNotification:(FRANotification *)notification error:(NSError *__autoreleasing *)error {
0N/A @throw [[NSException alloc] initWithName:@"Illegal State" reason:@"Unrecognised class of Mechanism" userInfo:nil];