SwiftstructMessage

struct IMAP2Connection.Authentication.NTLM

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 4

  1. fieldlet credential: IMAP2Connection.Authentication.NTLM.Credential+0x8
  2. fieldlet mode: IMAP2Connection.Authentication.NTLM.Mode+0x0
  3. fieldlet saslKind: IMAP2Connection.MechanismKind.SASLKind+0x28
  4. fieldvar state: IMAP2Connection.Authentication.NTLM.State+0x78
struct IMAP2Connection.Authentication.NTLM {
    struct OSVersion {
        var major: Swift.UInt8
        var minor: Swift.UInt8
        var build: Swift.UInt16
    }
    struct Flags {
        var rawValue: Swift.UInt32
    }
    struct CommonCryptoError {
        var underlying: Swift.Int32
    }
    struct AuthenticateMessage {
        struct Response {
            var lm: IMAP2Connection.Authentication.NTLM.RawResponseMessage.LMResponse
            var nt: IMAP2Connection.Authentication.NTLM.RawResponseMessage.NTLMResponse
        }
        var username: Swift.String
        var domain: Swift.String
        var response: IMAP2Connection.Authentication.NTLM.AuthenticateMessage.Response
        var flags: IMAP2Connection.Authentication.NTLM.Flags
    }
    struct RawResponseMessage {
        struct SessionKey {
            var bytes: [Swift.UInt8]
        }
        struct NTLMResponse {
            var bytes: [Swift.UInt8]
        }
        struct LMResponse {
            var bytes: [Swift.UInt8]
        }
        var lmResponse: IMAP2Connection.Authentication.NTLM.RawResponseMessage.LMResponse
        var ntlmResponse: IMAP2Connection.Authentication.NTLM.RawResponseMessage.NTLMResponse
        var domainName: Swift.String
        var user: Swift.String
        var workstation: Swift.String
        var sessionKey: IMAP2Connection.Authentication.NTLM.RawResponseMessage.SessionKey?
        var flags: IMAP2Connection.Authentication.NTLM.Flags?
    }
    struct ChallengeMessage {
        enum TargetInformation {
            case computerName(Swift.String)
            case domainName(Swift.String)
            case dnsComputerName(Swift.String)
            case dnsDomainName(Swift.String)
            case dnsTreeName(Swift.String)
            case targetName(Swift.String)
            case flags
            case timestamp
            case singleHost
            case unknown
        }
        enum Target {
            case domain(Swift.String)
            case server(Swift.String)
            case other
        }
        struct RawTargetInformation {
            // Local type in a function or closure the binary does not name
            struct NTLMChallengeMessageTargetInformationByteCountTooBig {}
            // Local type in a function or closure the binary does not name
            struct NTLMChallengeMessageTargetInformationBufferTooShort {}
            var bytes: [Swift.UInt8]
        }
        var target: IMAP2Connection.Authentication.NTLM.ChallengeMessage.Target?
        var targetInformation: [IMAP2Connection.Authentication.NTLM.ChallengeMessage.TargetInformation]
        var rawTargetInformation: IMAP2Connection.Authentication.NTLM.ChallengeMessage.RawTargetInformation?
        var serverChallenge: IMAP2Connection.Authentication.NTLM.ServerChallenge
        var flags: IMAP2Connection.Authentication.NTLM.Flags
    }
    enum Error {
        case challengeTooShort(Swift.Int)
        case invalidUnicodeStringLength(Swift.Int)
        case missingSignature
        case dataTooShort
        case messageIsNotChallenge
        case invalidString
        case invalidUnicodeString
        case invalidASCIIString
    }
    struct RawChallengeMessage {
        var flags: IMAP2Connection.Authentication.NTLM.Flags
        var challenge: IMAP2Connection.Authentication.NTLM.ServerChallenge
        var target: Swift.String
        var rawTargetInformation: IMAP2Connection.Authentication.NTLM.ChallengeMessage.RawTargetInformation?
        var osVersion: IMAP2Connection.Authentication.NTLM.OSVersion?
    }
    struct Credential {
        var username: Swift.String
        var password: Swift.String
    }
    enum Mode {
        case v1withSessionResponse
        case v2
    }
    struct ServerChallenge {
        var bytes: [Swift.UInt8]
    }
    // Local type in a function or closure the binary does not name
    struct InvalidStateForChallenge {}
    enum State {
        case authenticate(IMAP2Connection.Authentication.NTLM.ChallengeMessage)
        case negotiate
        case waitingForChallenge
        case done
    }
    let mode: IMAP2Connection.Authentication.NTLM.Mode
    let credential: IMAP2Connection.Authentication.NTLM.Credential
    let saslKind: IMAP2Connection.MechanismKind.SASLKind
    var state: IMAP2Connection.Authentication.NTLM.State
}