KeyPublicKeyLength Property
The length of the public key in bits.
Syntax
int GetKeyPublicKeyLength();
Default Value
0
Remarks
The length of the public key in bits. Common values are 512, 1024, and 2048.
If the KeyPublicKeyAlgorithm property is ECDSA or EcDSA the length of the public key is determined by the KeyCurve. Possible lenghts are:
Curve | Public Key Length (bits) |
secp256r1 | 256 |
secp384r1 | 384 |
secp521r1 | 521 |
Ed25519 | 256 |
secp256k1 | 256 |
This property is read-only and not available at design time.
Data Type
Integer