public interface IKeyPairGenerator
Modifier and Type | Method and Description |
---|---|
java.security.KeyPair |
generate()
Generates a new keypair based on the attributes used to configure the
instance.
|
java.lang.String |
name()
Returns the canonical name of this keypair generator.
|
void |
setup(java.util.Map attributes)
[Re]-initialises this instance for use with a given set of attributes.
|
java.lang.String name()
void setup(java.util.Map attributes)
attributes
- a map of name/value pairs to use for setting up the
instance.java.lang.IllegalArgumentException
- if at least one of the mandatory
attributes is missing or an invalid value was specified.java.security.KeyPair generate()
Copyright © 2025. All rights reserved.