Interface IKeyPairGenerationStrategy<TSpec extends IKeyPairGenerationSpec>
public interface IKeyPairGenerationStrategy<TSpec extends IKeyPairGenerationSpec>
-
Method Summary
Modifier and TypeMethodDescriptionGenerates a key pair based on the provided specification.booleanReturns whether the given specification is supported by this strategy.
-
Method Details
-
isSupported
Returns whether the given specification is supported by this strategy.- Parameters:
spec- The specification to check.- Returns:
- true if the specification is supported, false otherwise.
-
generate
Generates a key pair based on the provided specification.- Parameters:
spec- The specification for generating the key pair.- Returns:
- The generated key pair.
- Throws:
FcCertificateManagementException- If an error occurs during key pair generation or if the specification is not valid.
-