Re: Examples of adding Private Enterprise Numbers (PEN's) Extensions to CSR

2021-10-15 Thread Jakob Bohm via openssl-users
On 2021-10-14 18:43, Philip Prindeville wrote: Hi, I need to generate CSR's with some Extensions included that use our PEN's as allocated by IANA. Are there any examples of this? Also, I'm looking at X509_REQ_add_extensions_nid() and it takes a STACK_OF(X509_EXTENSION) but it doesn't seem to

Re: Examples to encrypt/decrypt

2011-03-25 Thread Anthony Gabrielson
On Mar 25, 2011, at 4:45 PM, Jeffrey Walton wrote: > On Fri, Mar 25, 2011 at 3:56 PM, Anthony Gabrielson > wrote: >> This will do what you want: >> http://agabrielson.wordpress.com/2010/07/15/openssl-an-example-from-the-command-line/ > >memset(plaintext,0,sizeof(plaintext)); > > The optimiz

RE: Examples to encrypt/decrypt

2011-03-25 Thread Jeremy Farrell
> From: David Schwartz [mailto:dav...@webmaster.com] > Sent: Friday, March 25, 2011 11:44 PM > > On 3/25/2011 4:17 PM, Jeremy Farrell wrote: > > >> From: Jeffrey Walton > >> Sent: Friday, March 25, 2011 8:45 PM > >> On Fri, Mar 25, 2011 at 3:56 PM, Anthony > Gabrielson wrote: > > >>> This wil

Re: Examples to encrypt/decrypt

2011-03-25 Thread David Schwartz
On 3/25/2011 4:17 PM, Jeremy Farrell wrote: From: Jeffrey Walton Sent: Friday, March 25, 2011 8:45 PM On Fri, Mar 25, 2011 at 3:56 PM, Anthony Gabrielson wrote: This will do what you want: http://agabrielson.wordpress.com/2010/07/15/openssl-an-example-from-the-command-line/ memset(p

RE: Examples to encrypt/decrypt

2011-03-25 Thread Jeremy Farrell
> From: Jeffrey Walton > Sent: Friday, March 25, 2011 8:45 PM > On Fri, Mar 25, 2011 at 3:56 PM, Anthony Gabrielson > wrote: > > This will do what you want: > > > > http://agabrielson.wordpress.com/2010/07/15/openssl-an-example-from-the-command-line/ > > memset(plaintext,0,sizeof(plaintext)

Re: Examples to encrypt/decrypt

2011-03-25 Thread Jeffrey Walton
On Fri, Mar 25, 2011 at 3:56 PM, Anthony Gabrielson wrote: > This will do what you want: > http://agabrielson.wordpress.com/2010/07/15/openssl-an-example-from-the-command-line/ memset(plaintext,0,sizeof(plaintext)); The optimizer might remove your zeroization. Jeff > > - Original Messa

Re: Examples to encrypt/decrypt

2011-03-25 Thread Anthony Gabrielson
This will do what you want: http://agabrielson.wordpress.com/2010/07/15/openssl-an-example-from-the-command-line/ - Original Message - From: "Venkateswara Rao Chikkireddi (HSSL-Bangalore)" To: openssl-users@openssl.org Sent: Friday, March 25, 2011 12:41:36 PM Subject: Examples to e

Re: Examples of blowfish.h code for C?

2007-11-03 Thread Brad Hards
On Friday 02 November 2007 12:13, Joel Christner wrote: > > Please pardon the newbie question. I was curious if anyone had any links > > or references that they could point me to for more details on how to use > > blowfish.h with C? I've gone through the man pages but was hoping for > > something

Re: Examples of blowfish.h code for C?

2007-11-01 Thread Joel Christner
Anyone? On 10/30/07, Joel Christner <[EMAIL PROTECTED]> wrote: > > Hello, > > Please pardon the newbie question. I was curious if anyone had any links > or references that they could point me to for more details on how to use > blowfish.h with C? I've gone through the man pages but was hoping fo

Re: examples of -extfile file -extensions section

2004-11-10 Thread ray v
Below is my test extfiles, could you please tell me what I'm doing wrong? First attempt: extensions = extend [extend] pid = 1.3.6.1.4.1..1002 12130:error:2207C082:X509 V3 routines:DO_EXT_CONF:unknown extension name:v3_conf.c:123: 12130:error:2206B080:X509 V3 routines:X509V3_EXT_conf:error

Re: examples of -extfile file -extensions section

2004-11-10 Thread ray v
Thank Charles! This completely clears things up for me. AWESOME! --- Charles B Cranston <[EMAIL PROTECTED]> wrote: > > Could someone be so kind as to post examples of > their > > extfile or extensions section? > > Here's an example of a shell script that generates > an entire > PKI: root, two

Re: examples of -extfile file -extensions section

2004-11-10 Thread Charles B Cranston
Could someone be so kind as to post examples of their extfile or extensions section? Here's an example of a shell script that generates an entire PKI: root, two intermediates, and one SSL (server) end user. This is one of about 35 of these I did trying to figure out why the IBM HTTP Server and the

Re: Examples of RSA/DSA signing of data

2002-11-13 Thread Frank
Great, thanks! Nils Larsch wrote: > Hi Frank, > > Frank wrote: > > Marcus, > > Thanks. But that example is a little confussing. First what type of > > signature are you doing, RSA, DSA? > > If your are using the EVP_Sign{Init|Update|Final} functions (as in demos/ > sign/sign.c) the type of

Re: Examples of RSA/DSA signing of data

2002-11-13 Thread Nils Larsch
Hi Frank, Frank wrote: > Marcus, > Thanks. But that example is a little confussing. First what type of > signature are you doing, RSA, DSA? If your are using the EVP_Sign{Init|Update|Final} functions (as in demos/ sign/sign.c) the type of the signature (RSA, DSA, ECDSA) is specified by the

Re: Examples of RSA/DSA signing of data

2002-11-11 Thread marcus.carey
Look in the demos directory of the Openssl distribution. - Original Message - From: "Frank" <[EMAIL PROTECTED]> To: "Openssl user grp" <[EMAIL PROTECTED]> Sent: Monday, November 11, 2002 7:51 AM Subject: Examples of RSA/DSA signing of data > I was wondering if there where any examples o

Re: Re: Examples

2002-05-24 Thread shalen chhabra
yes! On Fri, 24 May 2002 Eric Rescorla wrote : >"shalen chhabra" <[EMAIL PROTECTED]> writes: > > > I am writing a tutorial on > > How to write applications using OPENSSL for the OPENSSL. > > People it would be great if you can give me some examples > > Thanking YOu >You mean aside from the examp

Re: Examples

2002-05-24 Thread Eric Rescorla
"shalen chhabra" <[EMAIL PROTECTED]> writes: > I am writing a tutorial on > How to write applications using OPENSSL for the OPENSSL. > People it would be great if you can give me some examples > Thanking YOu You mean aside from the examples in this tutorial? http://www.rtfm.com/openssl-examples