Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98809194
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
Thu, Jan 16, 14:41
Size
529 B
Mime Type
text/x-java
Expires
Sat, Jan 18, 14:41 (2 d)
Engine
blob
Format
Raw Data
Handle
23650209
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