KeyCurve Property
This property specifies the elliptic curve used in the ECDSA or EdDSA key.
Syntax
ANSI (Cross Platform) char* GetKeyCurve(); Unicode (Windows) LPWSTR GetKeyCurve();
@property (nonatomic,readonly,assign,getter=keyCurve) NSString* keyCurve; - (NSString*)keyCurve;
#define PID_KEYMGR_KEYCURVE 1 IPWORKSENCRYPT_EXTERNAL void* IPWORKSENCRYPT_CALL IPWorksEncrypt_KeyMgr_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
Default Value
""
Remarks
This property specifies the elliptic curve used in the ECDSA or EdDSA key. This property is only applicable if KeyPublicKeyAlgorithm is ECDSA or EdDSA. Possible values are:
Value | PublicKeyAlgorithm | Description |
secp256r1 | ECDSA | NIST curve P-256 |
secp384r1 | ECDSA | NIST curve P-384 |
secp521r1 | ECDSA | NIST curve P-521 |
Ed25519 | EdDSA | Ed25519 |
secp256k1 | EdDSA | Secp256k1 |
This property is read-only and not available at design time.
Data Type
String