Changeset 8c98ef73


Ignore:
Timestamp:
Feb 17, 2014 1:14:23 PM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
2f7eb56
Parents:
2cacded
Message:

update version

Files:
15 edited

Legend:

Unmodified
Added
Removed
  • apps/i2ptunnel/java/src/net/i2p/i2ptunnel/web/EditBean.java

    r2cacded r8c98ef73  
    179179    }
    180180   
    181     /** @since 0.9.11 */
     181    /** @since 0.9.12 */
    182182    public int getSigType(int tunnel) {
    183183        return getProperty(tunnel, I2PClient.PROP_SIGTYPE, 0);
     
    352352    }
    353353
    354     /** @since 0.9.11 */
     354    /** @since 0.9.12 */
    355355    public boolean isAdvanced() {
    356356        return _context.getBooleanProperty("routerconsole.advanced");
  • apps/i2ptunnel/java/src/net/i2p/i2ptunnel/web/IndexBean.java

    r2cacded r8c98ef73  
    965965    }
    966966
    967     /** @since 0.9.11 */
     967    /** @since 0.9.12 */
    968968    public void setSigType(String val) {
    969969        if (val != null) {
  • apps/ministreaming/java/src/net/i2p/client/streaming/I2PSocketManagerFactory.java

    r2cacded r8c98ef73  
    261261    /**
    262262     *  @param opts may be null
    263      *  @since 0.9.11
     263     *  @since 0.9.12
    264264     */
    265265    private static SigType getSigType(Properties opts) {
  • apps/susidns/src/java/src/i2p/susi/dns/AddressBean.java

    r2cacded r8c98ef73  
    239239        /**
    240240         * Do this the easy way
    241          * @since 0.9.11
     241         * @since 0.9.12
    242242         */
    243243        public String getSigType() {
  • core/java/src/net/i2p/client/I2PClient.java

    r2cacded r8c98ef73  
    4242    public final static String PROP_RELIABILITY_NONE = "none";
    4343
    44     /** @since 0.9.11 */
     44    /** @since 0.9.12 */
    4545    public static final String PROP_SIGTYPE = "i2cp.destination.sigType";
    46     /** @since 0.9.11 */
     46    /** @since 0.9.12 */
    4747    public static final SigType DEFAULT_SIGTYPE = SigType.DSA_SHA1;
    4848
     
    9898     * @param destKeyStream location to write out the destination, PrivateKey, and SigningPrivateKey,
    9999     *                      format is specified in {@link net.i2p.data.PrivateKeyFile PrivateKeyFile}
    100      * @since 0.9.11
     100     * @since 0.9.12
    101101     */
    102102    public Destination createDestination(OutputStream destKeyStream, SigType type) throws I2PException, IOException;
  • core/java/src/net/i2p/client/I2PClientImpl.java

    r2cacded r8c98ef73  
    5959     * @param destKeyStream location to write out the destination, PrivateKey, and SigningPrivateKey,
    6060     *                      format is specified in {@link net.i2p.data.PrivateKeyFile PrivateKeyFile}
    61      * @since 0.9.11
     61     * @since 0.9.12
    6262     */
    6363    public Destination createDestination(OutputStream destKeyStream, SigType type) throws I2PException, IOException {
  • core/java/src/net/i2p/client/I2PSimpleClient.java

    r2cacded r8c98ef73  
    3434     *  @deprecated Don't do this
    3535     *  @throws UnsupportedOperationException always
    36      *  @since 0.9.11
     36     *  @since 0.9.12
    3737     */
    3838    public Destination createDestination(OutputStream destKeyStream, SigType type) throws I2PException, IOException {
  • core/java/src/net/i2p/crypto/DSAEngine.java

    r2cacded r8c98ef73  
    9494
    9595    /**
    96      *  Verify using any sig type as of 0.9.11 (DSA only prior to that)
     96     *  Verify using any sig type as of 0.9.12 (DSA only prior to that)
    9797     */
    9898    public boolean verifySignature(Signature signature, byte signedData[], int offset, int size, SigningPublicKey verifyingKey) {
     
    267267
    268268    /**
    269      *  Sign using any key type as of 0.9.11 (DSA-SHA1 only prior to that)
     269     *  Sign using any key type as of 0.9.12 (DSA-SHA1 only prior to that)
    270270     *
    271271     *  @return null on error
     
    496496     *  Generic verify DSA_SHA1, ECDSA, or RSA
    497497     *  @throws GeneralSecurityException if algorithm unvailable or on other errors
    498      *  @since 0.9.9 added off/len 0.9.11
     498     *  @since 0.9.9 added off/len 0.9.12
    499499     */
    500500    private boolean altVerifySig(Signature signature, byte[] data, int offset, int len, SigningPublicKey verifyingKey)
     
    556556     *  Alternate to verifySignature() using java.security libraries.
    557557     *  @throws GeneralSecurityException if algorithm unvailable or on other errors
    558      *  @since 0.8.7 added off/len 0.9.11
     558     *  @since 0.8.7 added off/len 0.9.12
    559559     */
    560560    private boolean altVerifySigSHA1(Signature signature, byte[] data, int offset,
     
    575575     *  Generic sign DSA_SHA1, ECDSA, or RSA
    576576     *  @throws GeneralSecurityException if algorithm unvailable or on other errors
    577      *  @since 0.9.9 added off/len 0.9.11
     577     *  @since 0.9.9 added off/len 0.9.12
    578578     */
    579579    private Signature altSign(byte[] data, int offset, int len,
     
    625625     *  Alternate to sign() using java.security libraries.
    626626     *  @throws GeneralSecurityException if algorithm unvailable or on other errors
    627      *  @since 0.8.7 added off/len args 0.9.11
     627     *  @since 0.8.7 added off/len args 0.9.12
    628628     */
    629629    private Signature altSignSHA1(byte[] data, int offset, int len,
  • core/java/src/net/i2p/crypto/SigType.java

    r2cacded r8c98ef73  
    178178     *  @param stype number or name
    179179     *  @return null if not found
    180      *  @since 0.9.9 moved from SU3File in 0.9.11
     180     *  @since 0.9.9 moved from SU3File in 0.9.12
    181181     */
    182182    public static SigType parseSigType(String stype) {
  • core/java/src/net/i2p/data/Certificate.java

    r2cacded r8c98ef73  
    4343    /** Contains multiple certs */
    4444    public final static int CERTIFICATE_TYPE_MULTIPLE = 4;
    45     /** @since 0.9.11 */
     45    /** @since 0.9.12 */
    4646    public final static int CERTIFICATE_TYPE_KEY = 5;
    4747
     
    219219     *
    220220     *  @throws DataFormatException if cert type != CERTIFICATE_TYPE_KEY
    221      *  @since 0.9.11
     221     *  @since 0.9.12
    222222     */
    223223    public KeyCertificate toKeyCertificate() throws DataFormatException {
  • core/java/src/net/i2p/data/KeyCertificate.java

    r2cacded r8c98ef73  
    1212 * The crypto type is assumed to be always 0x0000 (ElG) for now.
    1313 *
    14  * @since 0.9.11
     14 * @since 0.9.12
    1515 */
    1616public class KeyCertificate extends Certificate {
  • core/java/src/net/i2p/data/KeysAndCert.java

    r2cacded r8c98ef73  
    8282    /**
    8383     * @throws IllegalStateException if was already set
    84      * @since 0.9.11
     84     * @since 0.9.12
    8585     */
    8686    public void setPadding(byte[] padding) {
  • core/java/src/net/i2p/data/PrivateKeyFile.java

    r2cacded r8c98ef73  
    228228     * Change cert type - caller must also call write().
    229229     * Side effect - creates new Destination object.
    230      * @since 0.9.11
     230     * @since 0.9.12
    231231     */
    232232    public Certificate setKeyCert(SigType type) {
  • core/java/src/net/i2p/data/SigningPublicKey.java

    r2cacded r8c98ef73  
    117117     *
    118118     *  @throws IllegalArgumentException if this is already typed to a different type
    119      *  @since 0.9.11
     119     *  @since 0.9.12
    120120     */
    121121    public SigningPublicKey toTypedKey(KeyCertificate kcert) {
     
    148148     *  @return leading padding length > 0 or null
    149149     *  @throws IllegalArgumentException if this is already typed to a different type
    150      *  @since 0.9.11
     150     *  @since 0.9.12
    151151     */
    152152    public byte[] getPadding(KeyCertificate kcert) {
     
    170170     *  Write the data up to a max of 128 bytes.
    171171     *  If longer, the rest will be written in the KeyCertificate.
    172      *  @since 0.9.11
     172     *  @since 0.9.12
    173173     */
    174174    public void writeTruncatedBytes(OutputStream out) throws DataFormatException, IOException {
  • router/java/src/net/i2p/router/networkdb/kademlia/StoreJob.java

    r2cacded r8c98ef73  
    502502    }
    503503
    504     private static final String MIN_KEYCERT_VERSION = "0.9.11";
     504    private static final String MIN_KEYCERT_VERSION = "0.9.12";
    505505
    506506    /**
    507507     * Does he support key certs (assumed with a non-DSA key)?
    508      * @since 0.9.11
     508     * @since 0.9.12
    509509     */
    510510    private static boolean supportsKeyCerts(RouterInfo ri) {
     
    519519    /**
    520520     * Does he support more than 6 leasesets?
    521      * @since 0.9.11
     521     * @since 0.9.12
    522522     */
    523523    private static boolean supportsBigLeaseSets(RouterInfo ri) {
Note: See TracChangeset for help on using the changeset viewer.