             return -67878
         case InvalidModifyMode:
             return -67879
-        case UnknownError:
+        default:
             return -99999
         }
     }

            if let data = result as NSData? {
                return FailableOf(data)
            }
            return FailableOf(securityError(status: Status.UnknownError.rawValue))
        case errSecItemNotFound:
            return FailableOf(nil)
        default: ()

}

extension AuthenticationType : RawRepresentable, Printable {
    
    public init?(rawValue: String) {
        switch rawValue {
        case kSecAttrAuthenticationTypeNTLM:
            self = NTLM
        case kSecAttrAuthenticationTypeMSN:
            self = MSN
        case kSecAttrAuthenticationTypeDPA:
            self = DPA
        case kSecAttrAuthenticationTypeRPA:
            self = RPA
        case kSecAttrAuthenticationTypeHTTPBasic:
            self = HTTPBasic
        case kSecAttrAuthenticationTypeHTTPDigest:
            self = HTTPDigest
        case kSecAttrAuthenticationTypeHTMLForm:
            self = HTMLForm
        case kSecAttrAuthenticationTypeDefault:
            self = Default
        default:
            return nil
        }
    }
