/libcore/ojluni/src/main/java/javax/crypto/ |
D | Mac.java | 171 private MacSpi spi; field in Mac 206 this.spi = macSpi; in Mac() 367 if (spi != null || lock == null) { in chooseFirstProvider() 371 if (spi != null) { in chooseFirstProvider() 400 spi = (MacSpi)obj; in chooseFirstProvider() 427 if (spi != null && (key == null || lock == null)) { in chooseProvider() 428 spi.engineInit(key, params); in chooseProvider() 442 MacSpi spi = (MacSpi)s.newInstance(null); in chooseProvider() local 443 spi.engineInit(key, params); in chooseProvider() 445 this.spi = spi; in chooseProvider() [all …]
|
D | KeyAgreement.java | 106 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 …]
|
D | KeyGenerator.java | 190 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 …]
|
D | SecretKeyFactory.java | 276 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 …]
|
D | Cipher.java | 319 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/ |
D | KeyPairGenerator.java | 192 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 …]
|
D | KeyFactory.java | 131 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 …]
|
D | Signature.java | 394 SignatureSpi spi = (SignatureSpi)instance.impl; in getInstance() local 395 sig = new Delegate(spi, algorithm); in getInstance() 1309 SignatureSpi spi = newInstance(s); in chooseProvider() local 1310 init(spi, type, key, random); in chooseProvider() 1312 sigSpi = spi; in chooseProvider() 1350 private void init(SignatureSpi spi, int type, Key key, in init() argument 1354 spi.engineInitVerify((PublicKey)key); in init() 1357 spi.engineInitSign((PrivateKey)key); in init() 1360 spi.engineInitSign((PrivateKey)key, random); in init()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/ |
D | MockAbstractSelector.java | 17 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;
|
D | AbstractSelectionKeyTest.java | 17 package org.apache.harmony.tests.java.nio.channels.spi; 22 import java.nio.channels.spi.AbstractSelectionKey;
|
D | AbstractInterruptibleChannelTest.java | 17 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/ |
D | TEST_MAPPING | 7 "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/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLContext1Test.java | 103 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 …]
|
D | SSLContextSpiTest.java | 224 SpiWithSocketFactory spi = new SpiWithSocketFactory(); in getSslParameters() local 225 spi.engineInit(getKeyManagers(), getTrustManagers(), getSecureRandom()); in getSslParameters() 227 SSLParameters defaultParams = spi.engineGetDefaultSSLParameters(); in getSslParameters() 236 SSLParameters supportedParams = spi.engineGetSupportedSSLParameters(); in getSslParameters()
|
/libcore/ojluni/annotations/hiddenapi/sun/nio/ch/ |
D | SelectorImpl.java | 29 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/ojluni/src/main/java/sun/nio/fs/ |
D | DefaultFileTypeDetector.java | 29 import java.nio.file.spi.FileTypeDetector; 30 import java.nio.file.spi.FileSystemProvider;
|
/libcore/luni/src/test/java/libcore/java/nio/file/spi/ |
D | FileTypeDetectorTest.java | 1 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/ |
D | SelectorProviderTest.java | 17 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/ |
D | SelectableChannel.java | 29 import java.nio.channels.spi.AbstractInterruptibleChannel; 30 import java.nio.channels.spi.SelectorProvider;
|
D | ServerSocketChannel.java | 32 import java.nio.channels.spi.AbstractSelectableChannel; 33 import java.nio.channels.spi.SelectorProvider;
|
D | DatagramChannel.java | 34 import java.nio.channels.spi.AbstractSelectableChannel; 35 import java.nio.channels.spi.SelectorProvider;
|
D | SocketChannel.java | 33 import java.nio.channels.spi.AbstractSelectableChannel; 34 import java.nio.channels.spi.SelectorProvider;
|
/libcore/luni/src/test/java/libcore/java/nio/channels/spi/ |
D | AsynchronousChannelProviderTest.java | 17 package libcore.java.nio.channels.spi; 22 import java.nio.channels.spi.AsynchronousChannelProvider;
|
/libcore/luni/src/module/java/ |
D | module-info.java | 32 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/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | AlgorithmParameterGenerator1Test.java | 363 AlgorithmParameterGeneratorSpi spi = new MyAlgorithmParameterGeneratorSpi(); in testConstructor() local 365 new myAlgPG(spi, validProvider, validAlgName); in testConstructor() 388 public myAlgPG(AlgorithmParameterGeneratorSpi spi, Provider prov, String alg) { in myAlgPG() argument 389 super(spi, prov, alg); in myAlgPG()
|