亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? keystore.java

?? linux下編程用 編譯軟件
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/* KeyStore.java --- Key Store Class   Copyright (C) 1999, 2002, 2003, 2004  Free Software Foundation, Inc.This file is part of GNU Classpath.GNU Classpath is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2, or (at your option)any later version.GNU Classpath is distributed in the hope that it will be useful, butWITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNUGeneral Public License for more details.You should have received a copy of the GNU General Public Licensealong with GNU Classpath; see the file COPYING.  If not, write to theFree Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA02110-1301 USA.Linking this library statically or dynamically with other modules ismaking a combined work based on this library.  Thus, the terms andconditions of the GNU General Public License cover the wholecombination.As a special exception, the copyright holders of this library give youpermission to link this library with independent modules to produce anexecutable, regardless of the license terms of these independentmodules, and to copy and distribute the resulting executable underterms of your choice, provided that you also meet, for each linkedindependent module, the terms and conditions of the license of thatmodule.  An independent module is a module which is not derived fromor based on this library.  If you modify this library, you may extendthis exception to your version of the library, but you are notobligated to do so.  If you do not wish to do so, delete thisexception statement from your version. */package java.security;import gnu.java.security.Engine;import java.io.IOException;import java.io.InputStream;import java.io.OutputStream;import java.security.cert.CertificateException;import java.util.Date;import java.util.Enumeration;/** * Keystore represents an in-memory collection of keys and  * certificates. There are two types of entries: * * <dl> * <dt>Key Entry</dt> * * <dd><p>This type of keystore entry store sensitive crytographic key * information in a protected format.Typically this is a secret  * key or a private key with a certificate chain.</p></dd> * * <dt>Trusted Ceritificate Entry</dt> * * <dd><p>This type of keystore entry contains a single public key  * certificate belonging to annother entity. It is called trusted * because the keystore owner trusts that the certificates * belongs to the subject (owner) of the certificate.</p></dd> * </dl> * * <p>Entries in a key store are referred to by their "alias": a simple * unique string. * * <p>The structure and persistentence of the key store is not  * specified. Any method could be used to protect sensitive  * (private or secret) keys. Smart cards or integrated  * cryptographic engines could be used or the keystore could  * be simply stored in a file.</p> * * @see java.security.cert.Certificate * @see Key */public class KeyStore{  // Constants and fields.  // ------------------------------------------------------------------------  /** Service name for key stores. */  private static final String KEY_STORE = "KeyStore";  private KeyStoreSpi keyStoreSpi;  private Provider provider;  private String type;  // Constructors.  // ------------------------------------------------------------------------  /**     Creates an instance of KeyStore     @param keyStoreSpi A KeyStore engine to use     @param provider A provider to use     @param type The type of KeyStore   */  protected KeyStore(KeyStoreSpi keyStoreSpi, Provider provider, String type)  {    this.keyStoreSpi = keyStoreSpi;    this.provider = provider;    this.type = type;  }  // Class methods.  // ------------------------------------------------------------------------  /**    * Gets an instance of the KeyStore class representing   * the specified keystore. If the type is not    * found then, it throws KeyStoreException.   *   * @param type the type of keystore to choose   * @return a KeyStore repesenting the desired type   * @throws KeyStoreException if the type of keystore is not implemented   *         by providers or the implementation cannot be instantiated.   */  public static KeyStore getInstance(String type) throws KeyStoreException  {    Provider[] p = Security.getProviders();    for (int i = 0; i < p.length; i++)      {        try          {            return getInstance(type, p[i]);          }        catch (KeyStoreException e)          {	    // Ignore.          }      }    throw new KeyStoreException(type);  }  /**    * Gets an instance of the KeyStore class representing   * the specified key store from the specified provider.    * If the type is not found then, it throws KeyStoreException.    * If the provider is not found, then it throws    * NoSuchProviderException.   *   * @param type the type of keystore to choose   * @param provider the provider name   * @return a KeyStore repesenting the desired type   * @throws KeyStoreException if the type of keystore is not    *          implemented by the given provider   * @throws NoSuchProviderException if the provider is not found   * @throws IllegalArgumentException if the provider string is    *           null or empty   */  public static KeyStore getInstance(String type, String provider)    throws KeyStoreException, NoSuchProviderException  {    if (provider == null || provider.length() == 0)      throw new IllegalArgumentException("Illegal provider");    Provider p = Security.getProvider(provider);    if (p == null)      throw new NoSuchProviderException(provider);    return getInstance(type, p);  }  /**    * Gets an instance of the KeyStore class representing   * the specified key store from the specified provider.    * If the type is not found then, it throws KeyStoreException.    * If the provider is not found, then it throws    * NoSuchProviderException.   *   * @param type the type of keystore to choose   * @param provider the keystore provider   * @return a KeyStore repesenting the desired type   * @throws KeyStoreException if the type of keystore is not    *          implemented by the given provider   * @throws IllegalArgumentException if the provider object is null   * @since 1.4   */  public static KeyStore getInstance(String type, Provider provider)    throws KeyStoreException   {    if (provider == null)      throw new IllegalArgumentException("Illegal provider");    try      {        return new KeyStore(          (KeyStoreSpi) Engine.getInstance(KEY_STORE, type, provider),          provider, type);      }    catch (NoSuchAlgorithmException nsae)      {        throw new KeyStoreException(type);      }    catch (java.lang.reflect.InvocationTargetException ite)      {	throw new KeyStoreException(type);      }    catch (ClassCastException cce)      {        throw new KeyStoreException(type);      }  }  /**   * Returns the default KeyStore type. This method looks up the   * type in &lt;JAVA_HOME&gt;/lib/security/java.security with the    * property "keystore.type" or if that fails then "jks" .   */  public static final String getDefaultType()  {    // Security reads every property in java.security so it     // will return this property if it exists.     String tmp = Security.getProperty("keystore.type");    if (tmp == null)      tmp = "jks";    return tmp;  }  // Instance methods.  // ------------------------------------------------------------------------  /**     Gets the provider that the class is from.     @return the provider of this class   */  public final Provider getProvider()  {    return provider;  }  /**     Returns the type of the KeyStore supported     @return A string with the type of KeyStore   */  public final String getType()  {    return type;  }  /**     Returns the key associated with given alias using the      supplied password.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91玉足脚交白嫩脚丫在线播放| 欧美一级日韩不卡播放免费| 欧美丰满少妇xxxxx高潮对白| 26uuu久久综合| 亚洲高清视频中文字幕| 国产精品亚洲专一区二区三区 | 欧美一区二区视频网站| 久久久www免费人成精品| 亚洲国产综合色| 成人aa视频在线观看| 欧美大度的电影原声| 亚洲欧美色图小说| 国产成人午夜精品5599| 日韩视频在线观看一区二区| 亚洲综合丁香婷婷六月香| 国产91丝袜在线观看| 欧美变态tickling挠脚心| 亚洲mv在线观看| 欧美在线制服丝袜| 日韩一区中文字幕| 国产精品456| 久久综合五月天婷婷伊人| 日本欧美一区二区三区乱码| 精品视频资源站| 亚洲国产视频在线| 91成人网在线| 亚洲国产综合91精品麻豆| 色综合网色综合| 亚洲六月丁香色婷婷综合久久| 国产麻豆成人精品| 国产午夜久久久久| 国产成人一区二区精品非洲| 国产亚洲一区二区三区| 国产麻豆视频一区| 欧美激情一区在线| 波多野结衣欧美| 亚洲视频在线一区| 色婷婷av一区二区三区软件 | 国产999精品久久久久久绿帽| 欧美www视频| 精品一区二区三区免费| 精品国产免费人成电影在线观看四季 | 欧美三电影在线| 亚洲国产欧美一区二区三区丁香婷| 色天天综合色天天久久| 亚洲福利一区二区三区| 欧美高清hd18日本| 久久不见久久见中文字幕免费| 精品久久久久香蕉网| 国产凹凸在线观看一区二区| 国产精品国产三级国产aⅴ入口| 成人免费福利片| 亚洲黄色片在线观看| 欧美日本乱大交xxxxx| 麻豆国产精品777777在线| 久久综合资源网| 91麻豆福利精品推荐| 亚洲成人综合网站| 久久综合色天天久久综合图片| 国产91精品在线观看| 亚洲视频免费在线观看| 欧美精品九九99久久| 久久99国内精品| 国产精品网站导航| 欧美日本一区二区三区四区| 国产一区二区免费看| 亚洲精品videosex极品| 日韩女优视频免费观看| gogo大胆日本视频一区| 天天射综合影视| 国产精品视频免费| 欧美人狂配大交3d怪物一区 | 久久99精品一区二区三区三区| 久久中文字幕电影| 91丨九色porny丨蝌蚪| 秋霞午夜av一区二区三区| 国产欧美日韩视频在线观看| 欧美日韩一区二区在线观看| 福利91精品一区二区三区| 亚洲成a人片在线不卡一二三区 | 青草国产精品久久久久久| 国产日韩一级二级三级| 欧美在线观看视频一区二区| 国产制服丝袜一区| 亚洲国产日产av| 成人免费小视频| 久久综合国产精品| 欧美日韩你懂的| 99国内精品久久| 国产成人av福利| 久久精品久久综合| 亚洲第一电影网| 亚洲精品菠萝久久久久久久| 国产欧美精品一区aⅴ影院 | 青草av.久久免费一区| 亚洲欧美欧美一区二区三区| 久久久天堂av| 日韩一区二区三免费高清| 在线观看视频一区| 91在线你懂得| 不卡影院免费观看| 岛国av在线一区| 久久精品欧美一区二区三区不卡 | 欧美成人国产一区二区| 在线欧美小视频| eeuss鲁片一区二区三区在线观看| 狂野欧美性猛交blacked| 一区二区三区91| 亚洲美女偷拍久久| 亚洲卡通欧美制服中文| 国产精品国产精品国产专区不蜜 | 极品少妇xxxx精品少妇偷拍| 视频一区视频二区中文| 污片在线观看一区二区| 图片区日韩欧美亚洲| 亚洲国产人成综合网站| 亚洲国产毛片aaaaa无费看| 亚洲综合精品自拍| 亚洲123区在线观看| 丝袜亚洲另类欧美综合| 日韩福利视频导航| 美国欧美日韩国产在线播放| 久久福利视频一区二区| 国产一区二区三区av电影| 国产91丝袜在线播放九色| 菠萝蜜视频在线观看一区| 9色porny自拍视频一区二区| 一本久久a久久精品亚洲| 在线欧美小视频| 日韩手机在线导航| 久久在线观看免费| 国产精品区一区二区三区| 亚洲色图另类专区| 午夜成人免费电影| 久久精品免费观看| 国产99久久久国产精品免费看| 91美女视频网站| 欧美丰满嫩嫩电影| 国产日韩精品一区| 一区二区三区在线播| 男男gaygay亚洲| 成人午夜免费av| 欧美日韩久久久一区| 午夜影院久久久| 亚洲成人一区二区| 韩国成人在线视频| 91蜜桃在线观看| 欧美大片免费久久精品三p| 国产精品青草久久| 日韩av一二三| 成人免费视频免费观看| 欧美日韩在线不卡| 国产日产欧美一区| 五月天网站亚洲| 成年人午夜久久久| 欧美一区日本一区韩国一区| 欧美经典三级视频一区二区三区| 一个色妞综合视频在线观看| 韩国中文字幕2020精品| 色哟哟亚洲精品| 久久蜜桃香蕉精品一区二区三区| 亚洲欧美另类小说视频| 捆绑调教美女网站视频一区| 不卡高清视频专区| 精品国一区二区三区| 亚洲制服丝袜av| 成人丝袜视频网| 日韩精品一区二区三区视频| 综合久久国产九一剧情麻豆| 久久国产视频网| 欧美影视一区在线| 国产精品免费视频观看| 精品一区二区三区蜜桃| 欧美视频一区二区在线观看| 国产色一区二区| 经典三级一区二区| 69堂国产成人免费视频| 樱桃国产成人精品视频| 国产91对白在线观看九色| 欧美成人一区二区三区在线观看 | 不卡的看片网站| 91丨九色丨蝌蚪富婆spa| 精品久久久久一区二区国产| 亚洲成人精品在线观看| 99久久精品一区| 国产亚洲一区二区在线观看| 极品少妇xxxx精品少妇| 欧美一区二区黄色| 日本欧美肥老太交大片| 欧美三级欧美一级| 一区二区视频在线看| 99久久夜色精品国产网站| 国产精品私房写真福利视频| 国产在线看一区| 精品国产99国产精品| 极品少妇一区二区| 久久亚洲精精品中文字幕早川悠里 | aaa欧美日韩| 国产精品乱码一区二区三区软件| 国产成人精品网址|