[Tizen] Add signature data and parser logic

SignatureFile: according to widget spec, widget should includes
signature file in the zip. SignatureFile is used to label signature
files in the widget. There are two types of signature files: author
and distributor signature.

SignatueData: it is used to store values parsing from signature.xml.
The data will be used by signature verifier to validate digital
signatures.
Thanks, I will fix it.

From: Raphael Kubo da Costa [mailto:notifications@github.com]
Sent: Tuesday, July 22, 2014 4:32 PM
To: crosswalk-project/crosswalk
Cc: Zhang, Xu U
Subject: Re: [crosswalk] [Tizen] Add signature data and parser logic (#2169)


In application/common/installer/signature_data.cc:

> +const char kTokenDigestMethod[] = "DigestMethod";

> +const char kTokenDigestValue[] = "DigestValue";

> +const char kTokenSignatureValue[] = "SignatureValue";

> +const char kTokenkeyInfo[] = "KeyInfo";

> +const char kTokenX509Data[] = "X509Data";

> +const char kTokenX509Certificate[] = "X509Certificate";

> +const char kTokenObject[] = "Object";

> +const char kTokenSignatureProperties[] = "SignatureProperties";

> +const char kTokenSignaturePropertie[] = "SignatureProperty";

> +

> +// ATTRIBUTTE TOKENS

> +const char kTokenAlgorithm[] = "Algorithm";

> +const char kTokenURI[] = "URI";

> +const char kTokenID[] = "Id";

> +

> +// ATTIRUBTE VALUES

No, I mean you wrote "Attirubte" instead of "Attribute".

—
Reply to this email directly or view it on GitHub<https://github.com/crosswalk-project/crosswalk/pull/2169/files#r15215931>.