8161898: Mark the use of deprecated javax.security.cert APIs with forRemoval=true
Reviewed-by: vinnie, mullan
This commit is contained in:
parent
9a82da0c94
commit
4c352f2d46
@ -153,10 +153,11 @@ public class HandshakeCompletedEvent extends EventObject
|
||||
* @exception SSLPeerUnverifiedException if the peer is not verified.
|
||||
* @see #getPeerPrincipal()
|
||||
* @deprecated The {@link #getPeerCertificates()} method that returns an
|
||||
* array of {@code java.security.cert.Certificate} should
|
||||
* be used instead.
|
||||
* array of {@code java.security.cert.Certificate} should
|
||||
* be used instead. This method is subject to removal in
|
||||
* a future version of Java SE.
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(since="9", forRemoval=true)
|
||||
public javax.security.cert.X509Certificate [] getPeerCertificateChain()
|
||||
throws SSLPeerUnverifiedException
|
||||
{
|
||||
|
@ -273,10 +273,11 @@ public interface SSLSession {
|
||||
* has not been verified
|
||||
* @see #getPeerPrincipal()
|
||||
* @deprecated The {@link #getPeerCertificates()} method that returns an
|
||||
* array of {@code java.security.cert.Certificate} should
|
||||
* be used instead.
|
||||
* array of {@code java.security.cert.Certificate} should
|
||||
* be used instead. This method is subject to removal in
|
||||
* a future version of Java SE.
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(since="9", forRemoval=true)
|
||||
public javax.security.cert.X509Certificate [] getPeerCertificateChain()
|
||||
throws SSLPeerUnverifiedException;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user