mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-01 11:40:33 +00:00
8069127: Suppress deprecation warnings in jdk.deploy.osx module
Reviewed-by: wetmore, juh
This commit is contained in:
parent
f46b3d442f
commit
c0500545f7
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2011, 2015, 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
|
||||
@ -911,6 +911,7 @@ public final class KeychainStore extends KeyStoreSpi {
|
||||
return true;
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
private byte[] fetchPrivateKeyFromBag(byte[] privateKeyInfo) throws IOException, NoSuchAlgorithmException, CertificateException
|
||||
{
|
||||
byte[] returnValue = null;
|
||||
@ -971,6 +972,7 @@ public final class KeychainStore extends KeyStoreSpi {
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
private byte[] extractKeyData(DerInputStream stream)
|
||||
throws IOException, NoSuchAlgorithmException, CertificateException
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user