Re: Help with export key as ASN.1 type EncryptedPrivateKeyInfo

2014-07-16 Thread Martin Basti
On 15/07/14 15:05, Dr. Stephen Henson wrote: On Mon, Jul 14, 2014, Martin Basti wrote: Hi list, I have RSA encrypted private key as byte sequence, and I need to export it as ASN.1 type EncryptedPrivateKeyInfo (RFC5958 section 3.) Currently I use the following code (shortened): unsigned char

Re: Help with export key as ASN.1 type EncryptedPrivateKeyInfo

2014-07-15 Thread Dr. Stephen Henson
On Mon, Jul 14, 2014, Martin Basti wrote: > Hi list, > > I have RSA encrypted private key as byte sequence, and I need to > export it as ASN.1 type EncryptedPrivateKeyInfo (RFC5958 section 3.) > > Currently I use the following code (shortened): > > unsigned char *pk

Help with export key as ASN.1 type EncryptedPrivateKeyInfo

2014-07-15 Thread Martin Basti
Hi list, I have RSA encrypted private key as byte sequence, and I need to export it as ASN.1 type EncryptedPrivateKeyInfo (RFC5958 section 3.) Currently I use the following code (shortened): unsigned char *pkey; //assigned encrypted primary key priv_key_info = PKCS8_PRIV_KEY_INFO_new(); aobj

Help with export key as ASN.1 type EncryptedPrivateKeyInfo

2014-07-15 Thread Martin Basti
Hi list, I have RSA encrypted private key as byte sequence, and I need to export it as ASN.1 type EncryptedPrivateKeyInfo (RFC5958 section 3.) Currently I use the following code (shortened): unsigned char *pkey; //assigned encrypted primary key priv_key_info = PKCS8_PRIV_KEY_INFO_new(); aobj

RE: Illegal characters ASN.1 type

2001-04-27 Thread Reddie, Steven
g the underscore. > -Original Message- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] > Sent: Friday, April 27, 2001 5:14 PM > To: [EMAIL PROTECTED] > Subject: Illegal characters ASN.1 type > > > > > I'm using Java keytool to generate my certific

Illegal characters ASN.1 type

2001-04-26 Thread Shobhit_Khanna
re illegal for the ASN.1 type." Is there a way to avoid this ?? Some of the machines I want to sign certs for have a " _ " in the name . I'm not able to sign certs for these ?? Thanx in advance Shobhit

Re: ASN.1 TYPE

2001-03-20 Thread Dr S N Henson
Antonio Ruiz Martínez wrote: > > Hello! > I've got the next code like the x_val.c, and but when I introduce > the sequence in the asn.1 type I get an error. > What's the problem? > If you want to use a SEQUENCE in an ASN1_TYPE structure then you first need

ASN.1 TYPE

2001-03-20 Thread Antonio Ruiz Martínez
Hello!     I've got the next code like the x_val.c, and but when I introduce the sequence in the asn.1 type I get an error. What's the problem? Thanks in advance, Regards, Antonio. #include #include #include #include #include #include #include #include #include #include &

Re: The string contains characters that are illegal for the ASN.1 type

1999-08-09 Thread Julio Sánchez Fernández
Dr Stephen Henson wrote: > Also speaking personally, I'm not short of things to do :-( I understand, talk is cheap. Anyway, thank you, you have addressed my concerns. Julio __ OpenSSL Project

Re: The string contains characters that are illegal for the ASN.1 type

1999-08-06 Thread Dr Stephen Henson
Julio Sánchez Fernández wrote: > > Now a question to developers. Why the call to ASN1_PRINTABLE_type > and the subsequent check if in a world with BMPString, UniversalString > and UTFString (that seems the future according to RFC2459), the > function ASN1_PRINTABLE_type is essentially a broken c

Re: The string contains characters that are illegal for the ASN.1 type

1999-08-06 Thread Julio Sánchez Fernández
wjun wrote: > The Subjects Distinguished Name is as follows > countryName :PRINTABLE:'CN' > organizationName :ASN.1 30:' > The string contains characters that are illegal for the ASN.1 type Type 30 is a BMP string, that is a string in the Basic Mult

The string contains characters that are illegal for the ASN.1 type

1999-08-04 Thread wjun
the signature Signature ok The Subjects Distinguished Name is as follows countryName :PRINTABLE:'CN' organizationName :ASN.1 30:' The string contains characters that are illegal for the ASN.1 type Who knows