Re-add IvParameterSpec constructor to otherApiCallableCredentialParam

Co-authored-by: Tony Torralba <atorralba@users.noreply.github.com>
This commit is contained in:
Edward Minnix III
2023-10-13 09:47:10 -04:00
committed by Ed Minnix
parent a28f19c857
commit 2a91743477

View File

@@ -66,4 +66,7 @@ deprecated predicate javaApiCallableCryptoKeyParam(Callable c, int i) {
* DEPRECATED: Use the `CredentialsSinkNode` class instead.
* Holds if callable `c` from a known API expects a credential parameter at index `i`.
*/
deprecated predicate otherApiCallableCredentialParam(Callable c, int i) { none() }
deprecated predicate otherApiCallableCredentialParam(Callable c, int i) {
c.hasQualifiedName("javax.crypto.spec", "IvParameterSpec", "IvParameterSpec") and
i = 0
}