Re: Format of the Public/Private key BLOB
- From: "Mitch Gallant" <jensigner@xxxxxxxxxxxxxxxx>
- Date: Tue, 11 Apr 2006 16:13:06 -0400
probably not. Most cryptoapps use big-endian ordered key parts.
CryptoAPI keyblobs (as stated below) are special Microsoft formats
and have key parts in little-endian order.
If you stick standard X509 certs, Java or OpenSSL you will amost
certainly never have to worry about the endianness.
- Mitch Gallant
"maryzhang" <maryzhang@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:08942759-C70D-49ED-B839-5DA06DC44CFF@xxxxxxxxxxxxxxxx
Hi, Laszlo
If I send the certificate in b64 format to Linux using openssl, and then
extract the public key using "openssl x509", do I still need convert the
public key to big endian?
Thanks!
Mary
"lelteto" wrote:
One note: the values in the public / private key blob are in little endian
byte order. If you need to pass it into some other system (Cryptoki, OpenSSL,
etc) you would need to convert them to big endian.
Laszlo Elteto
SafeNet, Inc.
""Jeffrey Tan[MSFT]"" wrote:
Hi Shankar,
Thanks for your post.
The format of this BLOB varies depending on the BLOB type requested in the
dwBlobType parameter. For the format for PRIVATEKEYBLOBs, PUBLICKEYBLOBs,
and SIMPLEBLOBs, it is documented in the "Base Provider Key BLOBs" link
below:
"Base Provider Key BLOBs"
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/seccrypto/s
ecurity/base_provider_key_blobs.asp
Hope this helps
Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
.
- Follow-Ups:
- Re: Format of the Public/Private key BLOB
- From: maryzhang
- Re: Format of the Public/Private key BLOB
- Prev by Date: Re: Where is CryptExportPKCS8Ex() ?
- Next by Date: Re: How to make PKCS#7 signature using CryptoAPI?
- Previous by thread: Re: Gathering Antivirus Information on Windows
- Next by thread: Re: Format of the Public/Private key BLOB
- Index(es):
Relevant Pages
|