public class

IEKeySpec

extends Object
implements KeySpec IESKey
java.lang.Object
   ↳ org.bouncycastle.jce.spec.IEKeySpec

Class Overview

key pair for use with an integrated encryptor - together they provide what's required to generate the message.

Summary

[Expand]
Inherited Constants
From interface java.security.Key
Public Constructors
IEKeySpec(PrivateKey privKey, PublicKey pubKey)
Public Methods
String getAlgorithm()
return "IES"
byte[] getEncoded()
returns null
String getFormat()
return null
PrivateKey getPrivate()
return the local private key.
PublicKey getPublic()
return the intended recipient's/sender's public key.
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.security.Key
From interface org.bouncycastle.jce.interfaces.IESKey

Public Constructors

public IEKeySpec (PrivateKey privKey, PublicKey pubKey)

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

Public Methods

public String getAlgorithm ()

return "IES"

public byte[] getEncoded ()

returns null

public String getFormat ()

return null

public PrivateKey getPrivate ()

return the local private key.

public PublicKey getPublic ()

return the intended recipient's/sender's public key.