iText 9.8.0 API
iText.Commons.Bouncycastle.Crypto.Generators.IRsaKeyPairGenerator Interface Reference

This interface represents the wrapper for RsaKeyPairGenerator that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations. More...

Inheritance diagram for iText.Commons.Bouncycastle.Crypto.Generators.IRsaKeyPairGenerator:
iText.Bouncycastle.Crypto.Generators.RsaKeyPairGeneratorBC iText.Bouncycastlefips.Crypto.Generators.RsaKeyPairGeneratorBCFips

Public Member Functions

IAsymmetricCipherKeyPair  GenerateKeyPair ()
  Calls actual GenerateKeyPair method for the wrapped RsaKeyPairGenerator object. More...
 

Detailed Description

This interface represents the wrapper for RsaKeyPairGenerator that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.

Member Function Documentation

◆ GenerateKeyPair()

IAsymmetricCipherKeyPair iText.Commons.Bouncycastle.Crypto.Generators.IRsaKeyPairGenerator.GenerateKeyPair ( )

Calls actual GenerateKeyPair method for the wrapped RsaKeyPairGenerator object.

Returns
Asymmetric key pair wrapper.

Implemented in iText.Bouncycastlefips.Crypto.Generators.RsaKeyPairGeneratorBCFips, and iText.Bouncycastle.Crypto.Generators.RsaKeyPairGeneratorBC.