     }
 }
 
-public enum Status : OSStatus, ErrorProtocol {
+public enum Status : OSStatus, Error {
     case success                            = 0
     case unimplemented                      = -4
     case diskFull                           = -34

    
    public var rawValue: String {
        switch self {
        case ntlm:
            return String(kSecAttrAuthenticationTypeNTLM)
        case msn:
            return String(kSecAttrAuthenticationTypeMSN)
        case dpa:
            return String(kSecAttrAuthenticationTypeDPA)
        case rpa:
            return String(kSecAttrAuthenticationTypeRPA)
        case httpBasic:
            return String(kSecAttrAuthenticationTypeHTTPBasic)
        case httpDigest:
            return String(kSecAttrAuthenticationTypeHTTPDigest)
        case htmlForm:
            return String(kSecAttrAuthenticationTypeHTMLForm)
        default:
            return String(kSecAttrAuthenticationTypeDefault)

    public init?(rawValue: String) {
        switch rawValue {
        case String(kSecAttrAuthenticationTypeNTLM):
            self = .ntlm
        case String(kSecAttrAuthenticationTypeMSN):
            self = .msn
        case String(kSecAttrAuthenticationTypeDPA):
            self = .dpa
        case String(kSecAttrAuthenticationTypeRPA):
            self = .rpa
        case String(kSecAttrAuthenticationTypeHTTPBasic):
            self = .httpBasic
        case String(kSecAttrAuthenticationTypeHTTPDigest):
            self = .httpDigest
        case String(kSecAttrAuthenticationTypeHTMLForm):
            self = .htmlForm
        case String(kSecAttrAuthenticationTypeDefault):
            self = .`default`
        default:
            return nil
        }
