コード例 #1
0
        public OicqRequestCheckImage(uint uin, UserSigInfo sigInfo,
                                     string sigSission, string sigTicket)

            : base(OicqCommand, OicqSubCommand, uin,
                   OicqEncryptMethod.ECDH7, new XCaptcha(sigSission, sigTicket),
                   sigInfo.ShareKey, sigInfo.RandKey, sigInfo.DefaultPublicKey)
        {
        }
コード例 #2
0
        public OicqRequestRefreshSms(uint uin, UserSigInfo sigInfo,
                                     string sigSession, string smsToken)

            : base(OicqCommand, OicqSubCommand, uin,
                   OicqEncryptMethod.ECDH7, new XRefreshSms(sigSession, smsToken),
                   sigInfo.ShareKey, sigInfo.RandKey, sigInfo.DefaultPublicKey)
        {
        }
コード例 #3
0
ファイル: OicqRequestCheckSms.cs プロジェクト: DogWars/Konata
        public OicqRequestCheckSms(uint uin, UserSigInfo sigInfo, string sigSession,
                                   byte[] gSecret, string smsToken, string smsCode)

            : base(OicqCommand, OicqSubCommand, uin, OicqEncryptMethod.ECDH7,
                   new XCheckSms(sigSession, gSecret, smsToken, smsCode),
                   sigInfo.ShareKey, sigInfo.RandKey, sigInfo.DefaultPublicKey)
        {
        }
コード例 #4
0
        public OicqRequestTransport(uint uin, UserSigInfo sigInfo, byte[] data, bool isMsf, uint appId,
                                    byte[] sigSession, byte[] sigSessionKey)

            : base(OicqCommand, OicqSubCommand, uin, OicqEncryptMethod.ECDH7,
                   new XTransport(data, isMsf, appId, 85, sigSession, sigSessionKey),
                   sigInfo.ShareKey, sigInfo.RandKey, sigInfo.DefaultPublicKey)
        {
        }
コード例 #5
0
ファイル: OicqRequestTgtgt.cs プロジェクト: DogWars/Konata
 public OicqRequestTgtgt(uint uin, uint ssoseq, UserSigInfo sigInfo)
     : base(OicqCommand, OicqSubCommand, uin, OicqEncryptMethod.ECDH135,
            new XTGTGT(uin, ssoseq, sigInfo.PasswordMd5, sigInfo.TgtgKey,
                       sigInfo.Tlv106Key), sigInfo.ShareKey, sigInfo.RandKey, sigInfo.DefaultPublicKey)
 {
 }