equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
285 "Consuming server CertificateStatus handshake message", |
285 "Consuming server CertificateStatus handshake message", |
286 cst); |
286 cst); |
287 } |
287 } |
288 |
288 |
289 // Pin the received responses to the SSLSessionImpl. It will |
289 // Pin the received responses to the SSLSessionImpl. It will |
290 // be retrieved by the X509TrustManagerImpl during the certficicate |
290 // be retrieved by the X509TrustManagerImpl during the certificate |
291 // checking phase. |
291 // checking phase. |
292 chc.handshakeSession.setStatusResponses(cst.encodedResponses); |
292 chc.handshakeSession.setStatusResponses(cst.encodedResponses); |
293 |
293 |
294 // Now perform the check |
294 // Now perform the check |
295 T12CertificateConsumer.checkServerCerts(chc, chc.deferredCerts); |
295 T12CertificateConsumer.checkServerCerts(chc, chc.deferredCerts); |
|
296 |
|
297 // Update the handshake consumers to remove this message, indicating |
|
298 // that it has been processed. |
|
299 chc.handshakeConsumers.remove(SSLHandshake.CERTIFICATE_STATUS.id); |
296 } |
300 } |
297 } |
301 } |
298 |
302 |
299 /** |
303 /** |
300 * The CertificateStatus handshake message consumer. |
304 * The CertificateStatus handshake message consumer. |