Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97551665
KeyPair.java
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Jan 5, 05:03
Size
529 B
Mime Type
text/x-java
Expires
Tue, Jan 7, 05:03 (2 d)
Engine
blob
Format
Raw Data
Handle
23425125
Attached To
R3229 Genome Privacy - SHCS App
KeyPair.java
View Options
package
crypto.elgamal
;
import
org.bouncycastle.math.ec.ECPoint
;
public
class
KeyPair
{
private
PartialSecret
secretMU
;
private
PartialSecret
secretSPU
;
private
ECPoint
pubKey
;
public
KeyPair
(
PartialSecret
secretMU
,
PartialSecret
secretSPU
,
ECPoint
pubKey
)
{
this
.
secretMU
=
secretMU
;
this
.
secretSPU
=
secretSPU
;
this
.
pubKey
=
pubKey
;
}
public
PartialSecret
getSecretMU
()
{
return
secretMU
;
}
public
PartialSecret
getSecretSPU
()
{
return
secretSPU
;
}
public
ECPoint
getPubKey
()
{
return
pubKey
;
}
}
Event Timeline
Log In to Comment