Home
last modified time | relevance | path

Searched refs:spiImpl (Results 1 – 19 of 19) sorted by relevance

/libcore/luni/src/main/java/javax/net/ssl/
DSSLContext.java278 private final SSLContextSpi spiImpl; field in SSLContext
295 this.spiImpl = contextSpi; in SSLContext()
349 spiImpl.engineInit(km, tm, sr); in init()
358 return spiImpl.engineGetSocketFactory(); in getSocketFactory()
367 return spiImpl.engineGetServerSocketFactory(); in getServerSocketFactory()
378 return spiImpl.engineCreateSSLEngine(); in createSSLEngine()
394 return spiImpl.engineCreateSSLEngine(peerHost, peerPort); in createSSLEngine()
406 return spiImpl.engineGetServerSessionContext(); in getServerSessionContext()
418 return spiImpl.engineGetClientSessionContext(); in getClientSessionContext()
429 return spiImpl.engineGetDefaultSSLParameters(); in getDefaultSSLParameters()
[all …]
DTrustManagerFactory.java143 private final TrustManagerFactorySpi spiImpl; field in TrustManagerFactory
162 this.spiImpl = factorySpi; in TrustManagerFactory()
195 spiImpl.engineInit(ks); in init()
209 spiImpl.engineInit(spec); in init()
219 return spiImpl.engineGetTrustManagers(); in getTrustManagers()
DKeyManagerFactory.java144 private final KeyManagerFactorySpi spiImpl; field in KeyManagerFactory
163 this.spiImpl = factorySpi; in KeyManagerFactory()
201 spiImpl.engineInit(ks, password); in init()
214 spiImpl.engineInit(spec); in init()
224 return spiImpl.engineGetKeyManagers(); in getKeyManagers()
/libcore/luni/src/main/java/java/security/
DAlgorithmParameters.java49 private final AlgorithmParametersSpi spiImpl; field in AlgorithmParameters
76 this.spiImpl = algPramSpi; in AlgorithmParameters()
195 spiImpl.engineInit(paramSpec); in init()
214 spiImpl.engineInit(params); in init()
234 spiImpl.engineInit(params, format); in init()
257 return spiImpl.engineGetParameterSpec(paramSpec); in getParameterSpec()
273 return spiImpl.engineGetEncoded(); in getEncoded()
291 return spiImpl.engineGetEncoded(format); in getEncoded()
305 return spiImpl.engineToString(); in toString()
DAlgorithmParameterGenerator.java42 private final AlgorithmParameterGeneratorSpi spiImpl; field in AlgorithmParameterGenerator
63 this.spiImpl = paramGenSpi; in AlgorithmParameterGenerator()
180 spiImpl.engineInit(size, RANDOM); in init()
194 spiImpl.engineInit(size, random); in init()
209 spiImpl.engineInit(genParamSpec, RANDOM); in init()
225 spiImpl.engineInit(genParamSpec, random); in init()
235 return spiImpl.engineGenerateParameters(); in generateParameters()
DKeyFactory.java41 private final KeyFactorySpi spiImpl; field in KeyFactory
62 this.spiImpl = keyFacSpi; in KeyFactory()
172 return spiImpl.engineGeneratePublic(keySpec); in generatePublic()
187 return spiImpl.engineGeneratePrivate(keySpec); in generatePrivate()
205 return spiImpl.engineGetKeySpec(key, keySpec); in getKeySpec()
220 return spiImpl.engineTranslateKey(key); in translateKey()
DMessageDigest.java373 private MessageDigestSpi spiImpl; field in MessageDigest.MessageDigestImpl
380 spiImpl = messageDigestSpi; in MessageDigestImpl()
386 spiImpl.engineReset(); in engineReset()
392 return spiImpl.engineDigest(); in engineDigest()
398 return spiImpl.engineGetDigestLength(); in engineGetDigestLength()
404 spiImpl.engineUpdate(arg0); in engineUpdate()
410 spiImpl.engineUpdate(arg0, arg1, arg2); in engineUpdate()
416 MessageDigestSpi spi = (MessageDigestSpi) spiImpl.clone(); in clone()
DKeyPairGenerator.java256 private KeyPairGeneratorSpi spiImpl; field in KeyPairGenerator.KeyPairGeneratorImpl
262 spiImpl = keyPairGeneratorSpi; in KeyPairGeneratorImpl()
269 spiImpl.initialize(keysize, random); in initialize()
276 return spiImpl.generateKeyPair(); in generateKeyPair()
284 spiImpl.initialize(param, random); in initialize()
DSignature.java640 private SignatureSpi spiImpl; field in Signature.SignatureImpl
649 spiImpl = spi; in SignatureImpl()
706 SignatureSpi spi = spiImpl != null ? (SignatureSpi) spiImpl.clone() : null; in clone()
715 if (spiImpl != null && key == null) { in getSpi()
716 return spiImpl; in getSpi()
724 spiImpl = (SignatureSpi) sap.spi; in getSpi()
727 return spiImpl; in getSpi()
/libcore/luni/src/main/java/java/security/cert/
DCertificateFactory.java50 private final CertificateFactorySpi spiImpl; field in CertificateFactory
69 this.spiImpl = certFacSpi; in CertificateFactory()
196 return spiImpl.engineGenerateCertificate(inStream); in generateCertificate()
207 return spiImpl.engineGetCertPathEncodings(); in getCertPathEncodings()
225 return spiImpl.engineGenerateCertPath(inStream, it.next()); in generateCertPath()
240 return spiImpl.engineGenerateCertPath(inputStream, encoding); in generateCertPath()
258 return spiImpl.engineGenerateCertPath(certificates); in generateCertPath()
274 return spiImpl.engineGenerateCertificates(inStream); in generateCertificates()
288 return spiImpl.engineGenerateCRL(inStream); in generateCRL()
303 return spiImpl.engineGenerateCRLs(inStream); in generateCRLs()
DCertStore.java52 private final CertStoreSpi spiImpl; field in CertStore
76 this.spiImpl = storeSpi; in CertStore()
242 return spiImpl.engineGetCertificates(selector); in getCertificates()
259 return spiImpl.engineGetCRLs(selector); in getCRLs()
DCertPathValidator.java50 private final CertPathValidatorSpi spiImpl; field in CertPathValidator
69 this.spiImpl = validatorSpi; in CertPathValidator()
191 return spiImpl.engineValidate(certPath, params); in validate()
DCertPathBuilder.java49 private final CertPathBuilderSpi spiImpl; field in CertPathBuilder
68 this.spiImpl = builderSpi; in CertPathBuilder()
182 return spiImpl.engineBuild(params); in build()
/libcore/luni/src/main/java/javax/crypto/
DKeyGenerator.java46 private final KeyGeneratorSpi spiImpl; field in KeyGenerator
65 this.spiImpl = keyGenSpi; in KeyGenerator()
174 return spiImpl.engineGenerateKey(); in generateKey()
189 spiImpl.engineInit(params, RANDOM);//new SecureRandom()); in init()
206 spiImpl.engineInit(params, random); in init()
217 spiImpl.engineInit(keysize, RANDOM);//new SecureRandom()); in init()
230 spiImpl.engineInit(keysize, random); in init()
241 spiImpl.engineInit(random); in init()
DExemptionMechanism.java45 private final ExemptionMechanismSpi spiImpl; field in ExemptionMechanism
72 this.spiImpl = exmechSpi; in ExemptionMechanism()
221 return spiImpl.engineGetOutputSize(inputLen); in getOutputSize()
238 spiImpl.engineInit(key); in init()
263 spiImpl.engineInit(key, param); in init()
288 spiImpl.engineInit(key, param); in init()
309 byte[] result = spiImpl.engineGenExemptionBlob(); in genExemptionBlob()
359 int len = spiImpl.engineGenExemptionBlob(output, outputOffset); in genExemptionBlob()
DSecretKeyFactory.java51 private final SecretKeyFactorySpi spiImpl; field in SecretKeyFactory
70 this.spiImpl = keyFacSpi; in SecretKeyFactory()
187 return spiImpl.engineGenerateSecret(keySpec); in generateSecret()
205 return spiImpl.engineGetKeySpec(key, keySpec); in getKeySpec()
221 return spiImpl.engineTranslateKey(key); in translateKey()
DKeyAgreement.java56 private KeyAgreementSpi spiImpl; field in KeyAgreement
78 this.spiImpl = keyAgreeSpi; in KeyAgreement()
237 if (spiImpl != null && key == null) { in getSpi()
238 return spiImpl; in getSpi()
246 spiImpl = (KeyAgreementSpi) sap.spi; in getSpi()
249 return spiImpl; in getSpi()
DMac.java53 private MacSpi spiImpl; field in Mac
79 this.spiImpl = macSpi; in Mac()
241 if (spiImpl != null && provider != null && key == null) { in getSpi()
242 return spiImpl; in getSpi()
258 if (spiImpl == null || provider != null) { in getSpi()
259 spiImpl = (MacSpi) sap.spi; in getSpi()
263 return spiImpl; in getSpi()
DCipher.java139 private CipherSpi spiImpl; field in Cipher
350 if (spiImpl != null && key == null) { in getSpi()
351 return spiImpl; in getSpi()
360 spiImpl = (CipherSpi) sap.spi; in getSpi()
363 return spiImpl; in getSpi()