This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:etsi="http://uri.etsi.org/01903/v1.3.2#" Id="Signature274136"> | |
<ds:SignedInfo Id="Signature-SignedInfo96849"> | |
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> | |
<ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/> | |
<ds:Reference Id="SignedPropertiesID199161" Type="http://uri.etsi.org/01903#SignedProperties" URI="#Signature274136-SignedProperties91015"> | |
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> | |
</ds:Reference> | |
<ds:Reference URI="#Certificate181560"> | |
<ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> | |
<ds:DigestValue></ds:DigestValue> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Xamarin.iOS (using MonoTouch.UIKit;) | |
static Random rand = new Random(); | |
public static UIColor GetRandomColor() { | |
int hue = rand.Next(255); | |
UIColor color = UIColor.FromHSB( | |
(hue / 255.0f), | |
1.0f, | |
1.0f); | |
return color; | |
} |