History log of /libcore/luni/src/test/java/libcore/javax/crypto/MockKey.java
Revision Date Author Comments
30bc3f8566f9b089ce02a7a22b51991d896f5524 09-Jul-2015 Sergio Giro <sgiro@google.com> javax.crypto.Cipher: try less specific Cipher/Mode/Padding combinations before throwing InvalidKeyException

Also, return saved spi in getSpi instead of recomputing a new one

Bug: 22208820
(cherry picked from commit 8157603ccf1ff124c5bebc8755404a9a825f47d3)

Change-Id: I30a06ef7d9234769b5592a0c7d665c8afa2a8ff8
8157603ccf1ff124c5bebc8755404a9a825f47d3 09-Jul-2015 Sergio Giro <sgiro@google.com> javax.crypto.Cipher: try less specific Cipher/Mode/Padding combinations before throwing InvalidKeyException

Also, return saved spi in getSpi instead of recomputing a new one

Bug: 22208820
Change-Id: Ib52cb6eb104500f73711c15eddfc319cf47dd996
1bb8f7e39ce504504e0576dcb784406949ca506e 05-Dec-2013 Kenny Root <kroot@google.com> Late binding: Provider.Service#supportsParameter

First step in late-binding support. This will be used later to support
late binding by rejecting possible providers using the supportsParameter
call.

This allows security providers to specify attributes in their
registration that allow the Security framework to filter them out
earlier instead of failing on instantiation. The attributes supported in
this change are SupportedKeyClasses and SupportedKeyFormats.

Change-Id: Iee954e2b6c95c41d3b45aa738e869471fbe14341