OLD | NEW |
| (Empty) |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 package org.chromium.chrome.browser.pageinfo; | |
6 | |
7 import org.chromium.content_public.browser.WebContents; | |
8 | |
9 /** | |
10 * Helper class for obtaining site certificate chain from WebContents. | |
11 */ | |
12 public class CertificateChainHelper { | |
13 | |
14 public static byte[][] getCertificateChain(WebContents webContents) { | |
15 return nativeGetCertificateChain(webContents); | |
16 } | |
17 | |
18 private static native byte[][] nativeGetCertificateChain(WebContents webCont
ents); | |
19 } | |
OLD | NEW |