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

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

?? mode.java

?? jpeg2000編解碼
?? JAVA
字號:
// $Id: Mode.java,v 1.1.1.1 2002/08/27 11:49:30 grosbois Exp $//// $Log: Mode.java,v $// Revision 1.1.1.1  2002/08/27 11:49:30  grosbois// Imported source from cryptix 3.2//// Revision 1.3  2000/08/17 11:35:24  edwin// Package move java.* -> xjava.*, which is needed for JDK 1.3 compatibility.// I had to break permission support even further to make this work (I don't// believe it was working in the first place, so it's not really a problem).//// Revision 1.2  1997/11/29 04:45:13  hopwood// + Committed changes below.//// Revision 1.1.1.1  1997/11/03 22:36:57  hopwood// + Imported to CVS (tagged as 'start').//// Revision 0.1.0.4  1997/10/26  David Hopwood// + Added getInstance methods.//// Revision 0.1.0.3  1997/08/08  David Hopwood// + Moved most of the implementation methods/variables introduced//   in 1.0.1 to cryptix.provider.mode.FeedbackMode (i.e. they are no//   longer part of IJCE).// + This class no longer extends FeedbackCipher.// + Changed the default implementation of engineSet/GetParameter to//   forward to the cipher object.//// Revision 0.1.0.2  1997/08/02  David Hopwood// + Fixed documentation to take into account the changes in 1.0.1.//// Revision 0.1.0.1  1997/07/13  Raif Naffah// + Changes to allow leaner implementations of modes.//// Revision 0.1.0.0  1997/07/??  David Hopwood// + Original version.//// $Endlog$/* * Copyright (c) 1997 Systemics Ltd * on behalf of the Cryptix Development Team.  All rights reserved. */package xjava.security;import java.security.InvalidParameterException;import java.security.NoSuchAlgorithmException;import java.security.NoSuchProviderException;import java.security.Provider;/** * This class is used to provide the functionality of an encryption * mode, such as CBC, CFB, or OFB. * <p> * Modes are implemented as Ciphers with an additional engine method, * <code>engineSetCipher</code>, that is called once to set the * underlying cipher algorithm. The Mode class stores this cipher * in the protected field <code>cipher</code>. Subclasses are expected * to use this to implement their own * <code>engineInitEncrypt</code>, <code>engineInitDecrypt</code> and * <code>engineUpdate</code> methods.  * <p> * <strong><a href="../guide/ijce/JCEDifferences.html">This class * is not supported in JavaSoft's version of JCE.</a></strong> * <p> * * <b>Copyright</b> &copy; 1997 * <a href="http://www.systemics.com/">Systemics Ltd</a> on behalf of the * <a href="http://www.systemics.com/docs/cryptix/">Cryptix Development Team</a>. * <br>All rights reserved. * * <p><b>$Revision: 1.1.1.1 $</b> * @author  David Hopwood * @author  Raif S. Naffah * @since   IJCE 1.0.1 * * @see java.security.Cipher */public abstract class Modeextends Cipher{// Variables//.....................................................................    /**     * A reference to the cipher currently operating in this mode.     */    protected Cipher cipher;// Constructor//.....................................................................    /**     * Constructor for a Mode. This constructor is only for use      * by subclasses, which should pass the correct arguments to convey      * their behaviour to the superclass.  Applications typically do     * not use Mode classes directly; they should call one of the      * <code><a href="java.security.Cipher.html#getInstance">Cipher.getInstance</a></code>     * factory methods instead.     *     * @param  implBuffering    if true, this argument indicates that data     *                          will be passed from update/crypt to     *                          engineUpdate/engineCrypt without modification.     * @param  implPadding      if true, this argument indicates that the     *                          implementation can perform padding, and that     *                          the engineCrypt method will be called when     *                          padding is required.     * @param  provider         the name of the provider of the underlying     *                          cryptographic engine.     * @exception NullPointerException if provider == null     */    protected Mode(boolean implBuffering, boolean implPadding, String provider) {        super(implBuffering, implPadding, provider);    }// JCE methods//.....................................................................    /**     * Generates a Mode object that implements the algorithm     * requested, as available in the environment.     * <p>     * See <a href="../guide/ijce/Algorithms.html#Mode">     * <cite>International JCE Standard Algorithm Names</a> for a list     * of Mode algorithm names.     *     * @param  algorithm    the standard name or an alias for the algorithm.     * @return the new Mode object.     * @exception NoSuchAlgorithmException if the algorithm is not     *                      available in the environment.     */    // Note: this should really return Mode, but javac complains that    // the return type is different from Cipher.getInstance(String).    // (I think this is a bug in javac, or a specification bug - this    // method does not _override_ Cipher.getInstance(String), because    // it is static.)    //    public static Cipher getInstance(String algorithm)    throws NoSuchAlgorithmException {        return (Cipher) (IJCE.getImplementation(algorithm, "Mode"));    }    /**     * Generates a Mode object implementing the specified     * algorithm, as supplied from the specified provider, if such an     * algorithm is available from the provider.     * <p>     * See <a href="../guide/ijce/Algorithms.html#Mode">     * <cite>International JCE Standard Algorithm Names</a> for a list     * of Mode algorithm names.     *     * @param  algorithm    the standard name or an alias for the algorithm.     * @param  provider     the string name of the provider.     * @return the new KeyGenerator object.     * @exception NoSuchAlgorithmException if the algorithm is not     *                      available from the provider.     * @exception NoSuchProviderException if the provider is not     *                      available in the environment.     */    // Note: this should really return Mode (see previous method).    //    public static Cipher getInstance(String algorithm, String provider)    throws NoSuchAlgorithmException, NoSuchProviderException {        return (Cipher) (IJCE.getImplementation(algorithm, provider, "Mode"));    }    /**     * Gets the standard names of all Modes implemented by a     * provider.     */    public static String[] getAlgorithms(Provider provider) {        return IJCE.getAlgorithms(provider, "Mode");    }    /**     * Gets the standard names of all Modes implemented by any     * installed provider. Algorithm names are not duplicated if     * they are supported by more than one provider.     * The built-in mode "ECB" is included.     */    public static String[] getAlgorithms() {        return IJCE.getAlgorithms("Mode");    }    public String toString() {        return "Mode [" + getProvider() + " " +            getAlgorithm() + "/" + getMode() + "/" + getPadding() + "]";    }// SPI methods//.....................................................................    /**     * <b>SPI</b>: Sets the underlying cipher.     * <p>     * For example, to create an IDEA cipher in CBC mode, the cipher     * for "IDEA" would be passed to the mode for "CBC" using     * this method. It is called once, immediately after the mode     * object is constructed.     * <p>     * Subclasses that override this method (to do initialization that     * depends on the cipher being set) should call     * <code>super.engineSetCipher(cipher)</code> first.     *     * @param  cipher   the underlying cipher object     * @exception NullPointerException if cipher == null     */    protected void engineSetCipher(Cipher cipher) {        if (cipher == null) throw new NullPointerException("cipher == null");        this.cipher = cipher;    }    /**     * <b>SPI</b>: Sets the specified algorithm parameter to the specified     * value.     * <p>     * This method supplies a general-purpose mechanism through which it is     * possible to set the various parameters of this object. The mode     * implementation should first check whether it recognizes the     * parameter name, and if not, call     * <code>super.engineSetParameter(param, value)</code>.     * <p>     * A parameter may be any settable parameter for the algorithm, such     * as block size, a source of random bits for IV generation (if     * appropriate), or an indication of whether or not to perform a     * specific but optional computation. A uniform algorithm-specific     * naming scheme for each parameter is desirable but left unspecified     * at this time.     * <p>     * The default implementation forwards the call to the underlying     * cipher.     *     * @param  param    the string name of the parameter.      * @param  value    the parameter value.     * @exception NoSuchParameterException if there is no parameter with name     *                  param for this cipher implementation.     * @exception InvalidParameterException if the parameter exists but cannot     *                  be set (for example because the cipher is in the     *                  wrong state).     * @exception InvalidParameterTypeException if value is the wrong type     *                  for this parameter.     */    protected void engineSetParameter(String param, Object value)    throws NoSuchParameterException, InvalidParameterException,           InvalidParameterTypeException {        cipher.setParameter(param, value);    }    /**     * <b>SPI</b>: Gets the value of the specified algorithm parameter.     * <p>     * This method supplies a general-purpose mechanism through which     * it is possible to get the various parameters of this object. The     * mode implementation should first check whether it recognizes the     * parameter name, and if not, return     * <code>super.engineGetParameter(param)</code>.     * <p>     * A parameter may be any settable parameter for the algorithm, such     * as block size, a source of random bits for IV generation (if     * appropriate), or an indication of whether or not to perform a     * specific but optional computation. A uniform algorithm-specific     * naming scheme for each parameter is desirable but left unspecified     * at this time.     * <p>     * The default implementation forwards the call to the underlying     * cipher.     *     * @param  param    the string name of the parameter.      * @return the object that represents the parameter value.     * @exception NoSuchParameterException if there is no parameter with name     *                  param for this cipher implementation.     * @exception InvalidParameterException if the parameter exists but cannot     *                  be read.     */    protected Object engineGetParameter(String param)    throws NoSuchParameterException, InvalidParameterException {        return cipher.getParameter(param);    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美无乱码久久久免费午夜一区 | 亚洲一二三区视频在线观看| 亚洲va韩国va欧美va| 国产乱码字幕精品高清av| 99re6这里只有精品视频在线观看| 欧美精品一级二级| 国产精品三级av| 久久aⅴ国产欧美74aaa| 色婷婷国产精品综合在线观看| 欧美videossexotv100| 亚洲自拍偷拍综合| eeuss鲁一区二区三区| 欧美va亚洲va| 日韩在线一区二区| 日本道色综合久久| 国产精品国产三级国产普通话99 | 亚洲精品视频观看| 豆国产96在线|亚洲| 精品剧情在线观看| 日本不卡免费在线视频| 欧美三级在线播放| 亚洲综合网站在线观看| 91视频xxxx| 亚洲丝袜美腿综合| 97精品视频在线观看自产线路二| 国产日产欧产精品推荐色 | 日韩精品电影一区亚洲| 精品视频一区二区不卡| 亚洲欧洲三级电影| 99精品欧美一区| 亚洲免费视频中文字幕| 成人av高清在线| 国产精品你懂的在线| 国产.欧美.日韩| 中文字幕一区二| 99久久免费国产| 日韩伦理免费电影| 99久久国产综合精品女不卡| 国产精品免费av| 91激情在线视频| 亚洲综合色区另类av| 欧美日韩色一区| 日韩成人伦理电影在线观看| 日韩一区二区在线观看视频播放| 老司机午夜精品99久久| 精品久久久久久久人人人人传媒| 精品一区二区三区蜜桃| 久久精品无码一区二区三区| 懂色av一区二区在线播放| 国产精品久久久久久久久果冻传媒| 99re视频精品| 同产精品九九九| 2022国产精品视频| 成人免费视频播放| 亚洲已满18点击进入久久| 欧美精品高清视频| 国产精品乡下勾搭老头1| 欧美激情在线看| 欧美亚洲一区二区在线观看| 日本一区中文字幕| 欧美国产综合色视频| 日本精品一区二区三区高清 | 亚洲色图都市小说| 欧美日韩一级二级| 国产尤物一区二区| 一区二区三区精品视频| 精品久久久久久亚洲综合网| 99精品视频免费在线观看| 日本免费在线视频不卡一不卡二 | 香蕉影视欧美成人| 精品动漫一区二区三区在线观看| 99久久婷婷国产综合精品电影| 日本欧美一区二区| 亚洲手机成人高清视频| 欧美成人精品二区三区99精品| 99精品黄色片免费大全| 伦理电影国产精品| 亚洲一区二区三区自拍| 国产亲近乱来精品视频 | 久久亚洲精品国产精品紫薇| 色乱码一区二区三区88| 紧缚捆绑精品一区二区| 亚洲国产成人高清精品| 欧美国产一区二区在线观看| 制服.丝袜.亚洲.中文.综合| 不卡一区在线观看| 狠狠色综合色综合网络| 亚洲国产综合在线| 日韩伦理电影网| 欧美国产一区在线| 久久久久久99精品| 日韩精品一区二区三区在线播放| 99re亚洲国产精品| 国产成人亚洲综合a∨婷婷图片 | 99久久伊人精品| 国产精品一区在线观看乱码| 日本视频一区二区| 亚洲一区二区欧美日韩| 国产精品久久久久7777按摩| 精品久久一区二区| 日韩亚洲国产中文字幕欧美| 欧美专区亚洲专区| 91免费看`日韩一区二区| 国产精品18久久久久久vr| 久热成人在线视频| 全国精品久久少妇| 免费观看久久久4p| 日本最新不卡在线| 男男成人高潮片免费网站| 亚洲国产aⅴ天堂久久| 亚洲免费av高清| 亚洲人一二三区| 中文字幕亚洲一区二区va在线| 国产欧美日韩精品a在线观看| 国产婷婷色一区二区三区四区| 欧美成人bangbros| 日韩免费电影网站| 精品国产伦理网| 久久久国产午夜精品| 欧美国产精品一区| 亚洲人成在线播放网站岛国| 亚洲欧洲日韩在线| 一区二区不卡在线播放| 夜夜嗨av一区二区三区四季av| 亚洲乱码国产乱码精品精可以看| 亚洲欧美一区二区三区国产精品| 亚洲女同女同女同女同女同69| 亚洲欧美日韩在线播放| 亚洲第一av色| 捆绑调教一区二区三区| 国产精品自拍av| 成人精品视频一区二区三区| 99re在线精品| 欧美久久高跟鞋激| 精品国产免费人成在线观看| 国产欧美中文在线| 亚洲一区二区三区自拍| 蜜桃视频在线一区| 国产成人福利片| 91精彩视频在线| 日韩欧美在线影院| 国产精品水嫩水嫩| 亚洲va欧美va天堂v国产综合| 六月丁香婷婷久久| 成人免费看片app下载| 欧美色国产精品| 久久精品一区二区三区不卡牛牛| 国产精品天干天干在观线| 亚洲电影一级片| 狠狠色丁香婷综合久久| 91色九色蝌蚪| 日韩精品一区二区三区在线观看 | 欧美人动与zoxxxx乱| 久久新电视剧免费观看| 亚洲美女免费视频| 久久se这里有精品| 欧美在线免费观看亚洲| 亚洲精品在线免费播放| 一级中文字幕一区二区| 韩国精品在线观看| 欧美日韩综合一区| 国产日产欧美一区二区三区| 日韩中文字幕91| 91原创在线视频| 精品久久久三级丝袜| 亚洲成人av电影| 成人av午夜电影| 2024国产精品| 日本不卡视频在线| 欧美写真视频网站| 椎名由奈av一区二区三区| 久久99精品国产| 91麻豆精品国产91久久久资源速度 | 中文字幕乱码亚洲精品一区| 天天影视涩香欲综合网| 99国产精品视频免费观看| 久久综合成人精品亚洲另类欧美| 一区二区三区精品久久久| 成人高清视频在线观看| 国产日产亚洲精品系列| 精品综合久久久久久8888| 欧美日韩免费一区二区三区| 最新久久zyz资源站| 国产福利精品导航| 精品国产乱码91久久久久久网站| 性久久久久久久久| 欧美视频在线一区| 一区二区三区电影在线播| 成人v精品蜜桃久久一区| 国产三级精品三级在线专区| 国内精品伊人久久久久av一坑| 欧美一区二区三区在线电影| 亚洲一级二级三级| 欧美吻胸吃奶大尺度电影| 亚洲欧洲av色图| 97精品超碰一区二区三区| 亚洲欧洲三级电影| 91欧美激情一区二区三区成人| 国产精品视频麻豆| 91色porny在线视频|