package Ġorg . bouncycastle . k crypto . spec . as ymmetric Ċ Ċ import ĠK Crypto Services Ċ import Ġorg . bouncycastle . k crypto . KeyType Ċ import Ġorg . bouncycastle . k crypto . spec . Sign Gen Spec Ċ import Ġorg . bouncycastle . k crypto . spec . Sign Pair Gen Spec Ċ import Ġorg . bouncycastle . k crypto . spec . Verify Gen Spec Ċ import Ġjava . security . Secure Random Ċ Ċ class ĠEd DS AG en Spec ( val Ġcurve Name : ĠString , Ġoverride Ġval Ġrandom : ĠSecure Random ): ĠSign Pair Gen Spec Ġ{ ĊĠĠĠ Ġconstructor ( curve Name : ĠString ) Ġ: Ġthis ( curve Name , ĠK Crypto Services . secure Random ) ĊĊĠĠĠ Ġoverride Ġval Ġsign Type Ġget () Ġ= ĠEd DS AG en Spec . sign Type ĊĠĠĠ Ġoverride Ġval Ġverify Type Ġget () Ġ= ĠEd DS AG en Spec . verify Type ĊĊĠĠĠ Ġcompanion Ġobject : ĠSign Gen Spec , ĠVerify Gen Spec Ġ{ ĊĠĠĠĠĠĠĠ Ġoverride Ġval Ġsign Type Ġ= ĠKey Type . SIGN ING . for Algorithm (" Ed D SA ") ĊĠĠĠĠĠĠĠ Ġoverride Ġval Ġverify Type Ġ= ĠKey Type . VER IFICATION . for Algorithm (" Ed D SA ") ĊĠĠĠ Ġ} Ċ }