security: Added generateEcdsaKeyPair and generateEcdsaKeyPairAsDefault.