Searched refs:Key (Results 51 - 75 of 209) sorted by relevance

123456789

/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/keys/keyresolver/implementations/
H A DEncryptedKeyResolver.java23 import java.security.Key;
59 Key _kek;
78 public EncryptedKeyResolver(String algorithm, Key kek) {
112 log.log(java.util.logging.Level.FINE, "Passed an Encrypted Key");
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DConstructKeys.java28 import java.security.Key;
171 static final Key constructKey(byte[] encoding, String keyAlgorithm,
174 Key result = null;
H A DCipherWithWrappingSpi.java28 import java.security.Key;
78 protected final byte[] engineWrap(Key key)
119 protected final Key engineUnwrap(byte[] wrappedKey,
125 Key result = null;
H A DDHKeyFactory.java30 import java.security.Key;
143 protected KeySpec engineGetKeySpec(Key key, Class keySpec)
199 protected Key engineTranslateKey(Key key)
H A DAESWrapCipher.java37 * "XML Encryption Syntax and Processing" section 5.6.3 "AES Key Wrap".
163 protected void engineInit(int opmode, Key key, SecureRandom random)
197 protected void engineInit(int opmode, Key key,
228 protected void engineInit(int opmode, Key key,
347 protected int engineGetKeySize(Key key) throws InvalidKeyException {
372 protected byte[] engineWrap(Key key)
434 protected Key engineUnwrap(byte[] wrappedKey,
H A DDESedeWrapCipher.java38 * "CMS Triple DES Key Wrap".
67 private Key cipherKey = null;
176 protected void engineInit(int opmode, Key key, SecureRandom random)
211 protected void engineInit(int opmode, Key key,
271 protected void engineInit(int opmode, Key key,
423 protected int engineGetKeySize(Key key) throws InvalidKeyException {
449 protected byte[] engineWrap(Key key)
513 protected Key engineUnwrap(byte[] wrappedKey,
H A DRSACipher.java201 protected void engineInit(int opmode, Key key, SecureRandom random)
216 protected void engineInit(int opmode, Key key,
223 protected void engineInit(int opmode, Key key,
243 private void init(int opmode, Key key, SecureRandom random,
401 protected byte[] engineWrap(Key key) throws InvalidKeyException,
408 throw new InvalidKeyException("Key is too long for wrapping");
420 protected Key engineUnwrap(byte[] wrappedKey, String algorithm,
423 throw new InvalidKeyException("Key is too long for unwrapping");
439 protected int engineGetKeySize(Key key) throws InvalidKeyException {
H A DDHKeyAgreement.java33 import java.security.Key;
89 protected void engineInit(Key key, SecureRandom random)
115 protected void engineInit(Key key, AlgorithmParameterSpec params,
180 protected Key engineDoPhase(Key key, boolean lastPhase)
285 ("Key agreement has not been completed yet");
403 throw new InvalidKeyException("Key material is too short");
H A DPBECipherCore.java213 void init(int opmode, Key key, AlgorithmParameterSpec params,
261 private byte[] deriveCipherKey(Key key) {
323 void init(int opmode, Key key, AlgorithmParameters params,
484 byte[] wrap(Key key)
524 Key unwrap(byte[] wrappedKey,
/openjdk7/jdk/test/java/security/Provider/
H A DSupportsParameter.java93 Key secretKeySpec = new SecretKeySpec(new byte[8], "DES");
98 private static void checkSupports(Service s, Key key, boolean r) throws Exception {
131 private static class MyKey implements Key {
/openjdk7/jdk/test/com/sun/crypto/provider/KeyGenerator/
H A DTestExplicitKeyLength.java46 Key generatedKey = kg.generateKey();
/openjdk7/jdk/test/sun/security/rsa/
H A DTestKeyFactory.java56 private static void testKey(Key key1, Key key2) throws Exception {
117 private static void test(KeyFactory kf, Key key) throws Exception {
134 Key key = null;
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11ECDHKeyAgreement.java72 protected void engineInit(Key key, SecureRandom random)
76 ("Key must be instance of PrivateKey");
83 protected void engineInit(Key key, AlgorithmParameterSpec params,
94 protected Key engineDoPhase(Key key, boolean lastPhase)
108 ("Key must be a PublicKey with algorithm EC");
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DDSAKeyFactory.java30 import java.security.Key;
178 T engineGetKeySpec(Key key, Class<T> keySpec)
256 protected Key engineTranslateKey(Key key) throws InvalidKeyException {
/openjdk7/jdk/test/sun/security/pkcs11/rsa/
H A DTestKeyFactory.java57 private static void testKey(Key key1, Key key2) throws Exception {
119 private static void test(KeyFactory kf, Key key) throws Exception {
140 Key key = null;
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/oa/poa/
H A DPOAPolicyMediatorImpl_R_UDS.java106 ActiveObjectMap.Key key = new ActiveObjectMap.Key( id ) ;
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/DES/
H A DKeyWrapping.java88 Key unwrappedPub = c1.unwrap(wrappedPub, "DSA",
90 Key unwrappedPri = c1.unwrap(wrappedPri, "DSA",
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/
H A DAptEnv.java55 private static final Context.Key<AptEnv> aptEnvKey =
56 new Context.Key<AptEnv>();
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/code/
H A DDeferredLintHandler.java44 protected static final Context.Key<DeferredLintHandler> deferredLintHandlerKey =
45 new Context.Key<DeferredLintHandler>();
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/parser/
H A DKeywords.java44 public static final Context.Key<Keywords> keywordsKey =
45 new Context.Key<Keywords>();
H A DParserFactory.java46 protected static final Context.Key<ParserFactory> parserFactoryKey = new Context.Key<ParserFactory>();
/openjdk7/jdk/src/macosx/classes/apple/laf/
H A DJRSUIControl.java92 private final HashMap<Key, DoubleValue> nativeMap;
93 private final HashMap<Key, DoubleValue> changes;
104 nativeMap = new HashMap<Key, DoubleValue>();
105 changes = new HashMap<Key, DoubleValue>();
112 nativeMap = new HashMap<Key, DoubleValue>();
113 changes = new HashMap<Key, DoubleValue>(other.nativeMap);
135 for (final JRSUIConstants.Key key : new HashSet<JRSUIConstants.Key>(changes.keySet())) {
172 private synchronized void set(final JRSUIConstants.Key key, final JRSUIConstants.DoubleValue value) {
191 void set(final JRSUIConstants.Key ke
[all...]
H A DJRSUIState.java128 control.set(Key.ANIMATION_FRAME, animationFrame);
175 control.set(Key.VALUE, value);
204 control.set(Key.WINDOW_TITLE_BAR_HEIGHT, value);
248 control.set(Key.THUMB_PROPORTION, thumbProportion);
249 control.set(Key.THUMB_START, thumbStart);
/openjdk7/jdk/src/share/classes/java/security/
H A DProtectionDomain.java116 final Key key = new Key();
451 final class Key {} class in class:ProtectionDomain
458 private final Map<Key, PermissionCollection> map =
460 (new WeakHashMap<Key, PermissionCollection>());
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/algorithms/implementations/
H A DSignatureBaseRSA.java25 import java.security.Key;
108 protected void engineInitVerify(Key publicKey) throws XMLSignatureException {
150 protected void engineInitSign(Key privateKey, SecureRandom secureRandom)
171 protected void engineInitSign(Key privateKey) throws XMLSignatureException {
236 Key signingKey, AlgorithmParameterSpec algorithmParameterSpec)

Completed in 53 milliseconds

123456789