/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/ |
H A D | SealedObjectTest.java | 51 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 D | texinfo.tex | 7863 % 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 D | KeyAgreementSpi.java | 54 // 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 D | KeyAgreementSpi.java | 175 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 D | supervised_user_authentication.cc | 299 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 D | native_backend_gnome_x.cc | 184 if (data->secret) { 185 form->password_value = UTF8ToUTF16(data->secret);
|
H A D | native_backend_gnome_x_unittest.cc | 241 found->secret = strdup(item->password.c_str()); 254 free(found->secret);
|
/external/chromium_org/chrome/browser/signin/ |
H A D | easy_unlock_auth_attempt.cc | 21 // 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 D | easy_unlock_screenlock_state_handler_unittest.cc | 93 const std::string& secret,
|
H A D | easy_unlock_service.h | 104 // 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 D | screenlock_bridge.h | 128 const std::string& secret,
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/ |
H A D | signin_screen_handler.cc | 1015 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 D | signin_screen_handler.h | 343 const std::string& secret,
|
/external/chromium_org/chrome/browser/ui/webui/signin/ |
H A D | user_manager_screen_handler.cc | 291 const std::string& secret, 289 AttemptEasySignin( const std::string& user_email, const std::string& secret, const std::string& key_label) argument
|
H A D | user_manager_screen_handler.h | 64 const std::string& secret,
|
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/ |
H A D | OAuth.php | 12 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__.py | 113 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 D | chrome_ex_oauth.js | 12 * @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 D | chrome_ex_oauth.js | 12 * @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 D | boto_bucket.py | 24 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 D | cryptohome_parameters.cc | 126 KeyDefinition::KeyDefinition(const std::string& secret, argument 133 secret(secret) { 166 : key(key_def.secret),
|
H A D | cryptohome_parameters.h | 101 KeyDefinition(const std::string& secret, 113 std::string secret; member in struct:cryptohome::KeyDefinition
|
H A D | homedir_methods.cc | 30 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 D | extended_authenticator_impl.cc | 96 Key key(keys.front().secret);
|
H A D | key.cc | 39 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
|