Home
last modified time | relevance | path

Searched refs:cipherSpi (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/javax/crypto/
DCipher.java381 protected Cipher(CipherSpi cipherSpi, in Cipher() argument
384 if (cipherSpi == null) { in Cipher()
387 if (!(cipherSpi instanceof NullCipherSpi) && provider == null) { in Cipher()
391 this.spi = cipherSpi; in Cipher()
397 new SpiAndProviderUpdater(provider, cipherSpi); in Cipher()
400 private Cipher(CipherSpi cipherSpi, in Cipher() argument
404 this.spi = cipherSpi; in Cipher()
410 new SpiAndProviderUpdater(provider, cipherSpi); in Cipher()
2767 void setCipherSpiImplAndProvider(CipherSpi cipherSpi, Provider provider) { in setCipherSpiImplAndProvider() argument
2768 Cipher.this.spi = cipherSpi; in setCipherSpiImplAndProvider()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherSpiTest.java343 Mock_CipherSpi cipherSpi = new Mock_CipherSpi() { in testCrypt_doNotCallPositionInNonArrayBackedInputBuffer() local
348 cipherSpi.engineUpdate(nonArrayBackedInputBuffer, nonArrayBackedOutputBuffer); in testCrypt_doNotCallPositionInNonArrayBackedInputBuffer()
364 Mock_CipherSpi cipherSpi = new Mock_CipherSpi() { in testCrypt_doNotCallPutForZeroLengthOutput() local
372 cipherSpi.engineUpdate(nonArrayBackedInputBuffer, nonArrayBackedOutputBuffer); in testCrypt_doNotCallPutForZeroLengthOutput()
413 Mock_CipherSpi cipherSpi = new Mock_CipherSpi() { in testCrypt_outputSizeUpdatedAfterShortBufferException() local
437 cipherSpi.engineUpdate(inputBuffer, outputBuffer); in testCrypt_outputSizeUpdatedAfterShortBufferException()
/libcore/ojluni/annotations/mmodule/javax/crypto/
DCipher.annotated.java43 protected Cipher(javax.crypto.CipherSpi cipherSpi, java.security.Provider provider, java.lang.Strin… in Cipher() argument