Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using OpenSSL and RSA



Matt Ronge wrote:
>
> Thanks for the suggestions about OpenSSL. I've decided to use it since it's
> right in the OS.
>
> However, I can't figure out how to use the functions. I'm interested in
> these two:
>
> int RSA_sign(int type, unsigned char *m, unsigned int m_len,
> unsigned char *sigret, unsigned int *siglen, RSA *rsa);
>
> int RSA_verify(int type, unsigned char *m, unsigned int m_len,
> unsigned char *sigbuf, unsigned int siglen, RSA *rsa);
>
> I started writing a list of questions about how to use these functions but
> it was huge.....so does anyone have some source code that uses these
> functions?
>
> The openSSL docs are very confusing. And I can't find any good tutorials or
> bits of sample code using the openSSL crypt functions. Anyone know of some
> sample code?

Yes. In the OpenSSL source code, the best examples are found in the source
for the "openssl" command-line tool itself. I don't recall exactly where
that is, but a few seconds of looking should locate it.

--
"Where am I, and what am I doing in this handbasket?"

Wes Peters Softweyr LLC
email@hidden http://softweyr.com/
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Using OpenSSL and RSA (From: Matt Ronge <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.