mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8297065: DerOutputStream operations should not throw IOExceptions
Reviewed-by: mullan, valeriep
This commit is contained in:
parent
d83a07b72c
commit
2deb318c9f
109 changed files with 725 additions and 1112 deletions
|
@ -107,9 +107,7 @@ final class EncryptedPrivateKeyInfo {
|
|||
/**
|
||||
* Returns the ASN.1 encoding of this class.
|
||||
*/
|
||||
byte[] getEncoded()
|
||||
throws IOException
|
||||
{
|
||||
byte[] getEncoded() {
|
||||
if (this.encoded != null) return this.encoded.clone();
|
||||
|
||||
DerOutputStream out = new DerOutputStream();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue