HomeSort by relevance Sort by last modified time
    Searched refs:Key (Results 1 - 25 of 143) sorted by null

1 2 3 4 5 6

  /dalvik/libcore/crypto/src/main/java/javax/crypto/
SecretKey.java 20 import java.security.Key;
23 * A cryptographic secret (symmetric) key.
30 * from {@link java.lang.Object} so comparison is done using the actual key data
33 public interface SecretKey extends Key {
ExemptionMechanismSpi.java 23 import java.security.Key;
39 * Generates the result key blob for this exemption mechanism.
41 * @return the result key blob for this exemption mechanism.
49 * Generates the result key blob for this exemption mechanism and stores it
53 * the output buffer for the result key blob.
58 * if the provided buffer is too small for the result key blob.
79 * key.
81 * @param key
82 * the key to initialize this instance with.
84 * if the key cannot be used to initialize this mechanism
    [all...]
NullCipher.java 26 import java.security.Key;
44 this.init(Cipher.ENCRYPT_MODE, (Key)null, (SecureRandom)null);
KeyAgreementSpi.java 22 import java.security.Key;
40 * Does the next (or the last) phase of the key agreement, using the
41 * specified key.
43 * @param key
44 * the key received from the other party for this phase.
46 * set to {@code true} if this is the last phase of this key
48 * @return the intermediate key from this phase or null if there is no
49 * intermediate key for this phase.
51 * if the specified key cannot be used in this key agreement o
    [all...]
  /dalvik/libcore/security/src/main/java/java/security/
PrivateKey.java 25 public interface PrivateKey extends Key {
PublicKey.java 25 public interface PublicKey extends Key {
KeyFactorySpi.java 32 * Generates a instance of {@code PublicKey} from the given key
36 * the specification of the public key.
37 * @return the public key.
45 * Generates a instance of {@code PrivateKey} from the given key
49 * the specification of the private key.
50 * @return the private key.
58 * Returns the key specification for the specified key.
60 * @param key
61 * the key from which the specification is requested
    [all...]
Key.java 23 * {@code Key} is the common interface for all keys.
28 public interface Key extends Serializable {
36 * Returns the name of the algorithm of this key. If the algorithm is
39 * @return the name of the algorithm of this key or {@code null} if the
45 * Returns the name of the format used to encode this key, or {@code null}
48 * @return the name of the format used to encode this key, or {@code null}
54 * Returns the encoded form of this key, or {@code null} if encoding is not
55 * supported by this key.
57 * @return the encoded form of this key, or {@code null} if encoding is not
58 * supported by this key
    [all...]
  /dalvik/libcore/security/src/main/java/org/bouncycastle/jce/interfaces/
IESKey.java 3 import java.security.Key;
8 * key pair for use with an integrated encryptor
11 extends Key
14 * return the intended recipient's/sender's public key.
19 * return the local private key.
  /external/bison/src/
muscle_tab.h 27 void muscle_insert (const char *key, char *value);
28 char *muscle_find (const char *key);
35 #define MUSCLE_INSERT_BOOL(Key, Value) \
38 MUSCLE_INSERT_INT (Key, v); \
41 #define MUSCLE_INSERT_INT(Key, Value) \
45 muscle_insert (Key, obstack_finish (&muscle_obstack)); \
48 #define MUSCLE_INSERT_LONG_INT(Key, Value) \
52 muscle_insert (Key, obstack_finish (&muscle_obstack)); \
55 #define MUSCLE_INSERT_STRING(Key, Value) \
59 muscle_insert (Key, obstack_finish (&muscle_obstack));
    [all...]
  /dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/
KeyTest.java 30 import java.security.Key;
33 @TestTargetClass(Key.class)
35 * Tests for <code>Key</code> class field
52 assertEquals("Incorrect serialVersionUID", mk.getSerVerUID(), //Key.serialVersionUID,
56 public class checkKey implements Key {
58 return "Key";
KeyFactorySpiTest.java 29 import java.security.Key;
68 args = {java.security.Key.class}
74 args = {java.security.Key.class, java.lang.Class.class}
100 protected KeySpec engineGetKeySpec(Key key, Class keySpec){
103 protected Key engineTranslateKey(Key key){
  /frameworks/base/libs/ui/
KeyLayoutMap.h 20 struct Key {
26 KeyedVector<int32_t,Key> m_keys;
  /external/skia/src/gl/
SkTextureCache.h 29 class Key {
31 Key(const SkBitmap& bm) {
40 friend bool operator==(const Key& a, const Key& b) {
47 friend bool operator<(const Key& a, const Key& b) {
90 const Key& getKey() const { return fKey; }
112 Key fKey;
153 /* If we find the key, return the entry and ignore index. If we don't,
156 Entry* find(const Key&, int* index) const
    [all...]
  /frameworks/base/awt/java/awt/
RenderingHints.java 33 * key-value pairs.
41 * key.
43 public static final Key KEY_ALPHA_INTERPOLATION = new KeyImpl(1);
67 * The Constant KEY_ANTIALIASING - antialiasing rendering hint key.
69 public static final Key KEY_ANTIALIASING = new KeyImpl(2);
87 * The Constant KEY_COLOR_RENDERING - color rendering hint key.
89 public static final Key KEY_COLOR_RENDERING = new KeyImpl(3);
107 * The Constant KEY_DITHERING - dithering rendering hint key.
109 public static final Key KEY_DITHERING = new KeyImpl(4);
128 * key
355 Key key = (Key)entry.getKey(); local
451 Key key = (Key)it.next(); local
503 private final int key; field in class:RenderingHints.Key
594 private final Key key; field in class:RenderingHints.KeyValue
    [all...]
  /dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/support/
MyKeyAgreementSpi.java 27 import java.security.Key;
45 protected Key engineDoPhase(Key key, boolean lastPhase)
75 protected void engineInit(Key key, SecureRandom random)
81 protected void engineInit(Key key, AlgorithmParameterSpec params,
MyExemptionMechanismSpi.java 28 import java.security.Key;
66 protected void engineInit(Key key) throws InvalidKeyException,
68 if (key == null) {
69 throw new InvalidKeyException("key is null");
71 if (!(key instanceof tmpKey)) {
72 throw new ExemptionMechanismException("Incorrect key");
77 protected void engineInit(Key key, AlgorithmParameters params)
80 if (key == null)
    [all...]
  /frameworks/base/media/libdrm/mobile2/include/util/crypto/
DrmCrypto.h 95 HmacSha1Agent(const unsigned char* Key, int key_len)
96 :macKey(Key),keyLen(key_len){};
125 // Rsa crypto for signature,verify signature and key transport
129 RsaAgent(RSA& Key):rsaKey(Key)
131 rsaSize = (unsigned int)RSA_size(&Key);
  /external/v8/src/
zone.h 210 // typedef Key: the key type
212 // static const kNoKey: the dummy key used when no key is set
214 // int (Compare)(Key& a, Key& b) -> {-1, 0, 1}: comparison function
219 typedef typename Config::Key Key;
226 // Inserts the given key in this tree with the given value. Returns
228 // is enabled and provides access to the mapping for the key
268 Key key() { return key_; } function in class:v8::internal::ZoneSplayTree::Node
287 const Key& key() { return node_->key_; } function in class:v8::internal::ZoneSplayTree::Locator
    [all...]
heap-profiler.h 115 typedef JSObjectsCluster Key;
117 static const Key kNoKey;
119 static int Compare(const Key& a, const Key& b) {
120 return Key::Compare(a, b);
155 typedef JSObjectsCluster Key;
157 static const Key kNoKey;
159 static int Compare(const Key& a, const Key& b) {
160 return Key::Compare(a, b)
    [all...]
  /frameworks/base/include/ui/
KeyCharacterMap.h 54 struct Key
64 Key* find_key(int keycode);
65 bool find_char(uint16_t c, uint32_t* key, uint32_t* mods);
69 Key* m_keys;
  /development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
LatinKeyboardView.java 22 import android.inputmethodservice.Keyboard.Key;
38 protected boolean onLongPress(Key key) {
39 if (key.codes[0] == Keyboard.KEYCODE_CANCEL) {
43 return super.onLongPress(key);
  /external/webkit/JavaScriptCore/runtime/
StructureTransitionTable.h 42 typedef std::pair<RefPtr<UString::Rep>, unsigned> Key;
43 static unsigned hash(const Key& p)
48 static bool equal(const Key& a, const Key& b)
72 typedef HashMap<StructureTransitionTableHash::Key, Transition, StructureTransitionTableHash, StructureTransitionTableHashTraits> TransitionTable;
85 // for the given key they will consider that transition to be a match. If a specialised transition
87 inline bool contains(const StructureTransitionTableHash::Key&, JSCell* specificValue);
88 inline Structure* get(const StructureTransitionTableHash::Key&, JSCell* specificValue) const;
89 inline bool hasTransition(const StructureTransitionTableHash::Key& key) const
    [all...]
  /external/webkit/JavaScriptCore/wtf/
HashTable.h 67 template<typename Key, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTraits>
69 template<typename Key, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTraits>
71 template<typename Key, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTraits>
74 template<typename Key, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTraits>
75 void addIterator(const HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>*,
76 HashTableConstIterator<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>*);
78 template<typename Key, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTraits>
79 void removeIterator(HashTableConstIterator<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>*);
83 template<typename Key, typename Value, typename Extractor, typename HashFunctions, typename Traits, typename KeyTraits>
84 inline void addIterator(const HashTable<Key, Value, Extractor, HashFunctions, Traits, KeyTraits>*
    [all...]
  /dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
KeyAgreementSpiTest.java 27 import java.security.Key;
54 protected Key engineDoPhase(Key key, boolean lastPhase) throws InvalidKeyException,
56 return super.engineDoPhase(key, lastPhase);
77 protected void engineInit(Key key, SecureRandom random) throws InvalidKeyException {
78 super.engineInit(key, random);
82 protected void engineInit(Key key, AlgorithmParameterSpec params, SecureRandom random
119 Key key = null; local
    [all...]

Completed in 489 milliseconds

1 2 3 4 5 6