|
-
Testing a new implemented provider / "The provider MyNewProvider may not be signed...
I have implemented some algorithms in a new java-provider and want to test them using the security provider of java:
Security.addProvider(new RSAPKCS1Provider());
Provider p = Security.getProvider("MyNewProvider");
Getting the generator for the keypair ist working fine:
KeyPairGenerator generator = KeyPairGenerator.getInstance("RSA", "MyNewProvider");
But using
Cipher cipher = Cipher.getInstance("RSA", "MyNewProvider");
throws the exception
"The provider MyNewProvider may not be signed by a trusted party"
Can I use the functionality of the security provider without signing my jar-file? How can I disable this check on my local PC?
thanks florian
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks