/libcore/luni/src/main/java/javax/crypto/ |
D | KeyAgreement.java | 205 Engine.SpiAndProvider sap = tryAlgorithmWithProvider(key, service); in tryAlgorithm() local 206 if (sap != null) { in tryAlgorithm() 207 return sap; in tryAlgorithm() 219 Engine.SpiAndProvider sap = ENGINE.getInstance(service, null); in tryAlgorithmWithProvider() local 220 if (sap.spi == null || sap.provider == null) { in tryAlgorithmWithProvider() 223 if (!(sap.spi instanceof KeyAgreementSpi)) { in tryAlgorithmWithProvider() 226 return sap; in tryAlgorithmWithProvider() 241 final Engine.SpiAndProvider sap = tryAlgorithm(key, specifiedProvider, algorithm); in getSpi() local 242 if (sap == null) { in getSpi() 246 spiImpl = (KeyAgreementSpi) sap.spi; in getSpi() [all …]
|
D | Mac.java | 209 Engine.SpiAndProvider sap = tryAlgorithmWithProvider(key, service); in tryAlgorithm() local 210 if (sap != null) { in tryAlgorithm() 211 return sap; in tryAlgorithm() 223 Engine.SpiAndProvider sap = ENGINE.getInstance(service, null); in tryAlgorithmWithProvider() local 224 if (sap.spi == null || sap.provider == null) { in tryAlgorithmWithProvider() 227 if (!(sap.spi instanceof MacSpi)) { in tryAlgorithmWithProvider() 230 return sap; in tryAlgorithmWithProvider() 249 final Engine.SpiAndProvider sap = tryAlgorithm(key, specifiedProvider, algorithm); in getSpi() local 250 if (sap == null) { in getSpi() 259 spiImpl = (MacSpi) sap.spi; in getSpi() [all …]
|
D | Cipher.java | 354 final Engine.SpiAndProvider sap = tryCombinations(key, specifiedProvider, in getSpi() local 356 if (sap == null) { in getSpi() 360 spiImpl = (CipherSpi) sap.spi; in getSpi() 361 provider = sap.provider; in getSpi() 386 Engine.SpiAndProvider sap = null; in tryCombinations() local 389 sap = tryTransform(key, provider, transformParts[0] + "/" + transformParts[1] + "/" in tryCombinations() 391 if (sap != null) { in tryCombinations() 392 return sap; in tryCombinations() 397 sap = tryTransform(key, provider, transformParts[0] + "/" + transformParts[1], in tryCombinations() 399 if (sap != null) { in tryCombinations() [all …]
|
D | SecretKeyFactory.java | 108 Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null); in getInstance() local 109 return new SecretKeyFactory((SecretKeyFactorySpi) sap.spi, sap.provider, algorithm); in getInstance()
|
D | KeyGenerator.java | 103 Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null); in getInstance() local 104 return new KeyGenerator((KeyGeneratorSpi) sap.spi, sap.provider, algorithm); in getInstance()
|
D | ExemptionMechanism.java | 103 Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null); in getInstance() local 104 return new ExemptionMechanism((ExemptionMechanismSpi) sap.spi, sap.provider, algorithm); in getInstance()
|
/libcore/luni/src/main/java/java/security/ |
D | Signature.java | 203 Engine.SpiAndProvider sap = tryAlgorithmWithProvider(key, service); in tryAlgorithm() local 204 if (sap != null) { in tryAlgorithm() 205 return sap; in tryAlgorithm() 217 Engine.SpiAndProvider sap = ENGINE.getInstance(service, null); in tryAlgorithmWithProvider() local 218 if (sap.spi == null || sap.provider == null) { in tryAlgorithmWithProvider() 221 if (!(sap.spi instanceof SignatureSpi)) { in tryAlgorithmWithProvider() 224 return sap; in tryAlgorithmWithProvider() 719 final Engine.SpiAndProvider sap = tryAlgorithm(key, specifiedProvider, algorithm); in getSpi() local 720 if (sap == null) { in getSpi() 724 spiImpl = (SignatureSpi) sap.spi; in getSpi() [all …]
|
D | MessageDigest.java | 91 Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null); in getInstance() local 92 Object spi = sap.spi; in getInstance() 93 Provider provider = sap.provider; in getInstance() 100 return new MessageDigestImpl((MessageDigestSpi) sap.spi, sap.provider, algorithm); in getInstance()
|
D | AlgorithmParameterGenerator.java | 93 Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null); in getInstance() local 94 return new AlgorithmParameterGenerator((AlgorithmParameterGeneratorSpi) sap.spi, in getInstance() 95 sap.provider, algorithm); in getInstance()
|
D | KeyFactory.java | 81 Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null); in getInstance() local 82 return new KeyFactory((KeyFactorySpi) sap.spi, sap.provider, algorithm); in getInstance()
|
D | AlgorithmParameters.java | 97 Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null); in getInstance() local 98 return new AlgorithmParameters((AlgorithmParametersSpi) sap.spi, sap.provider, algorithm); in getInstance()
|
D | KeyPairGenerator.java | 85 Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null); in getInstance() local 86 Object spi = sap.spi; in getInstance() 87 Provider provider = sap.provider; in getInstance()
|
D | SecureRandom.java | 156 Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null); in getInstance() local 157 return new SecureRandom((SecureRandomSpi) sap.spi, sap.provider, in getInstance()
|
D | KeyStore.java | 116 Engine.SpiAndProvider sap = ENGINE.getInstance(type, null); in getInstance() local 117 return new KeyStore((KeyStoreSpi) sap.spi, sap.provider, type); in getInstance()
|
/libcore/luni/src/main/java/java/security/cert/ |
D | CertPathValidator.java | 106 Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null); in getInstance() local 107 return new CertPathValidator((CertPathValidatorSpi) sap.spi, sap.provider, algorithm); in getInstance()
|
D | CertPathBuilder.java | 106 Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null); in getInstance() local 107 return new CertPathBuilder((CertPathBuilderSpi) sap.spi, sap.provider, algorithm); in getInstance()
|
D | CertificateFactory.java | 90 Engine.SpiAndProvider sap = ENGINE.getInstance(type, null); in getInstance() local 91 return new CertificateFactory((CertificateFactorySpi) sap.spi, sap.provider, type); in getInstance()
|
D | CertStore.java | 103 Engine.SpiAndProvider sap = ENGINE.getInstance(type, params); in getInstance() local 104 return new CertStore((CertStoreSpi) sap.spi, sap.provider, type, params); in getInstance()
|
/libcore/luni/src/main/java/javax/net/ssl/ |
D | TrustManagerFactory.java | 76 Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null); in getInstance() local 77 return new TrustManagerFactory((TrustManagerFactorySpi) sap.spi, sap.provider, algorithm); in getInstance()
|
D | KeyManagerFactory.java | 77 Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null); in getInstance() local 78 return new KeyManagerFactory((KeyManagerFactorySpi) sap.spi, sap.provider, algorithm); in getInstance()
|
D | SSLContext.java | 138 Engine.SpiAndProvider sap = ENGINE.getInstance(protocol, null); in getInstance() local 139 return new SSLContext((SSLContextSpi) sap.spi, sap.provider, protocol); in getInstance()
|