Hi Chris,
It is wonderful news, I wasmiddle of the implementation
Regards,
Melek
You are not logged in. Please login or register.
Please post questions or comments you have about wolfSSL products here. It is helpful to be as descriptive as possible when asking your questions.
ReferenceswolfSSL - Embedded SSL Library → Posts by melekoktay
Pages 1
Hi Chris,
It is wonderful news, I wasmiddle of the implementation
Regards,
Melek
Hi Chris,
Unfortunately, this function is not working as you expect.. It will copy ecc public key x and y value to *out buffer.. The other function that exist in the same class do same thing for ecc private key.. After these process, ECC key should be converted to DER format that explained in RFC 5915 like below..
ECPrivateKey ::= SEQUENCE {
version INTEGER { ecPrivkeyVer1(1) } (ecPrivkeyVer1),
privateKey OCTET STRING,
parameters [0] ECParameters {{ NamedCurve }} OPTIONAL,
publicKey [1] BIT STRING OPTIONAL
}
unfortunately, I did not see any function to do that. I am missing something?
Regards,
Melek
Ok, no problem I do it..
First of all, I create RNG, after I initialize ecc_key, then I fill and write certificate.
regards,
Melek
Hi,
I change it, it should works but it didn't.
I got same error message when I try to open it with openssl whişch is shown below..
There is little/simple error, but I coulnt see!!
Regards,
Melek
unable to load certificate
9143:error:0D07209B:asn1 encoding routines:ASN1_get_object:too long:asn1_lib.c:142:
9143:error:0D068066:asn1 encoding routines:ASN1_CHECK_TLEN:bad object header:tasn_dec.c:1281:
9143:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error:tasn_dec.c:380:Type=X509
9143:error:0906700D:PEM routines:PEM_ASN1_read_bio:ASN1 lib:pem_oth.c:83:
Hi
I am working on CYASSL. I want to create CA cert (and private key also) that use Elliptic Curve (SHA512_ECDSA). But I did not see any example about it in document and in the forum also..
Then, I had decided to write my own.. I upload my program in the attachment. My program did not work. Actually it creates certificate but I could not open it with openssl.. What is my problem.. Any Code snippet/examples? I need help, please help...
OpenSSL output,
>> openssl x509 -in cert.pem -text
unable to load certificate
9143:error:0D07209B:asn1 encoding routines:ASN1_get_object:too long:asn1_lib.c:142:
9143:error:0D068066:asn1 encoding routines:ASN1_CHECK_TLEN:bad object header:tasn_dec.c:1281:
9143:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error:tasn_dec.c:380:Type=X509
9143:error:0906700D:PEM routines:PEM_ASN1_read_bio:ASN1 lib:pem_oth.c:83:
Pages 1
wolfSSL - Embedded SSL Library → Posts by melekoktay
Powered by PunBB, supported by Informer Technologies, Inc.
Generated in 0.016 seconds (95% PHP - 5% DB) with 4 queries