FileDocCategorySizeDatePackage
IEKeySpec.javaAPI DocAzureus 3.0.3.41277Tue Jun 08 05:12:56 BST 2004org.bouncycastle.jce.spec

IEKeySpec

public class IEKeySpec extends Object implements KeySpec, org.bouncycastle.jce.interfaces.IESKey
key pair for use with an integrated encryptor - together they provide what's required to generate the message.

Fields Summary
private PublicKey
pubKey
private PrivateKey
privKey
Constructors Summary
public IEKeySpec(PrivateKey privKey, PublicKey pubKey)

param
privKey our private key.
param
pubKey the public key of the sender/recipient.

        this.privKey = privKey;
        this.pubKey = pubKey;
    
Methods Summary
public java.lang.StringgetAlgorithm()
return "IES"

        return "IES";
    
public byte[]getEncoded()
returns null

        return null;
    
public java.lang.StringgetFormat()
return null

        return null;
    
public java.security.PrivateKeygetPrivate()
return the local private key.

        return privKey;
    
public java.security.PublicKeygetPublic()
return the intended recipient's/sender's public key.

        return pubKey;