Searched refs:secret (Results 1 - 25 of 154) sorted by path

1234567

/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
H A DSealedObjectTest.java51 String secret = "secret string";
52 SealedObject so = new SealedObject(secret, new NullCipher());
61 assertEquals("The secret content of deserialized object "
62 + "should be equal to the secret content of initial object",
63 secret, so_des.getObject(new NullCipher()));
75 String secret = "secret string";
77 new SealedObject(secret, null);
96 String secret
[all...]
/external/bison/build-aux/
H A Dtexinfo.tex7863 % This was provided as a "secret" @set xref-automatic-section-title
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/
H A DKeyAgreementSpi.java54 // RFC 2631 (2.1.2) specifies that the secret should be padded with leading zeros if necessary
138 byte[] secret = bigIntToBytes(result);
140 if (sharedSecret.length - offset < secret.length)
145 System.arraycopy(secret, 0, sharedSecret, offset, secret.length);
147 return secret.length;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/
H A DKeyAgreementSpi.java175 byte[] secret = engineGenerateSecret();
177 if (sharedSecret.length - offset < secret.length)
179 throw new ShortBufferException(kaAlgorithm + " key agreement: need " + secret.length + " bytes");
182 System.arraycopy(secret, 0, sharedSecret, offset, secret.length);
184 return secret.length;
191 byte[] secret = bigIntToBytes(result);
203 // DHKDFParameters params = new DHKDFParameters(new ASN1ObjectIdentifier(algorithm), keySize, secret);
208 // secret = keyBytes;
216 return new SecretKeySpec(secret, algorith
[all...]
/external/chromium_org/chrome/browser/chromeos/login/supervised/
H A Dsupervised_user_authentication.cc299 ac::chrome::managedaccounts::account::Secret secret; local
300 secret.set_revision(revision);
301 secret.set_secret(password);
303 if (!secret.SerializeToString(&buffer))
/external/chromium_org/chrome/browser/password_manager/
H A Dnative_backend_gnome_x.cc184 if (data->secret) {
185 form->password_value = UTF8ToUTF16(data->secret);
H A Dnative_backend_gnome_x_unittest.cc241 found->secret = strdup(item->password.c_str());
254 free(found->secret);
/external/chromium_org/chrome/browser/signin/
H A Deasy_unlock_auth_attempt.cc21 // Fake secret used to force invalid login.
24 // Decrypts the secret that should be used to login from |wrapped_secret| using
44 std::string secret;
45 if (!encryptor.Decrypt(wrapped_secret, &secret))
48 return secret;
136 // If secret is not set, set it to an arbitrary value, otherwise there will
H A Deasy_unlock_screenlock_state_handler_unittest.cc93 const std::string& secret,
H A Deasy_unlock_service.h104 // Retrieved wrapped secret that should be used to unlock cryptohome for the
106 // signin (i.e. service for a regular profile) or there is no secret available
154 void FinalizeSignin(const std::string& secret);
H A Dscreenlock_bridge.h128 const std::string& secret,
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
H A Dsignin_screen_handler.cc1015 const std::string& secret,
1023 user_context.SetKey(Key(secret));
1026 // TODO(tbarzic): Handle empty secret. The delegate will end up ignoring login
1028 DCHECK(!secret.empty());
1014 AttemptEasySignin(const std::string& user_email, const std::string& secret, const std::string& key_label) argument
H A Dsignin_screen_handler.h343 const std::string& secret,
/external/chromium_org/chrome/browser/ui/webui/signin/
H A Duser_manager_screen_handler.cc291 const std::string& secret,
289 AttemptEasySignin( const std::string& user_email, const std::string& secret, const std::string& key_label) argument
H A Duser_manager_screen_handler.h64 const std::string& secret,
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/
H A DOAuth.php12 public $secret; variable
14 function __construct($key, $secret, $callback_url=NULL) {
16 $this->secret = $secret; variable
21 return "OAuthConsumer[key=$this->key,secret=$this->secret]";
28 public $secret; variable
32 * secret = the token secret
34 function __construct($key, $secret) {
36 $this->secret = $secret; variable
[all...]
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/oauth2/
H A D__init__.py113 provider gives the consumer a *key* and a *secret* with which the consumer
115 key in each request to identify itself, but will use its secret only when
125 secret = None variable in class:Consumer
127 def __init__(self, key, secret):
129 self.secret = secret
131 if self.key is None or self.secret is None:
132 raise ValueError("Key and secret must be set.")
136 'oauth_consumer_secret': self.secret}
145 Tokens in OAuth comprise a *key* and a *secret*
157 secret = None variable in class:Token
[all...]
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/gdocs/
H A Dchrome_ex_oauth.js12 * @param {String} consumer_secret The OAuth consumer secret.
57 * "consumer_secret" {String} OAuth consumer secret.
94 * secret {String} The OAuth access token secret.
100 window.chromeExOAuthOnAuthorize = function(token, secret) {
101 callback(token, secret);
170 var secret = this.getTokenSecret();
171 if (!token || !secret) {
172 throw new Error("No oauth token or token secret");
184 oauth_secret : secret,
[all...]
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/oauth_contacts/
H A Dchrome_ex_oauth.js12 * @param {String} consumer_secret The OAuth consumer secret.
57 * "consumer_secret" {String} OAuth consumer secret.
94 * secret {String} The OAuth access token secret.
100 window.chromeExOAuthOnAuthorize = function(token, secret) {
101 callback(token, secret);
170 var secret = this.getTokenSecret();
171 if (!token || !secret) {
172 throw new Error("No oauth token or token secret");
184 oauth_secret : secret,
[all...]
/external/chromium_org/chrome/test/ispy/client/
H A Dboto_bucket.py24 def __init__(self, key, secret, bucket_name):
25 """Initializes the bucket with a key, secret, and bucket_name.
29 secret: the API secret to access GS.
33 conn = uri.connect(key, secret)
/external/chromium_org/chromeos/cryptohome/
H A Dcryptohome_parameters.cc126 KeyDefinition::KeyDefinition(const std::string& secret, argument
133 secret(secret) {
166 : key(key_def.secret),
H A Dcryptohome_parameters.h101 KeyDefinition(const std::string& secret,
113 std::string secret; member in struct:cryptohome::KeyDefinition
H A Dhomedir_methods.cc30 key->set_secret(key_def.secret);
70 KeyAuthorizationSecret* secret = auth_data->add_secrets(); local
71 secret->mutable_usage()->set_encrypt(secret_it->encrypt);
72 secret->mutable_usage()->set_sign(secret_it->sign);
74 secret->set_symmetric_key(secret_it->symmetric_key);
76 secret->set_public_key(secret_it->public_key);
77 secret->set_wrapped(secret_it->wrapped);
345 key_definitions.push_back(KeyDefinition(std::string() /* secret */,
/external/chromium_org/chromeos/login/auth/
H A Dextended_authenticator_impl.cc96 Key key(keys.front().secret);
H A Dkey.cc39 Key::Key(KeyType key_type, const std::string& salt, const std::string& secret) argument
40 : key_type_(key_type), salt_(salt), secret_(secret) {
85 // plain text secret cannot be reconstructed even if the hashing is

Completed in 568 milliseconds

1234567