Changeset 7f5d6ca


Ignore:
Timestamp:
Feb 9, 2013 7:28:12 PM (8 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
5eba38a
Parents:
e4318e95
Message:

javadocs

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/crypto/ElGamalAESEngine.java

    re4318e95 r7f5d6ca  
    462462     * No current tag (encrypt as new session)
    463463     *
     464     * @param tagsForDelivery session tags to be associated with the key or null;
     465     *                        200 max enforced at receiver
    464466     * @deprecated unused
    465467     */
     
    499501     * </pre>
    500502     *
     503     * @param tagsForDelivery session tags to be associated with the key or null;
     504     *                        200 max enforced at receiver
    501505     */
    502506    private byte[] encryptNewSession(byte data[], PublicKey target, SessionKey key, Set tagsForDelivery,
     
    565569     * </pre>
    566570     *
     571     * @param tagsForDelivery session tags to be associated with the key or null;
     572     *                        200 max enforced at receiver
    567573     */
    568574    private byte[] encryptExistingSession(byte data[], PublicKey target, SessionKey key, Set tagsForDelivery,
     
    620626     *
    621627     * Note: package private for ElGamalTest.testAES()
     628     *
     629     * @param tagsForDelivery session tags to be associated with the key or null;
     630     *                        200 max enforced at receiver
    622631     */
    623632    final byte[] encryptAESBlock(byte data[], SessionKey key, byte[] iv, Set tagsForDelivery, SessionKey newKey,
     
    626635    }
    627636
     637    /**
     638     *
     639     * @param tagsForDelivery session tags to be associated with the key or null;
     640     *                        200 max enforced at receiver
     641     */
    628642    private final byte[] encryptAESBlock(byte data[], SessionKey key, byte[] iv, Set tagsForDelivery, SessionKey newKey,
    629643                                        long paddedSize, int prefixBytes) {
  • core/java/src/net/i2p/data/DataHelper.java

    re4318e95 r7f5d6ca  
    394394     *
    395395     * Some of the other differences:
    396      * - This does not process or drop backslashes
     396     * - UTF-8 encoding, not ISO-8859-1
     397     * - No escaping! This does not process or drop backslashes
    397398     * - '#' or ';' starts a comment line, but '!' does not
    398399     * - Leading whitespace is not trimmed
  • router/java/src/net/i2p/router/message/GarlicMessageBuilder.java

    re4318e95 r7f5d6ca  
    173173    /**
    174174     *  used by TestJob and directly above
     175     *  and for encrypting DatabaseLookupMessages
    175176     *
    176177     * @param ctx scope
    177178     * @param config how/what to wrap
    178179     * @param wrappedKey unused - why??
    179      * @param wrappedTags Output parameter that will be filled with the sessionTags used.
    180                           If non-empty on return you must call skm.tagsDelivered() when sent
    181                           and then call skm.tagsAcked() or skm.failTags() later.
     180     * @param wrappedTags New tags to be sent along with the message.
     181     *                    200 max enforced at receiver; null OK
    182182     * @param target public key of the location being garlic routed to (may be null if we
    183183     *               know the encryptKey and encryptTag)
    184      * @param encryptKey sessionKey used to encrypt the current message
    185      * @param encryptTag sessionTag used to encrypt the current message
     184     * @param encryptKey sessionKey used to encrypt the current message, non-null
     185     * @param encryptTag sessionTag used to encrypt the current message, null to force ElG
    186186     * @throws IllegalArgumentException on error
    187187     */
Note: See TracChangeset for help on using the changeset viewer.