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