|
Bouncy Castle Cryptography 1.45 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.bouncycastle.jce.spec.IEKeySpec
public class IEKeySpec
key pair for use with an integrated encryptor - together they provide what's required to generate the message.
| Field Summary |
|---|
| Fields inherited from interface java.security.Key |
|---|
serialVersionUID |
| Constructor Summary | |
|---|---|
IEKeySpec(java.security.PrivateKey privKey,
java.security.PublicKey pubKey)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAlgorithm()
return "IES" |
byte[] |
getEncoded()
returns null |
java.lang.String |
getFormat()
return null |
java.security.PrivateKey |
getPrivate()
return the local private key. |
java.security.PublicKey |
getPublic()
return the intended recipient's/sender's public key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IEKeySpec(java.security.PrivateKey privKey,
java.security.PublicKey pubKey)
privKey - our private key.pubKey - the public key of the sender/recipient.| Method Detail |
|---|
public java.security.PublicKey getPublic()
getPublic in interface IESKeypublic java.security.PrivateKey getPrivate()
getPrivate in interface IESKeypublic java.lang.String getAlgorithm()
getAlgorithm in interface java.security.Keypublic java.lang.String getFormat()
getFormat in interface java.security.Keypublic byte[] getEncoded()
getEncoded in interface java.security.Key
|
Bouncy Castle Cryptography 1.45 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||