36 references to Hex
mscorlib (36)
system\applicationid.cs (1)
104sb.Append(Hex.EncodeHexString(m_publicKeyToken));
system\reflection\assemblyname.cs (1)
541return Name + ", PublicKey=" + System.Security.Util.Hex.EncodeHexString(key);
system\security\cryptography\x509certificates\x509certificate.cs (6)
284return Hex.EncodeHexString(GetKeyAlgorithmParameters()); 308return Hex.EncodeHexString(GetPublicKey()); 317return Hex.EncodeHexString(GetRawCertData()); 357return Hex.EncodeHexString(m_thumbprint); 363return Hex.EncodeHexString(hash); 724return Hex.EncodeHexStringFromInt(m_serialNumber);
system\security\permissions\permissionattributes.cs (2)
962return new PublisherIdentityPermission( new X509Certificate( System.Security.Util.Hex.DecodeHexString( m_x509cert ) ) ); 1196return BruteForceParseStream( new MemoryStream(Util.Hex.DecodeHexString(m_hex)) );
system\security\permissions\publisheridentitypermission.cs (2)
273al.Add(new X509Certificate(System.Security.Util.Hex.DecodeHexString(elem))); 281al.Add(new X509Certificate(System.Security.Util.Hex.DecodeHexString(elem)));
system\security\permissions\strongnameidentitypermission.cs (2)
456esd.AddAttribute("PublicKeyBlob", Hex.EncodeHexString(m_strongNames[0].m_publicKeyBlob.PublicKey)); 469child.AddAttribute("PublicKeyBlob", Hex.EncodeHexString(m_strongNames[n].m_publicKeyBlob.PublicKey));
system\security\permissions\strongnamepublickeyblob.cs (2)
38this.PublicKey = Hex.DecodeHexString( publicKey ); 97return Hex.EncodeHexString( PublicKey );
system\security\policy\applicationsecurityinfo.cs (1)
202return new ApplicationId(Hex.DecodeHexString(manifest.Identity.GetAttribute("", "publicKeyToken")),
system\security\policy\applicationtrust.cs (2)
303elObject.AddAttribute("Data", Hex.EncodeHexString(array)); 319MemoryStream stream = new MemoryStream(Hex.DecodeHexString(objectData));
system\security\policy\hash.cs (1)
507hashElement.AddAttribute("value", Hex.EncodeHexString(hashValue.Value));
system\security\policy\hashmembershipcondition.cs (3)
177root.AddAttribute(s_tagHashValue, Hex.EncodeHexString(HashValue)); 242return Environment.GetResourceString("Hash_ToString", m_hashAlg.GetType().AssemblyQualifiedName, Hex.EncodeHexString(HashValue)); 255m_value = Hex.DecodeHexString(elHash);
system\security\policy\publishermembershipcondition.cs (2)
99return String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "Publisher_ToStringArg" ), System.Security.Util.Hex.EncodeHexString( m_certificate.GetPublicKey() ) ); 204m_certificate = elCert == null ? null : new X509Certificate( System.Security.Util.Hex.DecodeHexString( elCert ) );
system\security\policy\strongname.cs (2)
146root.AddAttribute( "Key", System.Security.Util.Hex.EncodeHexString( m_publicKeyBlob.PublicKey ) ); 170m_publicKeyBlob = new StrongNamePublicKeyBlob(System.Security.Util.Hex.DecodeHexString(key));
system\security\policy\strongnamemembershipcondition.cs (3)
227root.AddAttribute( s_tagPublicKeyBlob, System.Security.Util.Hex.EncodeHexString( PublicKey.PublicKey ) ); 287publicKeyBlob.PublicKey = System.Security.Util.Hex.DecodeHexString( elBlob ); 328return String.Format( CultureInfo.CurrentCulture, Environment.GetResourceString( "StrongName_ToString" ), System.Security.Util.Hex.EncodeHexString( PublicKey.PublicKey ), sName, sVersion );
system\security\util\urlstring.cs (6)
163char c = (char)(Hex.ConvertHexDigit( url[index+2] ) << 12 | 164Hex.ConvertHexDigit( url[index+3] ) << 8 | 165Hex.ConvertHexDigit( url[index+4] ) << 4 | 166Hex.ConvertHexDigit( url[index+5] )); 186char c = (char)(Hex.ConvertHexDigit( url[index+1] ) << 4 | Hex.ConvertHexDigit( url[index+2] ));