public class SoftwareKeypairGenerator extends KeypairGenerator
keyspecs, name, rsaE| Constructor and Description |
|---|
SoftwareKeypairGenerator(SecureRandom random) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.bouncycastle.asn1.pkcs.PrivateKeyInfo |
generateKeypair(String keyspec)
Generate keypair for the given keyspec as defined in RFC 5958.
|
void |
initialize0(org.xipki.util.ConfPairs conf,
org.xipki.password.PasswordResolver passwordResolver) |
boolean |
isHealthy() |
getName, initialize, setName, supportspublic SoftwareKeypairGenerator(SecureRandom random)
public void initialize0(org.xipki.util.ConfPairs conf,
org.xipki.password.PasswordResolver passwordResolver)
throws XiSecurityException
initialize0 in class KeypairGeneratorXiSecurityExceptionpublic org.bouncycastle.asn1.pkcs.PrivateKeyInfo generateKeypair(String keyspec) throws XiSecurityException
KeypairGeneratorgenerateKeypair in class KeypairGeneratorkeyspec - Key specification. It has the following format:
XiSecurityException - if could not generate keypair.public boolean isHealthy()
isHealthy in class KeypairGeneratorpublic void close()
throws IOException
IOExceptionCopyright © 2022. All rights reserved.