/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
H A D | xmppauth.cc | 87 // No good mechanism found 92 const std::string& mechanism) { 93 if (mechanism == buzz::AUTH_MECHANISM_OAUTH2) { 95 mechanism, jid_.Str(), auth_token_, "oauth2"); 96 } else if (mechanism == buzz::AUTH_MECHANISM_GOOGLE_TOKEN) { 97 return new buzz::SaslCookieMechanism(mechanism, jid_.Str(), auth_token_); 98 // } else if (mechanism == buzz::AUTH_MECHANISM_GOOGLE_COOKIE) { 99 // return new buzz::SaslCookieMechanism(mechanism, jid.Str(), sid_); 100 } else if (mechanism == buzz::AUTH_MECHANISM_PLAIN) { 91 CreateSaslMechanism( const std::string& mechanism) argument
|
H A D | saslcookiemechanism.h | 41 SaslCookieMechanism(const std::string & mechanism, argument 45 : mechanism_(mechanism), 50 SaslCookieMechanism(const std::string & mechanism, argument 53 : mechanism_(mechanism),
|
H A D | saslhandler.h | 39 // Creates mechanisms to deal with a given mechanism 51 // Creates a SaslMechanism for the given mechanism name (you own it 54 virtual SaslMechanism * CreateSaslMechanism(const std::string & mechanism) = 0;
|
H A D | plainsaslhandler.h | 61 // Creates a SaslMechanism for the given mechanism name (you own it 63 virtual SaslMechanism * CreateSaslMechanism(const std::string & mechanism) { argument 64 if (mechanism == "PLAIN") {
|
H A D | xmppauth.h | 67 const std::string& mechanism);
|
H A D | xmppclientsettings.h | 47 void set_auth_token(const std::string& mechanism, argument 49 auth_mechanism_ = mechanism;
|
/external/chromium/third_party/libjingle/source/talk/examples/login/ |
H A D | xmppauth.cc | 72 // No good mechanism found 77 const std::string & mechanism) { 78 if (mechanism == "X-GOOGLE-TOKEN") { 79 return new buzz::SaslCookieMechanism(mechanism, jid_.Str(), auth_cookie_); 80 //} else if (mechanism == "X-GOOGLE-COOKIE") { 81 // return new buzz::SaslCookieMechanism(mechanism, jid.Str(), sid_); 82 } else if (mechanism == "PLAIN") { 76 CreateSaslMechanism( const std::string & mechanism) argument
|
H A D | xmppauth.h | 63 const std::string & mechanism);
|
/external/chromium/third_party/libjingle/source/talk/xmpp/ |
H A D | saslcookiemechanism.h | 41 SaslCookieMechanism(const std::string & mechanism, argument 45 : mechanism_(mechanism), 50 SaslCookieMechanism(const std::string & mechanism, argument 53 : mechanism_(mechanism),
|
H A D | saslhandler.h | 39 // Creates mechanisms to deal with a given mechanism 51 // Creates a SaslMechanism for the given mechanism name (you own it 54 virtual SaslMechanism * CreateSaslMechanism(const std::string & mechanism) = 0;
|
H A D | plainsaslhandler.h | 61 // Creates a SaslMechanism for the given mechanism name (you own it 63 virtual SaslMechanism * CreateSaslMechanism(const std::string & mechanism) { argument 64 if (mechanism == "PLAIN") {
|
/external/chromium_org/jingle/notifier/base/ |
H A D | gaia_token_pre_xmpp_auth.cc | 21 GaiaCookieMechanism(const std::string & mechanism, argument 26 mechanism, username, cookie, token_service) {} 111 const std::string& mechanism) { 112 if (mechanism == auth_mechanism_) 114 mechanism, username_, token_, token_service_); 110 CreateSaslMechanism( const std::string& mechanism) argument
|
H A D | gaia_token_pre_xmpp_auth.h | 17 // authentication in GTalk. It looks for the X-GOOGLE-TOKEN auth mechanism 18 // and uses that instead of the default auth mechanism (PLAIN). 56 const std::string& mechanism) OVERRIDE;
|
/external/smack/src/org/jivesoftware/smack/ |
H A D | SASLAuthentication.java | 47 * mechanism wont be used until {@link #supportSASLMechanism(String, int)} is called. By default,
107 * Registers a new SASL mechanism
109 * @param name common name of the SASL mechanism. E.g.: PLAIN, DIGEST-MD5 or KERBEROS_V4.
117 * Unregisters an existing SASL mechanism. Once the mechanism has been unregistered it won't
118 * be possible to authenticate users using the removed SASL mechanism. It also removes the
119 * mechanism from the supported list.
121 * @param name common name of the SASL mechanism. E.g.: PLAIN, DIGEST-MD5 or KERBEROS_V4.
130 * Registers a new SASL mechanism in the specified preference position. The client will try
131 * to authenticate using the most prefered SASL mechanism tha [all...] |
H A D | SASLAuthentication.java.orig | 47 * mechanism wont be used until {@link #supportSASLMechanism(String, int)} is called. By default,
107 * Registers a new SASL mechanism
109 * @param name common name of the SASL mechanism. E.g.: PLAIN, DIGEST-MD5 or KERBEROS_V4.
117 * Unregisters an existing SASL mechanism. Once the mechanism has been unregistered it won't
118 * be possible to authenticate users using the removed SASL mechanism. It also removes the
119 * mechanism from the supported list.
121 * @param name common name of the SASL mechanism. E.g.: PLAIN, DIGEST-MD5 or KERBEROS_V4.
130 * Registers a new SASL mechanism in the specified preference position. The client will try
131 * to authenticate using the most prefered SASL mechanism tha [all...] |
/external/smack/asmack-master/static-src/custom/de/measite/smack/ |
H A D | Sasl.java | 71 public static SaslServer createSaslServer(String mechanism, String protocol, argument 73 return org.apache.harmony.javax.security.sasl.Sasl.createSaslServer(mechanism, protocol, serverName, prop, cbh);
|
/external/smack/src/de/measite/smack/ |
H A D | Sasl.java | 71 public static SaslServer createSaslServer(String mechanism, String protocol, argument 73 return org.apache.harmony.javax.security.sasl.Sasl.createSaslServer(mechanism, protocol, serverName, prop, cbh);
|
/external/smack/src/org/apache/harmony/javax/security/sasl/ |
H A D | Sasl.java | 134 public static SaslServer createSaslServer(String mechanism, String protocol, argument 136 if (mechanism == null) { 151 if (mech[j].equals(mechanism)) { 158 SaslServer saslS = fact.createSaslServer(mechanism, protocol, serverName, prop,
|
/external/openssh/ |
H A D | pkcs11.h | 680 ck_mechanism_type_t mechanism; member in struct:ck_mechanism 822 struct ck_mechanism *mechanism, 841 struct ck_mechanism *mechanism, 860 struct ck_mechanism *mechanism)); 878 struct ck_mechanism *mechanism, 894 struct ck_mechanism *mechanism, 904 struct ck_mechanism *mechanism, 920 struct ck_mechanism *mechanism, 954 struct ck_mechanism *mechanism, 960 struct ck_mechanism *mechanism, [all...] |
/external/chromium_org/net/quic/crypto/ |
H A D | aes_128_gcm_12_decrypter_nss.cc | 48 PK11SymKey* symKey, CK_MECHANISM_TYPE mechanism, SECItem* param, 77 // necessary function (PK11_Decrypt) or mechanism support (CKM_AES_GCM). 113 CK_MECHANISM_TYPE mechanism, 125 return pk11_decrypt_func(key, mechanism, param, out, out_len, max_len, enc, 136 DCHECK_EQ(mechanism, static_cast<CK_MECHANISM_TYPE>(CKM_AES_GCM)); 112 My_Decrypt(PK11SymKey* key, CK_MECHANISM_TYPE mechanism, SECItem* param, unsigned char* out, unsigned int* out_len, unsigned int max_len, const unsigned char* enc, unsigned int enc_len) argument
|
H A D | aes_128_gcm_12_encrypter_nss.cc | 48 PK11SymKey* symKey, CK_MECHANISM_TYPE mechanism, SECItem* param, 77 // necessary function (PK11_Encrypt) or mechanism support (CKM_AES_GCM). 114 CK_MECHANISM_TYPE mechanism, 126 return pk11_encrypt_func(key, mechanism, param, out, out_len, max_len, data, 137 DCHECK_EQ(mechanism, static_cast<CK_MECHANISM_TYPE>(CKM_AES_GCM)); 113 My_Encrypt(PK11SymKey* key, CK_MECHANISM_TYPE mechanism, SECItem* param, unsigned char* out, unsigned int* out_len, unsigned int max_len, const unsigned char* data, unsigned int data_len) argument
|
/external/chromium_org/remoting/jingle_glue/ |
H A D | xmpp_signal_strategy.cc | 242 std::string mechanism = notifier::kDefaultGaiaAuthMechanism; local 244 mechanism = "X-OAUTH2"; 248 jid.Str(), settings.auth_token(), settings.token_service(), mechanism);
|
/external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/ |
H A D | ExemptionMechanism_ImplTest.java | 289 public myEM(ExemptionMechanismSpi spi, Provider prov, String mechanism) { argument 290 super(spi, prov, mechanism);
|
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
H A D | RecognizerSharedState.as | 27 * ad naseum. This is a failsafe mechanism to guarantee that at least 64 * something nonnull so that the auto token emit mechanism will not
|
/external/chromium_org/net/cert/ |
H A D | ev_root_ca_metadata_unittest.cc | 49 oid_data.mechanism = CKM_INVALID_MECHANISM;
|