mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8193409: Improve AES supporting classes
Reviewed-by: valeriep
This commit is contained in:
parent
9b54e6d766
commit
412087ff64
5 changed files with 143 additions and 98 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -26,6 +26,7 @@
|
|||
package com.sun.crypto.provider;
|
||||
|
||||
import java.security.InvalidKeyException;
|
||||
import java.security.InvalidAlgorithmParameterException;
|
||||
import javax.crypto.*;
|
||||
|
||||
/**
|
||||
|
@ -99,7 +100,8 @@ abstract class FeedbackCipher {
|
|||
* initializing this cipher
|
||||
*/
|
||||
abstract void init(boolean decrypting, String algorithm, byte[] key,
|
||||
byte[] iv) throws InvalidKeyException;
|
||||
byte[] iv) throws InvalidKeyException,
|
||||
InvalidAlgorithmParameterException;
|
||||
|
||||
/**
|
||||
* Gets the initialization vector.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue