CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2000
    Posts
    1

    how get privateKey , if signer name is known ??

    i have wrote:
    dsa = Signature.getInstance("SHA/DSA");
    signer = new SystemSigner("Administrator");
    priv = signer.getPrivateKey();
    dsa.initSign(priv);

    It is known, i have a "Administrator" certificate
    An "java.security.InvalidKeyException" happened.(DSA private key is null)

    Please , tell me if you know , or mail me: [email protected]
    Thanks



  2. #2
    Join Date
    Aug 1999
    Posts
    272

    Re: how get privateKey , if signer name is known ??

    have u generated ur keypair? if not, how to get privtekey since u don't have key pair yet. hope this help..., do inform me if this help..


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured