public class RSAKeysGenerator extends Object
Generator that can provide key pair for RSA encryption with 1024 key size. This generator can be re-used for multiple key pair generations.
This class is immutable and can be considered thread safe.
RSABuilder| Constructor and Description |
|---|
RSAKeysGenerator()
Creates a new generator of RSA keys.
|
public RSAKeysGenerator()
throws EncryptionException
EncryptionException - possible exception when generation failpublic KeyPair generateKeys()
Copyright © 2014. All rights reserved.