Searched refs:Key (Results 26 - 50 of 284) sorted by relevance

1234567891011>>

/openjdk10/jdk/src/java.base/share/classes/javax/crypto/
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)
/openjdk10/jdk/src/jdk.crypto.ucrypto/solaris/classes/com/oracle/security/ucrypto/
H A DNativeRSAKeyFactory.java36 import java.security.Key;
72 engineGetKeySpec(Key key, Class<T> keySpec)
78 protected Key engineTranslateKey(Key key) throws InvalidKeyException {
/openjdk10/langtools/src/jdk.jshell/share/classes/jdk/jshell/
H A DPersistentSnippet.java42 PersistentSnippet(Key key, String userSource, Wrap guts, String unitName,
H A DStatementSnippet.java28 import jdk.jshell.Key.StatementKey;
H A DErroneousSnippet.java28 import jdk.jshell.Key.ErroneousKey;
H A DKeyMap.java31 import jdk.jshell.Key.TypeDeclKey;
32 import jdk.jshell.Key.ErroneousKey;
33 import jdk.jshell.Key.ExpressionKey;
34 import jdk.jshell.Key.ImportKey;
35 import jdk.jshell.Key.MethodKey;
36 import jdk.jshell.Key.StatementKey;
37 import jdk.jshell.Key.VarKey;
43 * Maps signature to Key by Kind.
H A DExpressionSnippet.java28 import jdk.jshell.Key.ExpressionKey;
/openjdk10/jdk/test/javax/crypto/NullCipher/
H A DTestNPE.java35 import java.security.Key;
54 nc.init(Cipher.ENCRYPT_MODE, (Key) null);
55 nc.init(Cipher.ENCRYPT_MODE, (Key) null, (AlgorithmParameters) null);
56 nc.init(Cipher.ENCRYPT_MODE, (Key) null, (AlgorithmParameterSpec) null);
57 nc.init(Cipher.ENCRYPT_MODE, (Key) null, (AlgorithmParameterSpec) null,
59 nc.init(Cipher.ENCRYPT_MODE, (Key) null, (AlgorithmParameters) null,
61 nc.init(Cipher.ENCRYPT_MODE, (Key) null, (SecureRandom) null);
/openjdk10/jdk/src/java.naming/share/classes/sun/security/provider/certpath/ldap/
H A DLDAPCertStore.java139 Key k = new Key(serverName, port);
153 private static class Key { class in class:LDAPCertStore
159 Key(String serverName, int port) { method in class:LDAPCertStore.Key
166 if (!(obj instanceof Key)) {
169 Key key = (Key) obj;
192 private static final Cache<Key, LDAPCertStoreImpl>
200 Key k = new Key(serverNam
[all...]
/openjdk10/jdk/src/java.base/share/classes/com/sun/crypto/provider/
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,
H A DRC2Cipher.java78 protected void engineInit(int opmode, Key key, SecureRandom random)
84 protected void engineInit(int opmode, Key key,
96 protected void engineInit(int opmode, Key key,
134 protected int engineGetKeySize(Key key) throws InvalidKeyException {
140 protected byte[] engineWrap(Key key)
145 protected Key engineUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm,
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 DDESedeCipher.java164 protected void engineInit(int opmode, Key key, SecureRandom random)
193 protected void engineInit(int opmode, Key key,
200 protected void engineInit(int opmode, Key key,
367 protected int engineGetKeySize(Key key) throws InvalidKeyException {
393 protected byte[] engineWrap(Key key)
419 protected Key engineUnwrap(byte[] wrappedKey,
H A DPBEWithMD5AndTripleDESCipher.java194 protected void engineInit(int opmode, Key key, SecureRandom random)
226 protected void engineInit(int opmode, Key key,
233 protected void engineInit(int opmode, Key key,
382 protected int engineGetKeySize(Key key) throws InvalidKeyException {
402 protected byte[] engineWrap(Key key)
428 protected Key engineUnwrap(byte[] wrappedKey,
H A DPBEWithMD5AndDESCipher.java182 protected void engineInit(int opmode, Key key, SecureRandom random)
217 protected void engineInit(int opmode, Key key,
224 protected void engineInit(int opmode, Key key,
372 protected int engineGetKeySize(Key key) throws InvalidKeyException {
394 protected byte[] engineWrap(Key key)
420 protected Key engineUnwrap(byte[] wrappedKey,
H A DARCFOURCipher.java154 protected void engineInit(int opmode, Key key, SecureRandom random)
160 protected void engineInit(int opmode, Key key,
171 protected void engineInit(int opmode, Key key,
182 private void init(int opmode, Key key) throws InvalidKeyException {
192 private static byte[] getEncodedKey(Key key) throws InvalidKeyException {
198 throw new InvalidKeyException("Key encoding format must be RAW");
203 ("Key length must be between 40 and 1024 bit");
241 protected byte[] engineWrap(Key key) throws IllegalBlockSizeException,
251 protected Key engineUnwrap(byte[] wrappedKey, String algorithm,
258 protected int engineGetKeySize(Key ke
[all...]
H A DPKCS12PBECipherCore.java251 void implInit(int opmode, Key key, AlgorithmParameterSpec params,
257 void implInit(int opmode, Key key, AlgorithmParameterSpec params,
355 void implInit(int opmode, Key key, AlgorithmParameters params,
361 void implInit(int opmode, Key key, AlgorithmParameters params,
376 void implInit(int opmode, Key key, SecureRandom random)
381 void implInit(int opmode, Key key, SecureRandom random,
411 int implGetKeySize(Key key) throws InvalidKeyException {
415 byte[] implWrap(Key key) throws IllegalBlockSizeException,
420 Key implUnwrap(byte[] wrappedKey, String wrappedKeyAlgorithm,
448 protected int engineGetKeySize(Key ke
[all...]
/openjdk10/jdk/test/com/sun/crypto/provider/KeyAgreement/
H A DSameDHKeyStressTest.java34 import java.security.Key;
78 Key[] keyArchives = new Key[numParties];
95 Key[] keyBuffer = new Key[numParties];
152 public Key doPhase(Key key, boolean lastPhase) throws InvalidKeyException {
156 public Key getPublicKey() {
/openjdk10/jdk/src/java.base/share/classes/sun/security/util/
H A DConstraintsParameters.java31 import java.security.Key;
52 // Public Key being checked against constraints
53 private final Key publicKey;
83 Key key, String variant) {
112 public Key getPublicKey() {
/openjdk10/jdk/src/jdk.crypto.mscapi/windows/classes/sun/security/mscapi/
H A DRSACipher.java30 import java.security.Key;
96 private sun.security.mscapi.Key publicKey;
99 private sun.security.mscapi.Key privateKey;
156 protected void engineInit(int opmode, Key key, SecureRandom random)
163 protected void engineInit(int opmode, Key key,
179 protected void engineInit(int opmode, Key key,
191 private void init(int opmode, Key key) throws InvalidKeyException {
210 if (!(key instanceof sun.security.mscapi.Key)) {
250 publicKey = (sun.security.mscapi.Key)key;
255 privateKey = (sun.security.mscapi.Key)ke
[all...]
/openjdk10/jdk/test/sun/security/mscapi/
H A DRSAEncryptDecrypt.java33 import java.security.Key;
44 Key publicKey = keyPair.getPublic();
45 Key privateKey = keyPair.getPrivate();
/openjdk10/jdk/test/sun/security/rsa/
H A DSignatureTest.java24 import java.security.Key;
97 Key[] privs = manipulateKey(PRIVATE_KEY, kpair.getPrivate());
98 Key[] pubs = manipulateKey(PUBLIC_KEY, kpair.getPublic());
123 private static Key[] manipulateKey(int type, Key key)
136 return new Key[]{
150 return new Key[]{
/openjdk10/jdk/test/javax/crypto/Cipher/
H A DByteBuffersNull.java37 import java.security.Key;
153 public void engineInit(int opmode, Key key, SecureRandom random)
156 public void engineInit(int opmode, Key key,
160 public void engineInit(int opmode, Key key, AlgorithmParameters params,
186 public byte[] engineWrap(Key key)
191 public Key engineUnwrap(byte[] wKey, String wKeyAlgorithm,
197 public int engineGetKeySize(Key key) throws InvalidKeyException {
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/oa/poa/
H A DPOAPolicyMediatorImpl_R_USM.java78 private AOMEntry enterEntry( ActiveObjectMap.Key key )
106 ActiveObjectMap.Key key = new ActiveObjectMap.Key( id ) ;
231 ActiveObjectMap.Key key = new ActiveObjectMap.Key( id ) ;
243 ActiveObjectMap.Key[] keys =
244 (ActiveObjectMap.Key[])keySet.toArray(
245 new ActiveObjectMap.Key[ keySet.size() ] ) ;
248 ActiveObjectMap.Key key = keys[ctr] ;
307 private ActiveObjectMap.Key ke
[all...]
/openjdk10/jdk/src/java.base/share/classes/java/security/
H A DProtectionDomain.java133 static final class Key {} class in class:ProtectionDomain
157 final Key key = new Key();
588 private final ReferenceQueue<Key> queue = new ReferenceQueue<>();
610 private static void processQueue(ReferenceQueue<Key> queue,
612 WeakReference<Key>, ?> pdMap) {
613 Reference<? extends Key> ref;
623 private static class WeakProtectionDomainKey extends WeakReference<Key> {
633 private static final Key NULL_KEY = new Key();
[all...]

Completed in 257 milliseconds

1234567891011>>