Package java.security Has Compatibility IssuesÂ
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.