public final class PKCS12Demo extends CreateCertificateDemo
Constructor and Description |
---|
PKCS12Demo()
Creates a new instance.
|
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 PKCS12Demo() 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
run
in class CreateCertificateDemo
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.