Searched refs:Key (Results 1 - 25 of 209) sorted by relevance

123456789

/openjdk7/jdk/src/share/classes/javax/xml/crypto/
H A DKeySelectorResult.java30 import java.security.Key;
36 * At a minimum, a <code>KeySelectorResult</code> contains the <code>Key</code>
53 Key getKey();
H A DKeySelector.java30 import java.security.Key;
127 public static KeySelector singletonKeySelector(Key key) {
132 private final Key key;
134 SingletonKeySelector(Key key) {
146 public Key getKey() {
/openjdk7/jdk/src/share/classes/java/security/
H A DPrivateKey.java37 * @see Key
49 public interface PrivateKey extends Key {
H A DPublicKey.java37 * @see Key
46 public interface PublicKey extends Key {
H A DKeyFactorySpi.java38 * <P> Key factories are used to convert <I>keys</I> (opaque
39 * cryptographic keys of type <code>Key</code>) into <I>key specifications</I>
43 * <P> Key factories are bi-directional. That is, they allow you to build an
60 * @see Key
122 T engineGetKeySpec(Key key, Class<T> keySpec)
137 protected abstract Key engineTranslateKey(Key key)
H A DKey.java29 * The Key interface is the top-level interface for all keys. It
67 * Internet X.509 Public Key Infrastructure Certificate and CRL Profile</a>.
83 * <p> A Key should use KeyRep as its serialized representation.
84 * Note that a serialized Key may contain sensitive information
103 public interface Key extends java.io.Serializable { interface in inherits:java.io.Serializable
H A DAlgorithmConstraints.java87 public boolean permits(Set<CryptoPrimitive> primitives, Key key);
106 String algorithm, Key key, AlgorithmParameters parameters);
/openjdk7/jdk/src/share/classes/javax/crypto/
H A DSecretKey.java43 * from the <code>java.security.Key</code> parent interface.)
52 public interface SecretKey extends java.security.Key {
H A DExemptionMechanismSpi.java28 import java.security.Key;
81 protected abstract void engineInit(Key key)
105 protected abstract void engineInit(Key key, AlgorithmParameterSpec params)
130 protected abstract void engineInit(Key key, AlgorithmParameters params)
H A DKeyAgreementSpi.java43 * ({@link #engineDoPhase(java.security.Key, boolean) engineDoPhase}).
85 protected abstract void engineInit(Key key, SecureRandom random)
104 protected abstract void engineInit(Key key, AlgorithmParameterSpec params,
127 protected abstract Key engineDoPhase(Key key, boolean lastPhase)
H A DNullCipherSpi.java69 protected void engineInit(int mode, Key key, SecureRandom random) {}
71 protected void engineInit(int mode, Key key,
75 protected void engineInit(int mode, Key key,
109 protected int engineGetKeySize(Key key)
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DKeyCache.java31 import java.security.Key;
36 * Key to P11Key translation cache. The PKCS#11 token can only perform
53 private WeakReference<Map<Key,P11Key>> cacheReference;
79 synchronized P11Key get(Key key) {
84 Map<Key,P11Key> map =
92 synchronized void put(Key key, P11Key p11Key) {
94 Map<Key,P11Key> map =
97 map = new IdentityHashMap<Key,P11Key>();
98 cacheReference = new WeakReference<Map<Key,P11Key>>(map);
/openjdk7/jdk/src/share/classes/sun/awt/
H A DSunHints.java44 public static class Key extends RenderingHints.Key { class in class:SunHints
49 * subclass of Key maintains its own unique domain of integer
54 * pre-existing instance of that subclass of Key.
56 public Key(int privatekey, String description) { method in class:SunHints.Key
62 * Returns the numeric index associated with this Key. This
71 * Returns a string representation of the Key.
79 * for this Key.
97 private SunHints.Key myKey;
104 private synchronized static void register(SunHints.Key ke
[all...]
/openjdk7/jdk/src/windows/classes/sun/security/mscapi/
H A DKey.java40 abstract class Key implements java.security.Key, Length class in inherits:java.security.Key,Length
47 // Key length
51 * Construct a Key object.
53 protected Key(long hCryptProv, long hCryptKey, int keyLength) method in class:Key
/openjdk7/jdk/test/javax/crypto/SealedObject/
H A DNullKeySealedObject.java27 * @summary (spec) javax.crypto.SealedObject.getObject(Key, String): NPE
43 Key obj = new SecretKeySpec(new byte[8], "ANY");
48 so.getObject((Key)null);
55 so.getObject((Key)null, "ANY");
/openjdk7/jdk/src/share/classes/sun/util/locale/
H A DBaseLocale.java68 CACHE.put(new Key(language, region), base);
85 Key key = new Key(language, script, region, variant);
166 private static final class Key implements Comparable<Key> { class in class:BaseLocale
175 * Creates a Key. language and region must be normalized
178 private Key(String language, String region) { method in class:BaseLocale.Key
198 public Key(String language, String script, String region, String variant) { method in class:BaseLocale.Key
202 private Key(String language, String script, String region, method in class:BaseLocale.Key
248 (obj instanceof Key)
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DRenderingHints.java76 * subclass the associated {@link RenderingHints.Key} class.
80 * which subclass the {@code Key} class and defining the associated values.
94 public abstract static class Key { class in class:RenderingHints
99 // - the name of the subclass of Key
100 // - the identityHashCode of the subclass of Key
101 // - the integer key of the Key
113 private synchronized static void recordIdentity(Key k) {
117 Key otherkey = (Key) ((WeakReference) otherref).get();
127 // will replace the entry for the old Key subclas
156 protected Key(int privatekey) { method in class:RenderingHints.Key
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DContext.java49 * protected static final Context.Key<Phase> phaseKey =
50 * new Context.Key<Phase>();
102 public static class Key<T> { class in class:Context
118 * Key<T> -> T or Key<T> -> Factory<T> */
119 private Map<Key<?>,Object> ht = new HashMap<Key<?>,Object>();
122 public <T> void put(Key<T> key, Factory<T> fac) {
132 public <T> void put(Key<T> key, T data) {
142 public <T> T get(Key<
[all...]
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/algorithms/
H A DSignatureAlgorithmSpi.java23 import java.security.Key;
98 protected abstract void engineInitSign(Key signingKey)
110 Key signingKey, SecureRandom secureRandom) throws XMLSignatureException;
114 * which is executed on the internal {@link javax.crypto.Mac#init(Key)} object.
121 Key signingKey, AlgorithmParameterSpec algorithmParameterSpec)
139 protected abstract void engineInitVerify(Key verificationKey)
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/oa/poa/
H A DActiveObjectMap.java47 public static class Key { class in class:ActiveObjectMap
50 Key(byte[] id) { method in class:ActiveObjectMap.Key
65 if (!(key instanceof Key))
67 Key k = (Key) key;
100 private Map keyToEntry = new HashMap() ; // Map< Key, AOMEntry >
109 public final boolean containsKey(Key key)
117 public final AOMEntry get(Key key)
133 public abstract Key getKey(AOMEntry value) throws WrongPolicy ;
135 public Key getKe
[all...]
H A DPOAPolicyMediatorBase_R.java70 protected Servant internalKeyToServant( ActiveObjectMap.Key key )
81 ActiveObjectMap.Key key = new ActiveObjectMap.Key( id ) ;
85 protected void activateServant( ActiveObjectMap.Key key, AOMEntry entry, Servant servant )
108 ActiveObjectMap.Key key = new ActiveObjectMap.Key( id ) ;
120 ActiveObjectMap.Key key = new ActiveObjectMap.Key( id ) ;
124 protected void deactivateHelper( ActiveObjectMap.Key key, AOMEntry entry,
139 public Servant deactivateObject( ActiveObjectMap.Key ke
[all...]
/openjdk7/jdk/test/javax/crypto/NullCipher/
H A DTestNPE.java32 import java.security.Key;
51 nc.init(Cipher.ENCRYPT_MODE, (Key) null);
52 nc.init(Cipher.ENCRYPT_MODE, (Key) null, (AlgorithmParameters) null);
53 nc.init(Cipher.ENCRYPT_MODE, (Key) null, (AlgorithmParameterSpec) null);
54 nc.init(Cipher.ENCRYPT_MODE, (Key) null, (AlgorithmParameterSpec) null,
56 nc.init(Cipher.ENCRYPT_MODE, (Key) null, (AlgorithmParameters) null,
58 nc.init(Cipher.ENCRYPT_MODE, (Key) null, (SecureRandom) null);
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DAESCipher.java184 protected void engineInit(int opmode, Key key, SecureRandom random)
213 protected void engineInit(int opmode, Key key,
220 protected void engineInit(int opmode, Key key,
369 protected int engineGetKeySize(Key key) throws InvalidKeyException {
394 protected byte[] engineWrap(Key key)
420 protected Key engineUnwrap(byte[] wrappedKey,
H A DBlowfishCipher.java189 protected void engineInit(int opmode, Key key, SecureRandom random)
218 protected void engineInit(int opmode, Key key,
225 protected void engineInit(int opmode, Key key,
375 protected int engineGetKeySize(Key key) throws InvalidKeyException {
395 protected byte[] engineWrap(Key key)
421 protected Key engineUnwrap(byte[] wrappedKey,
H A DDESCipher.java184 protected void engineInit(int opmode, Key key, SecureRandom random)
213 protected void engineInit(int opmode, Key key,
220 protected void engineInit(int opmode, Key key,
370 protected int engineGetKeySize(Key key) throws InvalidKeyException {
395 protected byte[] engineWrap(Key key)
421 protected Key engineUnwrap(byte[] wrappedKey,

Completed in 72 milliseconds

123456789