security: IdentityStorage: Added getKeyType.
security: PublicKey: Specify the KeyType, not the OID.
security: In PublicKey.fromDer, mark as throws SecurityException.
security: In MemoryPrivateKeyStorage, make setKeyPairForKeyName take the KeyType. In sign, support ECDSA.