Hi All ,

Could any one please let me know if Barbican would support asymmetric order
retrieval and the request .
Please find the curl command and response for creating the order and
retrieving  the order

root@barbican:~# curl -X POST -H 'content-type:application/json' -H
'X-Project-Id: 12345' -d '{"type" : "asymmetric", "meta": {"name":
"secretnamepk2", "algorithm": "rsa", "bit_length": 256, "mode": "cbc",
"payload_content_type": "application/octet-stream"}}'
http://localhost:9311/v1/orders
{"order_ref": "
http://localhost:9311/v1/orders/f9870bb5-4ba3-4b19-9fe3-bb0c2a53557c
"}root@barbican:~#

root@barbican:~# curl -H 'Accept: application/json' -H 'X-Project-Id:12345'
http://localhost:9311/v1/orders/f9870bb5-4ba3-4b19-9fe3-bb0c2a53557c
{"status": "ERROR", "updated": "2015-03-30T21:36:38.102832", "created":
"2015-03-30T21:36:38.083428", "order_ref": "
http://localhost:9311/v1/orders/f9870bb5-4ba3-4b19-9fe3-bb0c2a53557c";,
"meta": {"name": "secretnamepk2", "algorithm": "rsa",
"payload_content_type": "application/octet-stream", "mode": "cbc",
"bit_length": 256, "expiration": null}, "*error_status_code": "400",
"error_reason": "Process TypeOrder issue seen - No plugin was found that
could support your request.", "type": "asymmetric"}*root@barbican:~#

*It seems that we are unable to reterive the asymmetric order request*
Could any one please help.
Any Help would be appreciated.

Thanks in Advance

On Mon, Mar 30, 2015 at 4:42 PM, Asha Seshagiri <[email protected]>
wrote:

> Hi All ,
>
> I would like to know whether Barbican supports asymmetric order request .
> Please find the curl command and response for creating the order and
> retrieving  the order
>
> root@barbican:~# curl -X POST -H 'content-type:application/json' -H
> 'X-Project-Id: 12345' -d '{"type" : "asymmetric", "meta": {"name":
> "secretnamepk2", "algorithm": "rsa", "bit_length": 256, "mode": "cbc",
> "payload_content_type": "application/octet-stream"}}'
> http://localhost:9311/v1/orders
> {"order_ref": "
> http://localhost:9311/v1/orders/f9870bb5-4ba3-4b19-9fe3-bb0c2a53557c
> "}root@barbican:~#
>
> root@barbican:~# curl -H 'Accept: application/json' -H
> 'X-Project-Id:12345'
> http://localhost:9311/v1/orders/f9870bb5-4ba3-4b19-9fe3-bb0c2a53557c
> {"status": "ERROR", "updated": "2015-03-30T21:36:38.102832", "created":
> "2015-03-30T21:36:38.083428", "order_ref": "
> http://localhost:9311/v1/orders/f9870bb5-4ba3-4b19-9fe3-bb0c2a53557c";,
> "meta": {"name": "secretnamepk2", "algorithm": "rsa",
> "payload_content_type": "application/octet-stream", "mode": "cbc",
> "bit_length": 256, "expiration": null}, "*error_status_code": "400",
> "error_reason": "Process TypeOrder issue seen - No plugin was found that
> could support your request.", "type": "asymmetric"}*root@barbican:~#
>
> Could any one please help.
> Thanks in Advance
> --
> *Thanks and Regards,*
> *Asha Seshagiri*
>



-- 
*Thanks and Regards,*
*Asha Seshagiri*
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to