Re: XYZZY cert and sha256RSA

Peter Gutmann <[email protected]> Sat, 25 Jul 2015 06:02:45 +0000
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <9A043F3CF02CD34C8E74AC1594475C73AB06DF5F@uxcn10-tdc05.UoA.auckland.ac.nz>
--===============0448745929256789306==
Content-Language: en-NZ
Content-Type: multipart/alternative;
	boundary="_000_9A043F3CF02CD34C8E74AC1594475C73AB06DF5Fuxcn10tdc05UoAa_"

--_000_9A043F3CF02CD34C8E74AC1594475C73AB06DF5Fuxcn10tdc05UoAa_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Bill Hansen <[email protected]> writes:

>I use cryptlib version 3.4.2 to generate XYZZY certificates for use in AS2=
. I
>use various techniques to meet specific requirements. For example, I can
>override CRYPT_CERTINFO_VALIDTO by deleting it and resetting it. Or I can
>specify CRYPT_CTXINFO_KEYSIZE in the context with which I sign the cert.
>
>But is there a way to generate an XYZZY certificate with a signature
>algorithm of sha256RSA and a signature hash algorithm of sha256? I haven't
>found a way so far; all I ever get is sha1RSA and sha1.

All of those are configurable via standard config options,
CRYPT_OPTION_ENCR_HASH for the hash algorithm, CRYPT_OPTION_CERT_VALIDITY f=
or
the validity period, and CRYPT_OPTION_PKC_KEYSIZE for the key size.

Peter.



--_000_9A043F3CF02CD34C8E74AC1594475C73AB06DF5Fuxcn10tdc05UoAa_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html dir=3D"ltr">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style id=3D"owaParaStyle" type=3D"text/css">P {margin-top:0;margin-bottom:=
0;}</style>
</head>
<body ocsi=3D"0" fpstyle=3D"1">
<div style=3D"direction: ltr;font-family: Tahoma;color: #000000;font-size: =
10pt;"><font size=3D"2">Bill Hansen &lt;[email protected]&gt; wr=
ites:<br>
<br>
</font>
<div style=3D"font-family: Times New Roman; color: #000000; font-size: 16px=
"><font size=3D"2"><font face=3D"Tahoma">&gt;I use cryptlib version 3.4.2 t=
o generate XYZZY certificates for use in AS2. I<br>
&gt;use various techniques to meet specific requirements. For example, I ca=
n<br>
&gt;override CRYPT_CERTINFO_VALIDTO by deleting it and resetting it. Or I c=
an<br>
&gt;specify CRYPT_CTXINFO_KEYSIZE in the context with which I sign the cert=
.<br>
&gt;<br>
&gt;But is there a way to generate an XYZZY certificate with a signature<br=
>
&gt;algorithm of sha256RSA and a signature hash algorithm of sha256? I have=
n't<br>
&gt;found a way so far; all I ever get is sha1RSA and sha1.<br>
<br>
All of those are configurable via standard config options,<br>
CRYPT_OPTION_ENCR_HASH for the hash algorithm, CRYPT_OPTION_CERT_VALIDITY f=
or<br>
the validity period, and CRYPT_OPTION_PKC_KEYSIZE for the key size.<br>
<br>
Peter.<br>
<br>
</font></font><br>
</div>
</div>
</body>
</html>

--_000_9A043F3CF02CD34C8E74AC1594475C73AB06DF5Fuxcn10tdc05UoAa_--


--===============0448745929256789306==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Cryptlib mailing list
[email protected] via Mail: [email protected]
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.

--===============0448745929256789306==--