Export (0) Print
Expand All
Expand Minimize

Package java.security Has Compatibility Issues

Visual Studio 2005

The default security provider provided with Visual J# has the following compatibility issues with the default provider in Visual J++ 6.0:

Key encoding is not supported in keys generated by the default security provider. Therefore, the following java.security methods are not supported by the default provider in Visual J#:

  • java.security.Key.getEncoded

  • java.security.Key.getFormat

These methods throw com.ms.vjsharp.MethodNotSupportedException in Visual J#.

  • The default security provider does not support keys generated by other security providers. This means that it is not possible to sign and verify data using third-party private and public keys.

  • The default security provider cannot verify signatures generated by other security providers.

However, Visual J# allows users to plug in third-party security providers for operations such as generating keys and signatures.

For more information, see Upgrading Applications That Use Third-Party Security Providers.

Community Additions

© 2014 Microsoft