HomeSort by relevance Sort by last modified time
    Searched refs:Key (Results 76 - 100 of 189) sorted by null

1 2 34 5 6 7 8

  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
ExemptionMechanismTest.java 30 import java.security.Key;
137 * Test for <code>isCryptoAllowed(Key key)</code> method
143 args = {java.security.Key.class}
157 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); local
159 assertFalse(em.isCryptoAllowed(key));
161 em.init(key);
162 assertFalse(em.isCryptoAllowed(key));
165 assertTrue(em.isCryptoAllowed(key));
195 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); local
297 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); local
341 Key key = new Mock_ExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); local
396 Key key = new Mock_ExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); local
511 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); local
541 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); local
570 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); local
600 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); local
649 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); local
705 Key key = new MyExemptionMechanismSpi().new tmpKey("Proba", new byte[0]); local
    [all...]
CipherSpiTest.java 33 import java.security.Key;
89 protected void engineInit(int opmode, Key key, SecureRandom random)
91 super.engineInit(opmode, key, random);
95 protected void engineInit(int opmode, Key key, AlgorithmParameterSpec params,
97 super.engineInit(opmode, key, params, random);
101 protected void engineInit(int opmode, Key key, AlgorithmParameters params,
103 super.engineInit(opmode, key, params, random)
    [all...]
MacSpiTest.java 33 import java.security.Key;
64 protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException {
65 super.engineInit(key, params);
98 protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException {
99 super.engineInit(key, params);
137 protected void engineInit(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException {
138 super.engineInit(key, params)
    [all...]
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/pb_ds/detail/bin_search_tree_/
traits.hpp 52 template<typename Key,
67 Key,
161 template<typename Key,
171 Key,
181 Key,
bin_search_tree_.hpp 63 template<typename Key, typename Mapped, class Cmp_Fn, \
78 Key, \
86 Key, \
93 debug_map_base<Key, eq_by_less<Key, Cmp_Fn>, \
94 typename Allocator::template rebind<Key>::other::const_reference>
122 template<typename Key,
  /external/stlport/test/unit/
unordered_test.cpp 514 struct Key
516 Key() : m_data(0) {}
517 explicit Key(int data) : m_data(data) {}
522 bool operator==(const Key&) const;
528 size_t operator () (Key key) const
529 { return (size_t)key.m_data; }
537 bool operator () (Key lhs, Key rhs) const
540 bool operator () (Key lhs, int rhs) cons
    [all...]
find_test.cpp 51 struct Key
90 Key keys[10] = { {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0} };
91 Key const* k = find(keys + 0, keys + 10, 5);
  /ndk/tests/device/test-gnustl-full/unit/
unordered_test.cpp 514 struct Key
516 Key() : m_data(0) {}
517 explicit Key(int data) : m_data(data) {}
522 bool operator==(const Key&) const;
528 size_t operator () (Key key) const
529 { return (size_t)key.m_data; }
537 bool operator () (Key lhs, Key rhs) const
540 bool operator () (Key lhs, int rhs) cons
    [all...]
find_test.cpp 51 struct Key
90 Key keys[10] = { {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0} };
91 Key const* k = find(keys + 0, keys + 10, 5);
  /ndk/tests/device/test-stlport/unit/
unordered_test.cpp 514 struct Key
516 Key() : m_data(0) {}
517 explicit Key(int data) : m_data(data) {}
522 bool operator==(const Key&) const;
528 size_t operator () (Key key) const
529 { return (size_t)key.m_data; }
537 bool operator () (Key lhs, Key rhs) const
540 bool operator () (Key lhs, int rhs) cons
    [all...]
find_test.cpp 51 struct Key
90 Key keys[10] = { {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0} };
91 Key const* k = find(keys + 0, keys + 10, 5);
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
TestKeyStoreSpi.java 8 import java.security.Key;
37 public static final Key KEY = new SecretKey() {
58 aliases.put("keyalias", KEY);
108 public Key engineGetKey(String alias, char[] password)
119 return (Key) aliases.get(alias);
138 Key k = (Key) aliases.get(alias);
197 public void engineSetKeyEntry(String alias, Key key, char[] password
    [all...]
MyKeyStoreSpi.java 29 import java.security.Key;
48 public Key engineGetKey(String alias, char[] password)
68 public void engineSetKeyEntry(String alias, Key key, char[] password,
74 public void engineSetKeyEntry(String alias, byte[] key, Certificate[] chain)
163 public void verify(PublicKey key) {
167 public void verify(PublicKey key, String sigProvider) {
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyStore3Test.java 32 import java.security.Key;
116 args = {java.lang.String.class, java.security.Key.class, char[].class, java.security.cert.Certificate[].class}
128 args = {java.lang.String.class, java.security.Key.class, char[].class, java.security.cert.Certificate[].class}
140 args = {java.lang.String.class, java.security.Key.class, char[].class, java.security.cert.Certificate[].class}
144 Key key = keyPair.getPrivate(); local
146 mockKeyStore.setKeyEntry("Alias", key, null, null);
153 mockKeyStore.setKeyEntry("Alias", key, null,
160 mockKeyStore.setKeyEntry("Alias", key, null, new Certificate[]{certificate});
167 args = {java.lang.String.class, java.security.Key.class, char[].class, java.security.cert.Certificate[].class
172 Key key = keyPair.getPublic(); local
    [all...]
KeyFactoryTest.java 12 import java.security.Key;
214 TestPublicKey key = new TestPublicKey(); local
215 TestPublicKeySpec keySpec = new TestPublicKeySpec(key);
218 assertTrue(Arrays.equals(key.encoded, publicKey.getEncoded()));
268 TestPrivateKey key = new TestPrivateKey(); local
269 TestPrivateKeySpec keySpec = new TestPrivateKeySpec(key);
272 assertTrue(Arrays.equals(key.getEncoded(), privateKey.getEncoded()));
308 args={Key.class, Class.class}
321 Key[] keys = {
336 Key key = keys[i] local
372 Key key = keys[i]; local
419 Key key = keys[i]; local
443 Key key = keys[i]; local
    [all...]
  /frameworks/base/core/java/android/inputmethodservice/
Keyboard.java 49 * &lt;Key android:keyLabel="A" /&gt;
67 private static final String TAG_KEY = "Key";
87 /** Default key width */
90 /** Default key height */
99 /** Key instance for the shift key, if present */
100 private Key mShiftKey;
102 /** Key index for the shift key, if present */
105 /** Current key width, while loading the keyboard *
568 final Key key = new Key(row); local
666 final Key key = mKeys.get(i); local
716 Key key = null; local
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
DSAKeyFactoryImpl.java 22 import java.security.Key;
39 * This method generates a DSAPrivateKey object from the provided key specification.
42 * keySpec - the specification (key material) for the DSAPrivateKey.
67 * This method generates a DSAPublicKey object from the provided key specification.
70 * keySpec - the specification (key material) for the DSAPublicKey.
95 * This method returns a specification for the supplied key.
100 * @param key -
111 protected <T extends KeySpec> T engineGetKeySpec(Key key, Class<T> keySpec)
116 if (key != null)
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
CipherSymmetricKeyThread.java 19 import java.security.Key;
44 Key key = kg.generateKey(); local
56 cip.init(Cipher.ENCRYPT_MODE, key, ivspec);
61 cip.init(Cipher.DECRYPT_MODE, key, ivspec);
64 cip.init(Cipher.ENCRYPT_MODE, key);
67 cip.init(Cipher.DECRYPT_MODE, key);
  /external/v8/src/
zone-inl.h 72 bool ZoneSplayTree<C>::Insert(const Key& key, Locator* locator) {
75 root_ = new Node(key, C::kNoValue);
77 // Splay on the key to move the last node on the search path
78 // for the key to the root of the tree.
79 Splay(key);
80 // Ignore repeated insertions with the same key.
81 int cmp = C::Compare(key, root_->key_);
87 Node* node = new Node(key, C::kNoValue);
105 bool ZoneSplayTree<C>::Find(const Key& key, Locator* locator)
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
PasswordEntryKeyboard.java 39 * an additional keyboard with symbols. In numeric mode, it shows a 12-key DTMF dialer-like
55 private Key mShiftKey;
56 private Key mEnterKey;
57 private Key mF1Key;
58 private Key mSpaceKey;
91 protected Key createKeyFromXml(Resources res, Row parent, int x, int y,
93 LatinKey key = new LatinKey(res, parent, x, y, parser); local
94 final int code = key.codes[0];
96 // Log.w(TAG, "Key code for " + key.label + " is not latin-1")
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
WrapCipherSpi.java 38 import java.security.Key;
106 Key key)
108 return key.getEncoded().length;
138 Key key,
145 if (key instanceof JCEPBEKey)
147 JCEPBEKey k = (JCEPBEKey)key;
164 param = new KeyParameter(key.getEncoded());
198 Key key
    [all...]
JCEStreamCipher.java 41 import java.security.Key;
97 Key key)
99 return key.getEncoded().length * 8;
158 Key key,
171 // basic key check
173 if (!(key instanceof SecretKey))
175 throw new InvalidKeyException("Key for algorithm " + key.getAlgorithm() + " not suitable for symmetric enryption.")
    [all...]
  /libcore/luni/src/main/java/javax/crypto/
Cipher.java 25 import java.security.Key;
76 * Constant indicating that the key to be unwrapped is a private key.
81 * Constant indicating that the key to be unwrapped is a public key.
86 * Constant indicating that the key to be unwrapped is a secret key.
91 * Constant for key unwrapping operation mode.
96 * Constant for key wrapping operation mode.
438 * Initializes this cipher instance with the specified key
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
LatinKeyboard.java 61 private Key mShiftKey;
62 private Key mEnterKey;
63 private Key mF1Key;
65 private Key mSpaceKey;
66 private Key m123Key;
68 private Key[] mNumberHintKeys;
95 // TODO: remove this attribute when either Keyboard.mDefaultVerticalGap or Key.parent becomes
108 // Minimum width of space key preview (proportional to keyboard width)
110 // Height in space key the language name will be drawn. (proportional to space key height
171 Key key = new LatinKey(res, parent, x, y, parser); local
    [all...]
  /prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/ext/pb_ds/detail/
debug_map_base.hpp 65 template<typename Key, class Eq_Fn, typename Const_Key_Reference>
68 debug_map_base<Key, Eq_Fn, Const_Key_Reference>
70 template<typename Key, class Eq_Fn, typename Const_Key_Reference>
74 typedef typename std::allocator< Key> key_allocator;
116 typedef std::list< Key> key_set;

Completed in 1095 milliseconds

1 2 34 5 6 7 8