public final class ECDSADemo extends Object implements ECCelerateDemo
Constructor and Description |
---|
ECDSADemo()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected KeyPair |
generateKeyPair(int bitlength)
Generates a key pair for a curve with a certain name
|
static void |
main(String[] args)
The main method.
|
boolean |
run()
Executes the demo.
|
public ECDSADemo() throws NoSuchAlgorithmException
NoSuchAlgorithmException
- in case an earlier version of the IAIK provider (prior to 4.0) is
usedpublic boolean run()
ECCelerateDemo
run
in interface ECCelerateDemo
true
on success, false otherwisepublic static void main(String[] args)
args
- will be ignoredprotected KeyPair generateKeyPair(int bitlength)
bitlength
- the bitlength of the domain parameters to be usedCopyright © 2011–2022 Stiftung SIC. All rights reserved.