Changeset 62a3da2


Ignore:
Timestamp:
Aug 30, 2009 4:04:28 PM (11 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
e6e6c004
Parents:
80f9f85
Message:

javadoc updates for SKM changes

Location:
core/java/src/net/i2p
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/I2PAppContext.java

    r80f9f85 r62a3da2  
    389389     * data.  This component allows transparent operation of the
    390390     * ElGamal/AES+SessionTag algorithm, and contains all of the session tags
    391      * for one particular application.  If you want to seperate multiple apps
    392      * to have their own sessionTags and sessionKeys, they should use different
    393      * I2PAppContexts, and hence, different sessionKeyManagers.
     391     * for one particular application.
     392     *
     393     * This is deprecated for client use, it should be used only by the router
     394     * as its own key manager. Not that clients are doing end-to-end crypto anyway.
     395     *
     396     * For client crypto within the router,
     397     * use RouterContext.clientManager.getClientSessionKeyManager(dest)
    394398     *
    395399     */
  • core/java/src/net/i2p/crypto/ElGamalAESEngine.java

    r80f9f85 r62a3da2  
    6060
    6161    /**
    62      * Decrypt the message using the given private key using tags from the given key manager.
     62     * Decrypt the message using the given private key using tags from the default key manager.
     63     *
     64     * @deprecated specify the key manager!
    6365     */
    6466    public byte[] decrypt(byte data[], PrivateKey targetPrivateKey) throws DataFormatException {
     
    6769
    6870    /**
    69      * Decrypt the message using the given private key.  This works according to the
     71     * Decrypt the message using the given private key
     72     * and using tags from the specified key manager.
     73     * This works according to the
    7074     * ElGamal+AES algorithm in the data structure spec.
    7175     *
Note: See TracChangeset for help on using the changeset viewer.