Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

376 lines
15 KiB
C#

using System;
using System.Collections;
using System.Runtime.InteropServices;
using System.Text;
using Cpp2IlInjected;
namespace System.Security
{
/// <summary>Represents the XML object model for encoding security objects. This class cannot be inherited.</summary>
// Token: 0x020003C4 RID: 964
[Token(Token = "0x20003C4")]
[ComVisible(true)]
[Serializable]
public sealed class SecurityElement
{
/// <summary>Initializes a new instance of the <see cref="T:System.Security.SecurityElement" /> class with the specified tag.</summary>
/// <param name="tag">The tag name of an XML element.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="tag" /> parameter is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">The <paramref name="tag" /> parameter is invalid in XML.</exception>
// Token: 0x06002272 RID: 8818 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002272")]
[Address(RVA = "0xD0B620", Offset = "0xD0A620", VA = "0x180D0B620")]
public SecurityElement(string tag)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Security.SecurityElement" /> class with the specified tag and text.</summary>
/// <param name="tag">The tag name of the XML element.</param>
/// <param name="text">The text content within the element.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="tag" /> parameter is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">The <paramref name="tag" /> parameter or <paramref name="text" /> parameter is invalid in XML.</exception>
// Token: 0x06002273 RID: 8819 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002273")]
[Address(RVA = "0xD0B630", Offset = "0xD0A630", VA = "0x180D0B630")]
public SecurityElement(string tag, string text)
{
}
/// <summary>Gets or sets the attributes of an XML element as name/value pairs.</summary>
/// <returns>The <see cref="T:System.Collections.Hashtable" /> object for the attribute values of the XML element.</returns>
/// <exception cref="T:System.InvalidCastException">The name or value of the <see cref="T:System.Collections.Hashtable" /> object is invalid.</exception>
/// <exception cref="T:System.ArgumentException">The name is not a valid XML attribute name.</exception>
// Token: 0x170004D1 RID: 1233
// (get) Token: 0x06002274 RID: 8820 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170004D1")]
public Hashtable Attributes
{
[Token(Token = "0x6002274")]
[Address(RVA = "0xD0B8E0", Offset = "0xD0A8E0", VA = "0x180D0B8E0")]
get
{
return null;
}
}
/// <summary>Gets or sets the array of child elements of the XML element.</summary>
/// <returns>The ordered child elements of the XML element as security elements.</returns>
/// <exception cref="T:System.ArgumentException">A child of the XML parent node is <see langword="null" />.</exception>
// Token: 0x170004D2 RID: 1234
// (get) Token: 0x06002275 RID: 8821 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170004D2")]
public ArrayList Children
{
[Token(Token = "0x6002275")]
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0")]
get
{
return null;
}
}
/// <summary>Gets or sets the tag name of an XML element.</summary>
/// <returns>The tag name of an XML element.</returns>
/// <exception cref="T:System.ArgumentNullException">The tag is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">The tag is not valid in XML.</exception>
// Token: 0x170004D3 RID: 1235
// (get) Token: 0x06002276 RID: 8822 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170004D3")]
public string Tag
{
[Token(Token = "0x6002276")]
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
get
{
return null;
}
}
/// <summary>Gets or sets the text within an XML element.</summary>
/// <returns>The value of the text within an XML element.</returns>
/// <exception cref="T:System.ArgumentException">The text is not valid in XML.</exception>
// Token: 0x170004D4 RID: 1236
// (get) Token: 0x06002277 RID: 8823 RVA: 0x00002082 File Offset: 0x00000282
// (set) Token: 0x06002278 RID: 8824 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170004D4")]
public string Text
{
[Token(Token = "0x6002277")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
get
{
return null;
}
[Token(Token = "0x6002278")]
[Address(RVA = "0xD0BB30", Offset = "0xD0AB30", VA = "0x180D0BB30")]
set
{
}
}
/// <summary>Adds a name/value attribute to an XML element.</summary>
/// <param name="name">The name of the attribute.</param>
/// <param name="value">The value of the attribute.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="name" /> parameter or <paramref name="value" /> parameter is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">The <paramref name="name" /> parameter or <paramref name="value" /> parameter is invalid in XML.
/// -or-
/// An attribute with the name specified by the <paramref name="name" /> parameter already exists.</exception>
// Token: 0x06002279 RID: 8825 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002279")]
[Address(RVA = "0xD09E40", Offset = "0xD08E40", VA = "0x180D09E40")]
public void AddAttribute(string name, string value)
{
}
/// <summary>Adds a child element to the XML element.</summary>
/// <param name="child">The child element to add.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="child" /> parameter is <see langword="null" />.</exception>
// Token: 0x0600227A RID: 8826 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600227A")]
[Address(RVA = "0xD09FD0", Offset = "0xD08FD0", VA = "0x180D09FD0")]
public void AddChild(SecurityElement child)
{
}
/// <summary>Replaces invalid XML characters in a string with their valid XML equivalent.</summary>
/// <param name="str">The string within which to escape invalid characters.</param>
/// <returns>The input string with invalid characters replaced.</returns>
// Token: 0x0600227B RID: 8827 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600227B")]
[Address(RVA = "0xD0A090", Offset = "0xD09090", VA = "0x180D0A090")]
public static string Escape(string str)
{
return null;
}
// Token: 0x0600227C RID: 8828 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600227C")]
[Address(RVA = "0xD0B380", Offset = "0xD0A380", VA = "0x180D0B380")]
private static string Unescape(string str)
{
return null;
}
/// <summary>Creates a security element from an XML-encoded string.</summary>
/// <param name="xml">The XML-encoded string from which to create the security element.</param>
/// <returns>A <see cref="T:System.Security.SecurityElement" /> created from the XML.</returns>
/// <exception cref="T:System.Security.XmlSyntaxException">
/// <paramref name="xml" /> contains one or more single quotation mark characters.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="xml" /> is <see langword="null" />.</exception>
// Token: 0x0600227D RID: 8829 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600227D")]
[Address(RVA = "0xD0A2F0", Offset = "0xD092F0", VA = "0x180D0A2F0")]
public static SecurityElement FromString(string xml)
{
return null;
}
/// <summary>Determines whether a string is a valid attribute name.</summary>
/// <param name="name">The attribute name to test for validity.</param>
/// <returns>
/// <see langword="true" /> if the <paramref name="name" /> parameter is a valid XML attribute name; otherwise, <see langword="false" />.</returns>
// Token: 0x0600227E RID: 8830 RVA: 0x00016578 File Offset: 0x00014778
[Token(Token = "0x600227E")]
[Address(RVA = "0xD0A640", Offset = "0xD09640", VA = "0x180D0A640")]
public static bool IsValidAttributeName(string name)
{
return default(bool);
}
/// <summary>Determines whether a string is a valid attribute value.</summary>
/// <param name="value">The attribute value to test for validity.</param>
/// <returns>
/// <see langword="true" /> if the <paramref name="value" /> parameter is a valid XML attribute value; otherwise, <see langword="false" />.</returns>
// Token: 0x0600227F RID: 8831 RVA: 0x00016590 File Offset: 0x00014790
[Token(Token = "0x600227F")]
[Address(RVA = "0xD0A6D0", Offset = "0xD096D0", VA = "0x180D0A6D0")]
public static bool IsValidAttributeValue(string value)
{
return default(bool);
}
/// <summary>Determines whether a string is a valid tag.</summary>
/// <param name="tag">The tag to test for validity.</param>
/// <returns>
/// <see langword="true" /> if the <paramref name="tag" /> parameter is a valid XML tag; otherwise, <see langword="false" />.</returns>
// Token: 0x06002280 RID: 8832 RVA: 0x000165A8 File Offset: 0x000147A8
[Token(Token = "0x6002280")]
[Address(RVA = "0xD0A760", Offset = "0xD09760", VA = "0x180D0A760")]
public static bool IsValidTag(string tag)
{
return default(bool);
}
/// <summary>Determines whether a string is valid as text within an XML element.</summary>
/// <param name="text">The text to test for validity.</param>
/// <returns>
/// <see langword="true" /> if the <paramref name="text" /> parameter is a valid XML text element; otherwise, <see langword="false" />.</returns>
// Token: 0x06002281 RID: 8833 RVA: 0x000165C0 File Offset: 0x000147C0
[Token(Token = "0x6002281")]
[Address(RVA = "0xD0A7F0", Offset = "0xD097F0", VA = "0x180D0A7F0")]
public static bool IsValidText(string text)
{
return default(bool);
}
/// <summary>Finds a child by its tag name.</summary>
/// <param name="tag">The tag for which to search in child elements.</param>
/// <returns>The first child XML element with the specified tag value, or <see langword="null" /> if no child element with <paramref name="tag" /> exists.</returns>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="tag" /> parameter is <see langword="null" />.</exception>
// Token: 0x06002282 RID: 8834 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002282")]
[Address(RVA = "0xD0A880", Offset = "0xD09880", VA = "0x180D0A880")]
public SecurityElement SearchForChildByTag(string tag)
{
return null;
}
/// <summary>Finds a child by its tag name and returns the contained text.</summary>
/// <param name="tag">The tag for which to search in child elements.</param>
/// <returns>The text contents of the first child element with the specified tag value.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="tag" /> is <see langword="null" />.</exception>
// Token: 0x06002283 RID: 8835 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002283")]
[Address(RVA = "0xD0AC00", Offset = "0xD09C00", VA = "0x180D0AC00")]
public string SearchForTextOfTag(string tag)
{
return null;
}
/// <summary>Produces a string representation of an XML element and its constituent attributes, child elements, and text.</summary>
/// <returns>The XML element and its contents.</returns>
// Token: 0x06002284 RID: 8836 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002284")]
[Address(RVA = "0xD0AD80", Offset = "0xD09D80", VA = "0x180D0AD80", Slot = "3")]
public override string ToString()
{
return null;
}
// Token: 0x06002285 RID: 8837 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002285")]
[Address(RVA = "0xD0AE10", Offset = "0xD09E10", VA = "0x180D0AE10")]
private void ToXml(ref StringBuilder s, int level)
{
}
// Token: 0x06002286 RID: 8838 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002286")]
[Address(RVA = "0xD0A440", Offset = "0xD09440", VA = "0x180D0A440")]
internal SecurityElement.SecurityAttribute GetAttribute(string name)
{
return null;
}
// Token: 0x170004D5 RID: 1237
// (set) Token: 0x06002287 RID: 8839 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170004D5")]
internal string m_strText
{
[Token(Token = "0x6002287")]
[Address(RVA = "0x415800", Offset = "0x414800", VA = "0x180415800")]
set
{
}
}
// Token: 0x06002288 RID: 8840 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002288")]
[Address(RVA = "0xD0A9D0", Offset = "0xD099D0", VA = "0x180D0A9D0")]
internal string SearchForTextOfLocalName(string strLocalName)
{
return null;
}
// Token: 0x04001333 RID: 4915
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001333")]
private string text;
// Token: 0x04001334 RID: 4916
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001334")]
private string tag;
// Token: 0x04001335 RID: 4917
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4001335")]
private ArrayList attributes;
// Token: 0x04001336 RID: 4918
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4001336")]
private ArrayList children;
// Token: 0x04001337 RID: 4919
[Token(Token = "0x4001337")]
private static readonly char[] invalid_tag_chars;
// Token: 0x04001338 RID: 4920
[Token(Token = "0x4001338")]
private static readonly char[] invalid_text_chars;
// Token: 0x04001339 RID: 4921
[Token(Token = "0x4001339")]
private static readonly char[] invalid_attr_name_chars;
// Token: 0x0400133A RID: 4922
[Token(Token = "0x400133A")]
private static readonly char[] invalid_attr_value_chars;
// Token: 0x0400133B RID: 4923
[Token(Token = "0x400133B")]
private static readonly char[] invalid_chars;
// Token: 0x020003C5 RID: 965
[Token(Token = "0x20003C5")]
internal class SecurityAttribute
{
// Token: 0x0600228A RID: 8842 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600228A")]
[Address(RVA = "0xD08FF0", Offset = "0xD07FF0", VA = "0x180D08FF0")]
public SecurityAttribute(string name, string value)
{
}
// Token: 0x170004D6 RID: 1238
// (get) Token: 0x0600228B RID: 8843 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170004D6")]
public string Name
{
[Token(Token = "0x600228B")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
get
{
return null;
}
}
// Token: 0x170004D7 RID: 1239
// (get) Token: 0x0600228C RID: 8844 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170004D7")]
public string Value
{
[Token(Token = "0x600228C")]
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
get
{
return null;
}
}
// Token: 0x0400133C RID: 4924
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x400133C")]
private string _name;
// Token: 0x0400133D RID: 4925
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x400133D")]
private string _value;
}
}
}