AsymmetricKeyAlgorithmProvider.CreateKeyPair(UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a public/private key pair.
public:
virtual CryptographicKey ^ CreateKeyPair(unsigned int keySize) = CreateKeyPair;
CryptographicKey CreateKeyPair(uint32_t const& keySize);
public CryptographicKey CreateKeyPair(uint keySize);
function createKeyPair(keySize)
Public Function CreateKeyPair (keySize As UInteger) As CryptographicKey
Parameters
- keySize
-
UInt32
unsigned int
uint32_t
Size, in bits, of the key. Typical key sizes are 512, 1024, 2048, or 4096 bits.
Returns
Represents the asymmetric key pair.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for