Package org.bouncycastle.jce.spec
Class IEKeySpec
java.lang.Object
org.bouncycastle.jce.spec.IEKeySpec
- All Implemented Interfaces:
Serializable
,Key
,KeySpec
,IESKey
key pair for use with an integrated encryptor - together
they provide what's required to generate the message.
- See Also:
-
Field Summary
Fields inherited from interface java.security.Key
serialVersionUID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreturn "IES"byte[]
returns nullreturn nullreturn the local private key.return the intended recipient's/sender's public key.
-
Constructor Details
-
IEKeySpec
- Parameters:
privKey
- our private key.pubKey
- the public key of the sender/recipient.
-
-
Method Details
-
getPublic
return the intended recipient's/sender's public key. -
getPrivate
return the local private key.- Specified by:
getPrivate
in interfaceIESKey
-
getAlgorithm
return "IES"- Specified by:
getAlgorithm
in interfaceKey
-
getFormat
return null -
getEncoded
public byte[] getEncoded()returns null- Specified by:
getEncoded
in interfaceKey
-