security: In MemoryPrivateKeyStorage, in setKeyPairForKeyName, added argument keyType.
security: In PublicKey, use a KeyType instead of OID.