Java 类org.bouncycastle.crypto.KeyParser 实例源码

项目:ipack    文件:IESEngine.java   
/**
 * Initialise the encryptor.
 *
 * @param privateKey      the recipient's private key.
 * @param params          encoding and derivation parameters.
 * @param publicKeyParser the parser for reading the ephemeral public key.
 */
public void init(AsymmetricKeyParameter privateKey, CipherParameters params, KeyParser publicKeyParser)
{
    this.forEncryption = false;
    this.privParam = privateKey;
    this.param = (IESParameters)params;
    this.keyParser = publicKeyParser;
}
项目:gwt-crypto    文件:IESEngine.java   
/**
 * Initialise the encryptor.
 *
 * @param privateKey      the recipient's private key.
 * @param params          encoding and derivation parameters, may be wrapped to include an IV for an underlying block cipher.
 * @param publicKeyParser the parser for reading the ephemeral public key.
 */
public void init(AsymmetricKeyParameter privateKey, CipherParameters params, KeyParser publicKeyParser)
{
    this.forEncryption = false;
    this.privParam = privateKey;
    this.keyParser = publicKeyParser;

    extractParams(params);
}
项目:Aki-SSL    文件:IESEngine.java   
/**
 * Initialise the encryptor.
 *
 * @param privateKey      the recipient's private key.
 * @param params          encoding and derivation parameters, may be wrapped to include an IV for an underlying block cipher.
 * @param publicKeyParser the parser for reading the ephemeral public key.
 */
public void init(AsymmetricKeyParameter privateKey, CipherParameters params, KeyParser publicKeyParser)
{
    this.forEncryption = false;
    this.privParam = privateKey;
    this.keyParser = publicKeyParser;

    extractParams(params);
}
项目:TinyTravelTracker    文件:IESEngine.java   
/**
 * Initialise the encryptor.
 *
 * @param privateKey      the recipient's private key.
 * @param params          encoding and derivation parameters, may be wrapped to include an IV for an underlying block cipher.
 * @param publicKeyParser the parser for reading the ephemeral public key.
 */
public void init(AsymmetricKeyParameter privateKey, CipherParameters params, KeyParser publicKeyParser)
{
    this.forEncryption = false;
    this.privParam = privateKey;
    this.keyParser = publicKeyParser;

    extractParams(params);
}
项目:CryptMeme    文件:IESEngine.java   
/**
 * Initialise the encryptor.
 *
 * @param privateKey      the recipient's private key.
 * @param params          encoding and derivation parameters.
 * @param publicKeyParser the parser for reading the ephemeral public key.
 */
public void init(AsymmetricKeyParameter privateKey, CipherParameters params, KeyParser publicKeyParser)
{
    this.forEncryption = false;
    this.privParam = privateKey;
    this.param = (IESParameters)params;
    this.keyParser = publicKeyParser;
}
项目:irma_future_id    文件:IESEngine.java   
/**
 * Initialise the encryptor.
 *
 * @param privateKey      the recipient's private key.
 * @param params          encoding and derivation parameters.
 * @param publicKeyParser the parser for reading the ephemeral public key.
 */
public void init(AsymmetricKeyParameter privateKey, CipherParameters params, KeyParser publicKeyParser)
{
    this.forEncryption = false;
    this.privParam = privateKey;
    this.param = (IESParameters)params;
    this.keyParser = publicKeyParser;
}
项目:bc-java    文件:IESEngine.java   
/**
 * Initialise the encryptor.
 *
 * @param privateKey      the recipient's private key.
 * @param params          encoding and derivation parameters.
 * @param publicKeyParser the parser for reading the ephemeral public key.
 */
public void init(AsymmetricKeyParameter privateKey, CipherParameters params, KeyParser publicKeyParser)
{
    this.forEncryption = false;
    this.privParam = privateKey;
    this.param = (IESParameters)params;
    this.keyParser = publicKeyParser;
}