Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / net / android / java / src / org / chromium / net / AndroidPrivateKey.java
1 // Copyright 2014 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.net;
6
7 import org.chromium.base.CalledByNative;
8 import org.chromium.base.JNINamespace;
9
10 /**
11  * Abstract private key that bundles the PrivateKey and AndroidKeyStore that it belongs to.
12  */
13 @JNINamespace("net::android")
14 public interface AndroidPrivateKey {
15     /** @return AndroidKeyStore that handles this key. */
16     @CalledByNative
17     AndroidKeyStore getKeyStore();
18 }