Home
last modified time | relevance | path

Searched refs:spi (Results 1 – 25 of 119) sorted by relevance

12345

/libcore/ojluni/src/main/java/javax/crypto/
DKeyAgreement.java106 private KeyAgreementSpi spi; field in KeyAgreement
139 this.spi = keyAgreeSpi; in KeyAgreement()
314 if (spi != null) { in chooseFirstProvider()
318 if (spi != null) { in chooseFirstProvider()
347 spi = (KeyAgreementSpi)obj; in chooseFirstProvider()
372 private void implInit(KeyAgreementSpi spi, int type, Key key, in implInit() argument
376 spi.engineInit(key, random); in implInit()
378 spi.engineInit(key, params, random); in implInit()
388 if (spi != null && key == null) { in chooseProvider()
389 implInit(spi, initType, key, params, random); in chooseProvider()
[all …]
DKeyGenerator.java190 private volatile KeyGeneratorSpi spi; field in KeyGenerator
213 this.spi = keyGenSpi; in KeyGenerator()
404 if ((oldSpi != null) && (oldSpi != spi)) { in nextSpi()
405 return spi; in nextSpi()
421 KeyGeneratorSpi spi = (KeyGeneratorSpi)inst; in nextSpi() local
424 spi.engineInit(initKeySize, initRandom); in nextSpi()
426 spi.engineInit(initParams, initRandom); in nextSpi()
428 spi.engineInit(initRandom); in nextSpi()
435 this.spi = spi; in nextSpi()
436 return spi; in nextSpi()
[all …]
DSecretKeyFactory.java276 private volatile SecretKeyFactorySpi spi; field in SecretKeyFactory
294 this.spi = keyFacSpi; in SecretKeyFactory()
475 if ((oldSpi != null) && (oldSpi != spi)) { in nextSpi()
476 return spi; in nextSpi()
491 SecretKeyFactorySpi spi = (SecretKeyFactorySpi)obj; in nextSpi() local
493 this.spi = spi; in nextSpi()
494 return spi; in nextSpi()
518 return spi.engineGenerateSecret(keySpec); in generateSecret()
521 SecretKeyFactorySpi mySpi = spi; in generateSecret()
562 return spi.engineGetKeySpec(key, keySpec); in getKeySpec()
[all …]
DCipher.java319 private CipherSpi spi; field in Cipher
391 this.spi = cipherSpi; in Cipher()
404 this.spi = cipherSpi; in Cipher()
754 spiAndProviderUpdater.updateAndGetSpiAndProvider(null, spi, provider); in updateProviderIfNeeded()
773 spiAndProviderUpdater.updateAndGetSpiAndProvider(initParams, spi, provider); in chooseProvider()
823 return spi.engineGetBlockSize(); in getBlockSize()
856 return spi.engineGetOutputSize(inputLen); in getOutputSize()
872 return spi.engineGetIV(); in getIV()
888 return spi.engineGetParameters(); in getParameters()
1682 return spi.engineUpdate(input, 0, input.length); in update()
[all …]
/libcore/ojluni/src/main/java/java/security/
DKeyPairGenerator.java192 KeyPairGeneratorSpi spi = (KeyPairGeneratorSpi)instance.impl; in getInstance() local
193 kpg = new Delegate(spi, algorithm); in getInstance()
571 private volatile KeyPairGeneratorSpi spi; field in KeyPairGenerator.Delegate
587 Delegate(KeyPairGeneratorSpi spi, String algorithm) { in Delegate() argument
589 this.spi = spi; in Delegate()
595 spi = (KeyPairGeneratorSpi)instance.impl; in Delegate()
620 if ((oldSpi != null) && (oldSpi != spi)) { in nextSpi()
621 return spi; in nextSpi()
637 KeyPairGeneratorSpi spi = (KeyPairGeneratorSpi)inst; in nextSpi() local
640 spi.initialize(initKeySize, initRandom); in nextSpi()
[all …]
DKeyFactory.java131 private volatile KeyFactorySpi spi; field in KeyFactory
150 this.spi = keyFacSpi; in KeyFactory()
315 if ((oldSpi != null) && (oldSpi != spi)) { in nextSpi()
316 return spi; in nextSpi()
328 KeyFactorySpi spi = (KeyFactorySpi)obj; in nextSpi() local
330 this.spi = spi; in nextSpi()
331 return spi; in nextSpi()
355 return spi.engineGeneratePublic(keySpec); in generatePublic()
358 KeyFactorySpi mySpi = spi; in generatePublic()
393 return spi.engineGeneratePrivate(keySpec); in generatePrivate()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/
DMockAbstractSelector.java17 package org.apache.harmony.tests.java.nio.channels.spi;
22 import java.nio.channels.spi.AbstractSelectableChannel;
23 import java.nio.channels.spi.AbstractSelectionKey;
24 import java.nio.channels.spi.AbstractSelector;
25 import java.nio.channels.spi.SelectorProvider;
DAbstractSelectionKeyTest.java17 package org.apache.harmony.tests.java.nio.channels.spi;
22 import java.nio.channels.spi.AbstractSelectionKey;
DAbstractInterruptibleChannelTest.java17 package org.apache.harmony.tests.java.nio.channels.spi;
21 import java.nio.channels.spi.AbstractInterruptibleChannel;
/libcore/ojluni/src/main/java/java/nio/channels/spi/
DTEST_MAPPING7 "include-filter": "libcore.java.nio.channels.spi"
10 "include-filter": "org.apache.harmony.nio.tests.java.nio.channels.spi"
13 "include-filter": "org.apache.harmony.tests.java.nio.channels.spi"
/libcore/luni/src/test/java/libcore/java/security/
DPolicySpiTest.java58 private static final TestPolicySpi spi = new TestPolicySpi(); field in PolicySpiTest
62 spi.engineRefresh(); in testEngineRefresh_doesntThrow()
68 spi.engineGetPermissions((CodeSource) null)); in testEngineGetPermissions()
70 spi.engineGetPermissions((ProtectionDomain) null)); in testEngineGetPermissions()
/libcore/luni/src/test/java/tests/security/cert/
DCertPathValidatorSpiTest.java38 CertPathValidatorSpi spi = new PathValidatorSpiNoRevocation(); in engineGetRevocationChecker_Unsupported() local
40 spi.engineGetRevocationChecker(); in engineGetRevocationChecker_Unsupported()
49 CertPathValidatorSpi spi = new PathValidatorSpiWithRevocation(); in engineGetRevocationChecker_Supported() local
50 assertEquals(PathChecker.class, spi.engineGetRevocationChecker().getClass()); in engineGetRevocationChecker_Supported()
/libcore/ojluni/src/main/java/sun/nio/fs/
DDefaultFileTypeDetector.java29 import java.nio.file.spi.FileTypeDetector;
30 import java.nio.file.spi.FileSystemProvider;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLContext1Test.java103 SSLContextSpi spi = new MySSLContextSpi(); in test_ConstructorLjavax_net_ssl_SSLContextSpiLjava_security_ProviderLjava_lang_String() local
104 SSLContext sslContext = new MySslContext(spi, defaultProvider, in test_ConstructorLjavax_net_ssl_SSLContextSpiLjava_security_ProviderLjava_lang_String()
145 SSLContextSpi spi = new MySSLContextSpi(); in test_createSSLEngine() local
146 SSLContext sslContext = new MySslContext(spi, defaultProvider, in test_createSSLEngine()
160 SSLContextSpi spi = new MySSLContextSpi(); in test_createSSLEngineLjava_lang_StringI() local
161 SSLContext sslContext = new MySslContext(spi, defaultProvider, in test_createSSLEngineLjava_lang_StringI()
399 SSLContextSpi spi = new MySSLContextSpi(); in test_getProtocol() local
400 SSLContext sslContext = new MySslContext(spi, defaultProvider, in test_getProtocol()
404 sslContext = new MySslContext(spi, defaultProvider, in test_getProtocol()
426 SSLContextSpi spi = new MySSLContextSpi(); in test_getProvider() local
[all …]
/libcore/ojluni/annotations/hiddenapi/sun/nio/ch/
DSelectorImpl.java29 import java.nio.channels.spi.*;
33 public abstract class SelectorImpl extends java.nio.channels.spi.AbstractSelector {
35 protected SelectorImpl(java.nio.channels.spi.SelectorProvider sp) { in SelectorImpl()
77 java.nio.channels.spi.AbstractSelectableChannel ch, in register()
/libcore/luni/src/test/java/libcore/java/nio/file/spi/
DFileTypeDetectorTest.java1 package libcore.java.nio.file.spi;
6 import java.nio.file.spi.FileTypeDetector;
/libcore/luni/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/spi/
DSelectorProviderTest.java17 package org.apache.harmony.nio.tests.java.nio.channels.spi;
19 import java.nio.channels.spi.SelectorProvider;
/libcore/ojluni/src/main/java/java/nio/channels/
DSelectableChannel.java29 import java.nio.channels.spi.AbstractInterruptibleChannel;
30 import java.nio.channels.spi.SelectorProvider;
DServerSocketChannel.java32 import java.nio.channels.spi.AbstractSelectableChannel;
33 import java.nio.channels.spi.SelectorProvider;
DDatagramChannel.java34 import java.nio.channels.spi.AbstractSelectableChannel;
35 import java.nio.channels.spi.SelectorProvider;
DSocketChannel.java33 import java.nio.channels.spi.AbstractSelectableChannel;
34 import java.nio.channels.spi.SelectorProvider;
/libcore/luni/src/test/java/libcore/java/nio/channels/spi/
DAsynchronousChannelProviderTest.java17 package libcore.java.nio.channels.spi;
22 import java.nio.channels.spi.AsynchronousChannelProvider;
/libcore/luni/src/module/java/
Dmodule-info.java32 exports java.nio.channels.spi;
34 exports java.nio.charset.spi;
37 exports java.nio.file.spi;
80 exports sun.net.spi;
81 exports sun.net.spi.nameservice;
/libcore/ojluni/src/main/java/java/nio/file/spi/
DTEST_MAPPING7 "include-filter": "libcore.java.nio.file.spi"
/libcore/ojluni/src/main/java/sun/net/spi/nameservice/
DNameService.java26 package sun.net.spi.nameservice;

12345