1 // Licensed to the .NET Foundation under one or more agreements. 2 // The .NET Foundation licenses this file to you under the MIT license. 3 // See the LICENSE file in the project root for more information. 4 5 [assembly:System.Reflection.AssemblyVersionAttribute("4.0.0.0")] 6 [assembly:System.CLSCompliantAttribute(true)] 7 [assembly:System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute.DebuggingModes)(2))] 8 [assembly:System.Reflection.AssemblyCompanyAttribute("MONO development team")] 9 [assembly:System.Reflection.AssemblyCopyrightAttribute("(c) 2003-2004 Various Authors")] 10 [assembly:System.Reflection.AssemblyDescriptionAttribute("Mono.Security.dll")] 11 [assembly:System.Reflection.AssemblyProductAttribute("MONO CLI")] 12 [assembly:System.Reflection.AssemblyTitleAttribute("Mono.Security.dll")] 13 [assembly:System.Resources.NeutralResourcesLanguageAttribute("en-US")] 14 [assembly:System.Runtime.CompilerServices.CompilationRelaxationsAttribute(8)] 15 [assembly:System.Runtime.CompilerServices.InternalsVisibleToAttribute("System, PublicKey=00000000000000000400000000000000")] 16 [assembly:System.Runtime.CompilerServices.ReferenceAssemblyAttribute] 17 [assembly:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true)] 18 [assembly:System.Runtime.InteropServices.ComVisibleAttribute(false)] 19 [assembly:System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.RequestMinimum, SkipVerification=true)] 20 namespace Mono.Math 21 { 22 public partial class BigInteger 23 { BigInteger()24 public BigInteger() { } BigInteger(Mono.Math.BigInteger bi)25 public BigInteger(Mono.Math.BigInteger bi) { } 26 [System.CLSCompliantAttribute(false)] BigInteger(Mono.Math.BigInteger bi, uint len)27 public BigInteger(Mono.Math.BigInteger bi, uint len) { } 28 [System.CLSCompliantAttribute(false)] BigInteger(Mono.Math.BigInteger.Sign sign, uint len)29 public BigInteger(Mono.Math.BigInteger.Sign sign, uint len) { } BigInteger(byte[] inData)30 public BigInteger(byte[] inData) { } 31 [System.CLSCompliantAttribute(false)] BigInteger(uint ui)32 public BigInteger(uint ui) { } 33 [System.CLSCompliantAttribute(false)] BigInteger(uint[] inData)34 public BigInteger(uint[] inData) { } 35 [System.CLSCompliantAttribute(false)] BigInteger(ulong ul)36 public BigInteger(ulong ul) { } Add(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2)37 public static Mono.Math.BigInteger Add(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; } BitCount()38 public int BitCount() { throw null; } Clear()39 public void Clear() { } 40 [System.CLSCompliantAttribute(false)] ClearBit(uint bitNum)41 public void ClearBit(uint bitNum) { } Compare(Mono.Math.BigInteger bi)42 public Mono.Math.BigInteger.Sign Compare(Mono.Math.BigInteger bi) { throw null; } Divid(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2)43 public static Mono.Math.BigInteger Divid(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; } Divid(Mono.Math.BigInteger bi, int i)44 public static Mono.Math.BigInteger Divid(Mono.Math.BigInteger bi, int i) { throw null; } Equals(object o)45 public override bool Equals(object o) { throw null; } GCD(Mono.Math.BigInteger bi)46 public Mono.Math.BigInteger GCD(Mono.Math.BigInteger bi) { throw null; } GeneratePseudoPrime(int bits)47 public static Mono.Math.BigInteger GeneratePseudoPrime(int bits) { throw null; } GenerateRandom(int bits)48 public static Mono.Math.BigInteger GenerateRandom(int bits) { throw null; } GenerateRandom(int bits, System.Security.Cryptography.RandomNumberGenerator rng)49 public static Mono.Math.BigInteger GenerateRandom(int bits, System.Security.Cryptography.RandomNumberGenerator rng) { throw null; } GetBytes()50 public byte[] GetBytes() { throw null; } GetHashCode()51 public override int GetHashCode() { throw null; } Incr2()52 public void Incr2() { } IsProbablePrime()53 public bool IsProbablePrime() { throw null; } LowestSetBit()54 public int LowestSetBit() { throw null; } ModInverse(Mono.Math.BigInteger modulus)55 public Mono.Math.BigInteger ModInverse(Mono.Math.BigInteger modulus) { throw null; } ModPow(Mono.Math.BigInteger exp, Mono.Math.BigInteger n)56 public Mono.Math.BigInteger ModPow(Mono.Math.BigInteger exp, Mono.Math.BigInteger n) { throw null; } Modulus(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2)57 public static Mono.Math.BigInteger Modulus(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; } Modulus(Mono.Math.BigInteger bi, int i)58 public static int Modulus(Mono.Math.BigInteger bi, int i) { throw null; } 59 [System.CLSCompliantAttribute(false)] Modulus(Mono.Math.BigInteger bi, uint ui)60 public static uint Modulus(Mono.Math.BigInteger bi, uint ui) { throw null; } Multiply(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2)61 public static Mono.Math.BigInteger Multiply(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; } Multiply(Mono.Math.BigInteger bi, int i)62 public static Mono.Math.BigInteger Multiply(Mono.Math.BigInteger bi, int i) { throw null; } NextHighestPrime(Mono.Math.BigInteger bi)63 public static Mono.Math.BigInteger NextHighestPrime(Mono.Math.BigInteger bi) { throw null; } operator +(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2)64 public static Mono.Math.BigInteger operator +(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; } operator /(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2)65 public static Mono.Math.BigInteger operator /(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; } operator /(Mono.Math.BigInteger bi, int i)66 public static Mono.Math.BigInteger operator /(Mono.Math.BigInteger bi, int i) { throw null; } operator ==(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2)67 public static bool operator ==(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; } 68 [System.CLSCompliantAttribute(false)] operator ==(Mono.Math.BigInteger bi1, uint ui)69 public static bool operator ==(Mono.Math.BigInteger bi1, uint ui) { throw null; } operator >(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2)70 public static bool operator >(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; } operator >=(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2)71 public static bool operator >=(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; } operator Mono.Math.BigInteger(int value)72 public static implicit operator Mono.Math.BigInteger (int value) { throw null; } 73 [System.CLSCompliantAttribute(false)] operator Mono.Math.BigInteger(uint value)74 public static implicit operator Mono.Math.BigInteger (uint value) { throw null; } 75 [System.CLSCompliantAttribute(false)] operator Mono.Math.BigInteger(ulong value)76 public static implicit operator Mono.Math.BigInteger (ulong value) { throw null; } operator !=(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2)77 public static bool operator !=(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; } 78 [System.CLSCompliantAttribute(false)] operator !=(Mono.Math.BigInteger bi1, uint ui)79 public static bool operator !=(Mono.Math.BigInteger bi1, uint ui) { throw null; } operator <<(Mono.Math.BigInteger bi1, int shiftVal)80 public static Mono.Math.BigInteger operator <<(Mono.Math.BigInteger bi1, int shiftVal) { throw null; } operator <(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2)81 public static bool operator <(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; } operator <=(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2)82 public static bool operator <=(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; } operator %(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2)83 public static Mono.Math.BigInteger operator %(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; } operator %(Mono.Math.BigInteger bi, int i)84 public static int operator %(Mono.Math.BigInteger bi, int i) { throw null; } 85 [System.CLSCompliantAttribute(false)] operator %(Mono.Math.BigInteger bi, uint ui)86 public static uint operator %(Mono.Math.BigInteger bi, uint ui) { throw null; } operator *(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2)87 public static Mono.Math.BigInteger operator *(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; } operator *(Mono.Math.BigInteger bi, int i)88 public static Mono.Math.BigInteger operator *(Mono.Math.BigInteger bi, int i) { throw null; } operator >>(Mono.Math.BigInteger bi1, int shiftVal)89 public static Mono.Math.BigInteger operator >>(Mono.Math.BigInteger bi1, int shiftVal) { throw null; } operator -(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2)90 public static Mono.Math.BigInteger operator -(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; } Parse(string number)91 public static Mono.Math.BigInteger Parse(string number) { throw null; } Randomize()92 public void Randomize() { } Randomize(System.Security.Cryptography.RandomNumberGenerator rng)93 public void Randomize(System.Security.Cryptography.RandomNumberGenerator rng) { } 94 [System.CLSCompliantAttribute(false)] SetBit(uint bitNum)95 public void SetBit(uint bitNum) { } 96 [System.CLSCompliantAttribute(false)] SetBit(uint bitNum, bool value)97 public void SetBit(uint bitNum, bool value) { } Subtract(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2)98 public static Mono.Math.BigInteger Subtract(Mono.Math.BigInteger bi1, Mono.Math.BigInteger bi2) { throw null; } TestBit(int bitNum)99 public bool TestBit(int bitNum) { throw null; } 100 [System.CLSCompliantAttribute(false)] TestBit(uint bitNum)101 public bool TestBit(uint bitNum) { throw null; } ToString()102 public override string ToString() { throw null; } 103 [System.CLSCompliantAttribute(false)] ToString(uint radix)104 public string ToString(uint radix) { throw null; } 105 [System.CLSCompliantAttribute(false)] ToString(uint radix, string characterSet)106 public string ToString(uint radix, string characterSet) { throw null; } 107 public sealed partial class ModulusRing 108 { ModulusRing(Mono.Math.BigInteger modulus)109 public ModulusRing(Mono.Math.BigInteger modulus) { } BarrettReduction(Mono.Math.BigInteger x)110 public void BarrettReduction(Mono.Math.BigInteger x) { } Difference(Mono.Math.BigInteger a, Mono.Math.BigInteger b)111 public Mono.Math.BigInteger Difference(Mono.Math.BigInteger a, Mono.Math.BigInteger b) { throw null; } Multiply(Mono.Math.BigInteger a, Mono.Math.BigInteger b)112 public Mono.Math.BigInteger Multiply(Mono.Math.BigInteger a, Mono.Math.BigInteger b) { throw null; } Pow(Mono.Math.BigInteger a, Mono.Math.BigInteger k)113 public Mono.Math.BigInteger Pow(Mono.Math.BigInteger a, Mono.Math.BigInteger k) { throw null; } 114 [System.CLSCompliantAttribute(false)] Pow(uint b, Mono.Math.BigInteger exp)115 public Mono.Math.BigInteger Pow(uint b, Mono.Math.BigInteger exp) { throw null; } 116 } 117 public enum Sign 118 { 119 Negative = -1, 120 Positive = 1, 121 Zero = 0, 122 } 123 } 124 } 125 namespace Mono.Math.Prime 126 { 127 public enum ConfidenceFactor 128 { 129 ExtraHigh = 4, 130 ExtraLow = 0, 131 High = 3, 132 Low = 1, 133 Medium = 2, 134 Provable = 5, 135 } PrimalityTest(Mono.Math.BigInteger bi, Mono.Math.Prime.ConfidenceFactor confidence)136 public delegate bool PrimalityTest(Mono.Math.BigInteger bi, Mono.Math.Prime.ConfidenceFactor confidence); 137 public sealed partial class PrimalityTests 138 { PrimalityTests()139 internal PrimalityTests() { } RabinMillerTest(Mono.Math.BigInteger n, Mono.Math.Prime.ConfidenceFactor confidence)140 public static bool RabinMillerTest(Mono.Math.BigInteger n, Mono.Math.Prime.ConfidenceFactor confidence) { throw null; } SmallPrimeSppTest(Mono.Math.BigInteger bi, Mono.Math.Prime.ConfidenceFactor confidence)141 public static bool SmallPrimeSppTest(Mono.Math.BigInteger bi, Mono.Math.Prime.ConfidenceFactor confidence) { throw null; } Test(Mono.Math.BigInteger n, Mono.Math.Prime.ConfidenceFactor confidence)142 public static bool Test(Mono.Math.BigInteger n, Mono.Math.Prime.ConfidenceFactor confidence) { throw null; } 143 } 144 } 145 namespace Mono.Math.Prime.Generator 146 { 147 public partial class NextPrimeFinder : Mono.Math.Prime.Generator.SequentialSearchPrimeGeneratorBase 148 { NextPrimeFinder()149 public NextPrimeFinder() { } GenerateSearchBase(int bits, object Context)150 protected override Mono.Math.BigInteger GenerateSearchBase(int bits, object Context) { throw null; } 151 } 152 public abstract partial class PrimeGeneratorBase 153 { PrimeGeneratorBase()154 protected PrimeGeneratorBase() { } 155 public virtual Mono.Math.Prime.ConfidenceFactor Confidence { get { throw null; } } 156 public virtual Mono.Math.Prime.PrimalityTest PrimalityTest { get { throw null; } } 157 public virtual int TrialDivisionBounds { get { throw null; } } GenerateNewPrime(int bits)158 public abstract Mono.Math.BigInteger GenerateNewPrime(int bits); PostTrialDivisionTests(Mono.Math.BigInteger bi)159 protected bool PostTrialDivisionTests(Mono.Math.BigInteger bi) { throw null; } 160 } 161 public partial class SequentialSearchPrimeGeneratorBase : Mono.Math.Prime.Generator.PrimeGeneratorBase 162 { SequentialSearchPrimeGeneratorBase()163 public SequentialSearchPrimeGeneratorBase() { } GenerateNewPrime(int bits)164 public override Mono.Math.BigInteger GenerateNewPrime(int bits) { throw null; } GenerateNewPrime(int bits, object context)165 public virtual Mono.Math.BigInteger GenerateNewPrime(int bits, object context) { throw null; } GenerateSearchBase(int bits, object context)166 protected virtual Mono.Math.BigInteger GenerateSearchBase(int bits, object context) { throw null; } IsPrimeAcceptable(Mono.Math.BigInteger bi, object context)167 protected virtual bool IsPrimeAcceptable(Mono.Math.BigInteger bi, object context) { throw null; } 168 } 169 } 170 namespace Mono.Security 171 { 172 public partial class ASN1 173 { ASN1()174 public ASN1() { } ASN1(byte tag)175 public ASN1(byte tag) { } ASN1(byte tag, byte[] data)176 public ASN1(byte tag, byte[] data) { } ASN1(byte[] data)177 public ASN1(byte[] data) { } 178 public int Count { get { throw null; } } 179 public Mono.Security.ASN1 this[int index] { get { throw null; } } 180 public int Length { get { throw null; } } 181 public byte Tag { get { throw null; } } 182 public byte[] Value { get { throw null; } set { } } Add(Mono.Security.ASN1 asn1)183 public Mono.Security.ASN1 Add(Mono.Security.ASN1 asn1) { throw null; } CompareValue(byte[] value)184 public bool CompareValue(byte[] value) { throw null; } Decode(byte[] asn1, ref int anPos, int anLength)185 protected void Decode(byte[] asn1, ref int anPos, int anLength) { } DecodeTLV(byte[] asn1, ref int pos, out byte tag, out int length, out byte[] content)186 protected void DecodeTLV(byte[] asn1, ref int pos, out byte tag, out int length, out byte[] content) { tag = default(byte); length = default(int); content = default(byte[]); } Element(int index, byte anTag)187 public Mono.Security.ASN1 Element(int index, byte anTag) { throw null; } Equals(byte[] asn1)188 public bool Equals(byte[] asn1) { throw null; } GetBytes()189 public virtual byte[] GetBytes() { throw null; } SaveToFile(string filename)190 public void SaveToFile(string filename) { } ToString()191 public override string ToString() { throw null; } 192 } 193 public static partial class ASN1Convert 194 { FromDateTime(System.DateTime dt)195 public static Mono.Security.ASN1 FromDateTime(System.DateTime dt) { throw null; } FromInt32(int value)196 public static Mono.Security.ASN1 FromInt32(int value) { throw null; } FromOid(string oid)197 public static Mono.Security.ASN1 FromOid(string oid) { throw null; } FromUnsignedBigInteger(byte[] big)198 public static Mono.Security.ASN1 FromUnsignedBigInteger(byte[] big) { throw null; } ToDateTime(Mono.Security.ASN1 time)199 public static System.DateTime ToDateTime(Mono.Security.ASN1 time) { throw null; } ToInt32(Mono.Security.ASN1 asn1)200 public static int ToInt32(Mono.Security.ASN1 asn1) { throw null; } ToOid(Mono.Security.ASN1 asn1)201 public static string ToOid(Mono.Security.ASN1 asn1) { throw null; } 202 } 203 public sealed partial class PKCS7 204 { PKCS7()205 internal PKCS7() { } AlgorithmIdentifier(string oid)206 public static Mono.Security.ASN1 AlgorithmIdentifier(string oid) { throw null; } AlgorithmIdentifier(string oid, Mono.Security.ASN1 parameters)207 public static Mono.Security.ASN1 AlgorithmIdentifier(string oid, Mono.Security.ASN1 parameters) { throw null; } Attribute(string oid, Mono.Security.ASN1 value)208 public static Mono.Security.ASN1 Attribute(string oid, Mono.Security.ASN1 value) { throw null; } IssuerAndSerialNumber(Mono.Security.X509.X509Certificate x509)209 public static Mono.Security.ASN1 IssuerAndSerialNumber(Mono.Security.X509.X509Certificate x509) { throw null; } 210 public partial class ContentInfo 211 { ContentInfo()212 public ContentInfo() { } ContentInfo(Mono.Security.ASN1 asn1)213 public ContentInfo(Mono.Security.ASN1 asn1) { } ContentInfo(byte[] data)214 public ContentInfo(byte[] data) { } ContentInfo(string oid)215 public ContentInfo(string oid) { } 216 public Mono.Security.ASN1 ASN1 { get { throw null; } } 217 public Mono.Security.ASN1 Content { get { throw null; } set { } } 218 public string ContentType { get { throw null; } set { } } GetBytes()219 public byte[] GetBytes() { throw null; } 220 } 221 public partial class EncryptedData 222 { EncryptedData()223 public EncryptedData() { } EncryptedData(Mono.Security.ASN1 asn1)224 public EncryptedData(Mono.Security.ASN1 asn1) { } EncryptedData(byte[] data)225 public EncryptedData(byte[] data) { } 226 public Mono.Security.ASN1 ASN1 { get { throw null; } } 227 public Mono.Security.PKCS7.ContentInfo ContentInfo { get { throw null; } } 228 public byte[] EncryptedContent { get { throw null; } } 229 public Mono.Security.PKCS7.ContentInfo EncryptionAlgorithm { get { throw null; } } 230 public byte Version { get { throw null; } set { } } GetBytes()231 public byte[] GetBytes() { throw null; } 232 } 233 public partial class EnvelopedData 234 { EnvelopedData()235 public EnvelopedData() { } EnvelopedData(Mono.Security.ASN1 asn1)236 public EnvelopedData(Mono.Security.ASN1 asn1) { } EnvelopedData(byte[] data)237 public EnvelopedData(byte[] data) { } 238 public Mono.Security.ASN1 ASN1 { get { throw null; } } 239 public Mono.Security.PKCS7.ContentInfo ContentInfo { get { throw null; } } 240 public byte[] EncryptedContent { get { throw null; } } 241 public Mono.Security.PKCS7.ContentInfo EncryptionAlgorithm { get { throw null; } } 242 public System.Collections.ArrayList RecipientInfos { get { throw null; } } 243 public byte Version { get { throw null; } set { } } GetBytes()244 public byte[] GetBytes() { throw null; } 245 } 246 public partial class Oid 247 { 248 public const string contentType = "1.2.840.113549.1.9.3"; 249 public const string countersignature = "1.2.840.113549.1.9.6"; 250 public const string data = "1.2.840.113549.1.7.1"; 251 public const string digestedData = "1.2.840.113549.1.7.5"; 252 public const string encryptedData = "1.2.840.113549.1.7.6"; 253 public const string envelopedData = "1.2.840.113549.1.7.3"; 254 public const string messageDigest = "1.2.840.113549.1.9.4"; 255 public const string rsaEncryption = "1.2.840.113549.1.1.1"; 256 public const string signedAndEnvelopedData = "1.2.840.113549.1.7.4"; 257 public const string signedData = "1.2.840.113549.1.7.2"; 258 public const string signingTime = "1.2.840.113549.1.9.5"; Oid()259 public Oid() { } 260 } 261 public partial class RecipientInfo 262 { RecipientInfo()263 public RecipientInfo() { } RecipientInfo(Mono.Security.ASN1 data)264 public RecipientInfo(Mono.Security.ASN1 data) { } 265 public string Issuer { get { throw null; } } 266 public byte[] Key { get { throw null; } } 267 public string Oid { get { throw null; } } 268 public byte[] Serial { get { throw null; } } 269 public byte[] SubjectKeyIdentifier { get { throw null; } } 270 public int Version { get { throw null; } } 271 } 272 public partial class SignedData 273 { SignedData()274 public SignedData() { } SignedData(Mono.Security.ASN1 asn1)275 public SignedData(Mono.Security.ASN1 asn1) { } SignedData(byte[] data)276 public SignedData(byte[] data) { } 277 public Mono.Security.ASN1 ASN1 { get { throw null; } } 278 public Mono.Security.X509.X509CertificateCollection Certificates { get { throw null; } } 279 public Mono.Security.PKCS7.ContentInfo ContentInfo { get { throw null; } } 280 public System.Collections.ArrayList Crls { get { throw null; } } 281 public string HashName { get { throw null; } set { } } 282 public Mono.Security.PKCS7.SignerInfo SignerInfo { get { throw null; } } 283 public bool UseAuthenticatedAttributes { get { throw null; } set { } } 284 public byte Version { get { throw null; } set { } } GetBytes()285 public byte[] GetBytes() { throw null; } VerifySignature(System.Security.Cryptography.AsymmetricAlgorithm aa)286 public bool VerifySignature(System.Security.Cryptography.AsymmetricAlgorithm aa) { throw null; } 287 } 288 public partial class SignerInfo 289 { SignerInfo()290 public SignerInfo() { } SignerInfo(Mono.Security.ASN1 asn1)291 public SignerInfo(Mono.Security.ASN1 asn1) { } SignerInfo(byte[] data)292 public SignerInfo(byte[] data) { } 293 public Mono.Security.ASN1 ASN1 { get { throw null; } } 294 public System.Collections.ArrayList AuthenticatedAttributes { get { throw null; } } 295 public Mono.Security.X509.X509Certificate Certificate { get { throw null; } set { } } 296 public string HashName { get { throw null; } set { } } 297 public string IssuerName { get { throw null; } } 298 public System.Security.Cryptography.AsymmetricAlgorithm Key { get { throw null; } set { } } 299 public byte[] SerialNumber { get { throw null; } } 300 public byte[] Signature { get { throw null; } set { } } 301 public byte[] SubjectKeyIdentifier { get { throw null; } } 302 public System.Collections.ArrayList UnauthenticatedAttributes { get { throw null; } } 303 public byte Version { get { throw null; } set { } } GetBytes()304 public byte[] GetBytes() { throw null; } 305 } 306 } 307 public sealed partial class StrongName 308 { StrongName()309 public StrongName() { } StrongName(byte[] data)310 public StrongName(byte[] data) { } StrongName(int keySize)311 public StrongName(int keySize) { } StrongName(System.Security.Cryptography.RSA rsa)312 public StrongName(System.Security.Cryptography.RSA rsa) { } 313 public bool CanSign { get { throw null; } } 314 public byte[] PublicKey { get { throw null; } } 315 public byte[] PublicKeyToken { get { throw null; } } 316 public System.Security.Cryptography.RSA RSA { get { throw null; } set { } } 317 public string TokenAlgorithm { get { throw null; } set { } } GetBytes()318 public byte[] GetBytes() { throw null; } Hash(string fileName)319 public byte[] Hash(string fileName) { throw null; } Sign(string fileName)320 public bool Sign(string fileName) { throw null; } Verify(System.IO.Stream stream)321 public bool Verify(System.IO.Stream stream) { throw null; } Verify(string fileName)322 public bool Verify(string fileName) { throw null; } 323 } 324 } 325 namespace Mono.Security.Authenticode 326 { 327 public partial class AuthenticodeBase 328 { 329 public const string spcIndirectDataContext = "1.3.6.1.4.1.311.2.1.4"; AuthenticodeBase()330 public AuthenticodeBase() { } HashFile(string fileName, string hashName)331 protected byte[] HashFile(string fileName, string hashName) { throw null; } 332 } 333 public partial class AuthenticodeDeformatter : Mono.Security.Authenticode.AuthenticodeBase 334 { AuthenticodeDeformatter()335 public AuthenticodeDeformatter() { } AuthenticodeDeformatter(string fileName)336 public AuthenticodeDeformatter(string fileName) { } 337 public Mono.Security.X509.X509CertificateCollection Certificates { get { throw null; } } 338 public string FileName { get { throw null; } set { } } 339 public byte[] Hash { get { throw null; } } 340 public int Reason { get { throw null; } } 341 public byte[] Signature { get { throw null; } } 342 public Mono.Security.X509.X509Certificate SigningCertificate { get { throw null; } } 343 public System.DateTime Timestamp { get { throw null; } } IsTrusted()344 public bool IsTrusted() { throw null; } 345 } 346 public partial class AuthenticodeFormatter : Mono.Security.Authenticode.AuthenticodeBase 347 { AuthenticodeFormatter()348 public AuthenticodeFormatter() { } 349 public Mono.Security.Authenticode.Authority Authority { get { throw null; } set { } } 350 public Mono.Security.X509.X509CertificateCollection Certificates { get { throw null; } } 351 public System.Collections.ArrayList Crl { get { throw null; } } 352 public string Description { get { throw null; } set { } } 353 public string Hash { get { throw null; } set { } } 354 public System.Security.Cryptography.RSA RSA { get { throw null; } set { } } 355 public System.Uri TimestampUrl { get { throw null; } set { } } 356 public System.Uri Url { get { throw null; } set { } } ProcessTimestamp(byte[] response)357 public void ProcessTimestamp(byte[] response) { } Sign(string fileName)358 public bool Sign(string fileName) { throw null; } Timestamp(string fileName)359 public bool Timestamp(string fileName) { throw null; } TimestampRequest(byte[] signature)360 public Mono.Security.ASN1 TimestampRequest(byte[] signature) { throw null; } 361 } 362 public enum Authority 363 { 364 Commercial = 1, 365 Individual = 0, 366 Maximum = 2, 367 } 368 public partial class PrivateKey 369 { PrivateKey()370 public PrivateKey() { } PrivateKey(byte[] data, string password)371 public PrivateKey(byte[] data, string password) { } 372 public bool Encrypted { get { throw null; } } 373 public int KeyType { get { throw null; } set { } } 374 public System.Security.Cryptography.RSA RSA { get { throw null; } set { } } 375 public bool Weak { get { throw null; } set { } } CreateFromFile(string filename)376 public static Mono.Security.Authenticode.PrivateKey CreateFromFile(string filename) { throw null; } CreateFromFile(string filename, string password)377 public static Mono.Security.Authenticode.PrivateKey CreateFromFile(string filename, string password) { throw null; } Save(string filename)378 public void Save(string filename) { } Save(string filename, string password)379 public void Save(string filename, string password) { } 380 } 381 public partial class SoftwarePublisherCertificate 382 { SoftwarePublisherCertificate()383 public SoftwarePublisherCertificate() { } SoftwarePublisherCertificate(byte[] data)384 public SoftwarePublisherCertificate(byte[] data) { } 385 public Mono.Security.X509.X509CertificateCollection Certificates { get { throw null; } } 386 public System.Collections.ArrayList Crls { get { throw null; } } CreateFromFile(string filename)387 public static Mono.Security.Authenticode.SoftwarePublisherCertificate CreateFromFile(string filename) { throw null; } GetBytes()388 public byte[] GetBytes() { throw null; } 389 } 390 } 391 namespace Mono.Security.Cryptography 392 { 393 public partial class ARC4Managed : Mono.Security.Cryptography.RC4, System.IDisposable, System.Security.Cryptography.ICryptoTransform 394 { ARC4Managed()395 public ARC4Managed() { } 396 public bool CanReuseTransform { get { throw null; } } 397 public bool CanTransformMultipleBlocks { get { throw null; } } 398 public int InputBlockSize { get { throw null; } } 399 public override byte[] Key { get { throw null; } set { } } 400 public int OutputBlockSize { get { throw null; } } CreateDecryptor(byte[] rgbKey, byte[] rgvIV)401 public override System.Security.Cryptography.ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[] rgvIV) { throw null; } CreateEncryptor(byte[] rgbKey, byte[] rgvIV)402 public override System.Security.Cryptography.ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[] rgvIV) { throw null; } Dispose(bool disposing)403 protected override void Dispose(bool disposing) { } ~ARC4Managed()404 ~ARC4Managed() { } GenerateIV()405 public override void GenerateIV() { } GenerateKey()406 public override void GenerateKey() { } TransformBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)407 public int TransformBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset) { throw null; } TransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount)408 public byte[] TransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount) { throw null; } 409 } 410 public partial class BlockProcessor 411 { BlockProcessor(System.Security.Cryptography.ICryptoTransform transform)412 public BlockProcessor(System.Security.Cryptography.ICryptoTransform transform) { } BlockProcessor(System.Security.Cryptography.ICryptoTransform transform, int blockSize)413 public BlockProcessor(System.Security.Cryptography.ICryptoTransform transform, int blockSize) { } Core(byte[] rgb)414 public void Core(byte[] rgb) { } Core(byte[] rgb, int ib, int cb)415 public void Core(byte[] rgb, int ib, int cb) { } Final()416 public byte[] Final() { throw null; } ~BlockProcessor()417 ~BlockProcessor() { } Initialize()418 public void Initialize() { } 419 } 420 public sealed partial class CryptoConvert 421 { CryptoConvert()422 internal CryptoConvert() { } FromCapiKeyBlob(byte[] blob)423 public static System.Security.Cryptography.RSA FromCapiKeyBlob(byte[] blob) { throw null; } FromCapiKeyBlob(byte[] blob, int offset)424 public static System.Security.Cryptography.RSA FromCapiKeyBlob(byte[] blob, int offset) { throw null; } FromCapiKeyBlobDSA(byte[] blob)425 public static System.Security.Cryptography.DSA FromCapiKeyBlobDSA(byte[] blob) { throw null; } FromCapiKeyBlobDSA(byte[] blob, int offset)426 public static System.Security.Cryptography.DSA FromCapiKeyBlobDSA(byte[] blob, int offset) { throw null; } FromCapiPrivateKeyBlob(byte[] blob)427 public static System.Security.Cryptography.RSA FromCapiPrivateKeyBlob(byte[] blob) { throw null; } FromCapiPrivateKeyBlob(byte[] blob, int offset)428 public static System.Security.Cryptography.RSA FromCapiPrivateKeyBlob(byte[] blob, int offset) { throw null; } FromCapiPrivateKeyBlobDSA(byte[] blob)429 public static System.Security.Cryptography.DSA FromCapiPrivateKeyBlobDSA(byte[] blob) { throw null; } FromCapiPrivateKeyBlobDSA(byte[] blob, int offset)430 public static System.Security.Cryptography.DSA FromCapiPrivateKeyBlobDSA(byte[] blob, int offset) { throw null; } FromCapiPublicKeyBlob(byte[] blob)431 public static System.Security.Cryptography.RSA FromCapiPublicKeyBlob(byte[] blob) { throw null; } FromCapiPublicKeyBlob(byte[] blob, int offset)432 public static System.Security.Cryptography.RSA FromCapiPublicKeyBlob(byte[] blob, int offset) { throw null; } FromCapiPublicKeyBlobDSA(byte[] blob)433 public static System.Security.Cryptography.DSA FromCapiPublicKeyBlobDSA(byte[] blob) { throw null; } FromCapiPublicKeyBlobDSA(byte[] blob, int offset)434 public static System.Security.Cryptography.DSA FromCapiPublicKeyBlobDSA(byte[] blob, int offset) { throw null; } FromHex(string hex)435 public static byte[] FromHex(string hex) { throw null; } ToCapiKeyBlob(System.Security.Cryptography.AsymmetricAlgorithm keypair, bool includePrivateKey)436 public static byte[] ToCapiKeyBlob(System.Security.Cryptography.AsymmetricAlgorithm keypair, bool includePrivateKey) { throw null; } ToCapiKeyBlob(System.Security.Cryptography.DSA dsa, bool includePrivateKey)437 public static byte[] ToCapiKeyBlob(System.Security.Cryptography.DSA dsa, bool includePrivateKey) { throw null; } ToCapiKeyBlob(System.Security.Cryptography.RSA rsa, bool includePrivateKey)438 public static byte[] ToCapiKeyBlob(System.Security.Cryptography.RSA rsa, bool includePrivateKey) { throw null; } ToCapiPrivateKeyBlob(System.Security.Cryptography.DSA dsa)439 public static byte[] ToCapiPrivateKeyBlob(System.Security.Cryptography.DSA dsa) { throw null; } ToCapiPrivateKeyBlob(System.Security.Cryptography.RSA rsa)440 public static byte[] ToCapiPrivateKeyBlob(System.Security.Cryptography.RSA rsa) { throw null; } ToCapiPublicKeyBlob(System.Security.Cryptography.DSA dsa)441 public static byte[] ToCapiPublicKeyBlob(System.Security.Cryptography.DSA dsa) { throw null; } ToCapiPublicKeyBlob(System.Security.Cryptography.RSA rsa)442 public static byte[] ToCapiPublicKeyBlob(System.Security.Cryptography.RSA rsa) { throw null; } ToHex(byte[] input)443 public static string ToHex(byte[] input) { throw null; } 444 } 445 public enum DHKeyGeneration 446 { 447 Random = 0, 448 Static = 1, 449 } 450 [System.SerializableAttribute] 451 [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] 452 public partial struct DHParameters 453 { 454 public byte[] G; 455 public byte[] P; 456 [System.NonSerializedAttribute] 457 public byte[] X; 458 } 459 public abstract partial class DiffieHellman : System.Security.Cryptography.AsymmetricAlgorithm 460 { DiffieHellman()461 protected DiffieHellman() { } Create()462 public static new Mono.Security.Cryptography.DiffieHellman Create() { throw null; } Create(string algName)463 public static new Mono.Security.Cryptography.DiffieHellman Create(string algName) { throw null; } CreateKeyExchange()464 public abstract byte[] CreateKeyExchange(); DecryptKeyExchange(byte[] keyex)465 public abstract byte[] DecryptKeyExchange(byte[] keyex); ExportParameters(bool includePrivate)466 public abstract Mono.Security.Cryptography.DHParameters ExportParameters(bool includePrivate); FromXmlString(string xmlString)467 public override void FromXmlString(string xmlString) { } ImportParameters(Mono.Security.Cryptography.DHParameters parameters)468 public abstract void ImportParameters(Mono.Security.Cryptography.DHParameters parameters); ToXmlString(bool includePrivateParameters)469 public override string ToXmlString(bool includePrivateParameters) { throw null; } 470 } 471 public sealed partial class DiffieHellmanManaged : Mono.Security.Cryptography.DiffieHellman 472 { DiffieHellmanManaged()473 public DiffieHellmanManaged() { } DiffieHellmanManaged(byte[] p, byte[] g, byte[] x)474 public DiffieHellmanManaged(byte[] p, byte[] g, byte[] x) { } DiffieHellmanManaged(byte[] p, byte[] g, int l)475 public DiffieHellmanManaged(byte[] p, byte[] g, int l) { } DiffieHellmanManaged(int bitLength, int l, Mono.Security.Cryptography.DHKeyGeneration method)476 public DiffieHellmanManaged(int bitLength, int l, Mono.Security.Cryptography.DHKeyGeneration method) { } 477 public override string KeyExchangeAlgorithm { get { throw null; } } 478 public override string SignatureAlgorithm { get { throw null; } } CreateKeyExchange()479 public override byte[] CreateKeyExchange() { throw null; } DecryptKeyExchange(byte[] keyEx)480 public override byte[] DecryptKeyExchange(byte[] keyEx) { throw null; } Dispose(bool disposing)481 protected override void Dispose(bool disposing) { } ExportParameters(bool includePrivateParameters)482 public override Mono.Security.Cryptography.DHParameters ExportParameters(bool includePrivateParameters) { throw null; } ~DiffieHellmanManaged()483 ~DiffieHellmanManaged() { } ImportParameters(Mono.Security.Cryptography.DHParameters parameters)484 public override void ImportParameters(Mono.Security.Cryptography.DHParameters parameters) { } 485 } 486 public sealed partial class KeyBuilder 487 { KeyBuilder()488 internal KeyBuilder() { } IV(int size)489 public static byte[] IV(int size) { throw null; } Key(int size)490 public static byte[] Key(int size) { throw null; } 491 } 492 public partial class KeyPairPersistence 493 { KeyPairPersistence(System.Security.Cryptography.CspParameters parameters)494 public KeyPairPersistence(System.Security.Cryptography.CspParameters parameters) { } KeyPairPersistence(System.Security.Cryptography.CspParameters parameters, string keyPair)495 public KeyPairPersistence(System.Security.Cryptography.CspParameters parameters, string keyPair) { } 496 public string Filename { get { throw null; } } 497 public string KeyValue { get { throw null; } set { } } 498 public System.Security.Cryptography.CspParameters Parameters { get { throw null; } } Load()499 public bool Load() { throw null; } Remove()500 public void Remove() { } Save()501 public void Save() { } 502 } 503 public abstract partial class MD2 : System.Security.Cryptography.HashAlgorithm 504 { MD2()505 protected MD2() { } Create()506 public static new Mono.Security.Cryptography.MD2 Create() { throw null; } Create(string hashName)507 public static new Mono.Security.Cryptography.MD2 Create(string hashName) { throw null; } 508 } 509 public partial class MD2Managed : Mono.Security.Cryptography.MD2 510 { MD2Managed()511 public MD2Managed() { } HashCore(byte[] array, int ibStart, int cbSize)512 protected override void HashCore(byte[] array, int ibStart, int cbSize) { } HashFinal()513 protected override byte[] HashFinal() { throw null; } Initialize()514 public override void Initialize() { } 515 } 516 public abstract partial class MD4 : System.Security.Cryptography.HashAlgorithm 517 { MD4()518 protected MD4() { } Create()519 public static new Mono.Security.Cryptography.MD4 Create() { throw null; } Create(string hashName)520 public static new Mono.Security.Cryptography.MD4 Create(string hashName) { throw null; } 521 } 522 public partial class MD4Managed : Mono.Security.Cryptography.MD4 523 { MD4Managed()524 public MD4Managed() { } HashCore(byte[] array, int ibStart, int cbSize)525 protected override void HashCore(byte[] array, int ibStart, int cbSize) { } HashFinal()526 protected override byte[] HashFinal() { throw null; } Initialize()527 public override void Initialize() { } 528 } 529 public sealed partial class PKCS1 530 { PKCS1()531 internal PKCS1() { } Decrypt_OAEP(System.Security.Cryptography.RSA rsa, System.Security.Cryptography.HashAlgorithm hash, byte[] C)532 public static byte[] Decrypt_OAEP(System.Security.Cryptography.RSA rsa, System.Security.Cryptography.HashAlgorithm hash, byte[] C) { throw null; } Decrypt_v15(System.Security.Cryptography.RSA rsa, byte[] C)533 public static byte[] Decrypt_v15(System.Security.Cryptography.RSA rsa, byte[] C) { throw null; } Encode_v15(System.Security.Cryptography.HashAlgorithm hash, byte[] hashValue, int emLength)534 public static byte[] Encode_v15(System.Security.Cryptography.HashAlgorithm hash, byte[] hashValue, int emLength) { throw null; } Encrypt_OAEP(System.Security.Cryptography.RSA rsa, System.Security.Cryptography.HashAlgorithm hash, System.Security.Cryptography.RandomNumberGenerator rng, byte[] M)535 public static byte[] Encrypt_OAEP(System.Security.Cryptography.RSA rsa, System.Security.Cryptography.HashAlgorithm hash, System.Security.Cryptography.RandomNumberGenerator rng, byte[] M) { throw null; } Encrypt_v15(System.Security.Cryptography.RSA rsa, System.Security.Cryptography.RandomNumberGenerator rng, byte[] M)536 public static byte[] Encrypt_v15(System.Security.Cryptography.RSA rsa, System.Security.Cryptography.RandomNumberGenerator rng, byte[] M) { throw null; } I2OSP(byte[] x, int size)537 public static byte[] I2OSP(byte[] x, int size) { throw null; } I2OSP(int x, int size)538 public static byte[] I2OSP(int x, int size) { throw null; } MGF1(System.Security.Cryptography.HashAlgorithm hash, byte[] mgfSeed, int maskLen)539 public static byte[] MGF1(System.Security.Cryptography.HashAlgorithm hash, byte[] mgfSeed, int maskLen) { throw null; } OS2IP(byte[] x)540 public static byte[] OS2IP(byte[] x) { throw null; } RSADP(System.Security.Cryptography.RSA rsa, byte[] c)541 public static byte[] RSADP(System.Security.Cryptography.RSA rsa, byte[] c) { throw null; } RSAEP(System.Security.Cryptography.RSA rsa, byte[] m)542 public static byte[] RSAEP(System.Security.Cryptography.RSA rsa, byte[] m) { throw null; } RSASP1(System.Security.Cryptography.RSA rsa, byte[] m)543 public static byte[] RSASP1(System.Security.Cryptography.RSA rsa, byte[] m) { throw null; } RSAVP1(System.Security.Cryptography.RSA rsa, byte[] s)544 public static byte[] RSAVP1(System.Security.Cryptography.RSA rsa, byte[] s) { throw null; } Sign_v15(System.Security.Cryptography.RSA rsa, System.Security.Cryptography.HashAlgorithm hash, byte[] hashValue)545 public static byte[] Sign_v15(System.Security.Cryptography.RSA rsa, System.Security.Cryptography.HashAlgorithm hash, byte[] hashValue) { throw null; } Verify_v15(System.Security.Cryptography.RSA rsa, System.Security.Cryptography.HashAlgorithm hash, byte[] hashValue, byte[] signature)546 public static bool Verify_v15(System.Security.Cryptography.RSA rsa, System.Security.Cryptography.HashAlgorithm hash, byte[] hashValue, byte[] signature) { throw null; } Verify_v15(System.Security.Cryptography.RSA rsa, System.Security.Cryptography.HashAlgorithm hash, byte[] hashValue, byte[] signature, bool tryNonStandardEncoding)547 public static bool Verify_v15(System.Security.Cryptography.RSA rsa, System.Security.Cryptography.HashAlgorithm hash, byte[] hashValue, byte[] signature, bool tryNonStandardEncoding) { throw null; } 548 } 549 public sealed partial class PKCS8 550 { PKCS8()551 internal PKCS8() { } GetType(byte[] data)552 public static Mono.Security.Cryptography.PKCS8.KeyInfo GetType(byte[] data) { throw null; } 553 public partial class EncryptedPrivateKeyInfo 554 { EncryptedPrivateKeyInfo()555 public EncryptedPrivateKeyInfo() { } EncryptedPrivateKeyInfo(byte[] data)556 public EncryptedPrivateKeyInfo(byte[] data) { } 557 public string Algorithm { get { throw null; } set { } } 558 public byte[] EncryptedData { get { throw null; } set { } } 559 public int IterationCount { get { throw null; } set { } } 560 public byte[] Salt { get { throw null; } set { } } GetBytes()561 public byte[] GetBytes() { throw null; } 562 } 563 public enum KeyInfo 564 { 565 EncryptedPrivateKey = 1, 566 PrivateKey = 0, 567 Unknown = 2, 568 } 569 public partial class PrivateKeyInfo 570 { PrivateKeyInfo()571 public PrivateKeyInfo() { } PrivateKeyInfo(byte[] data)572 public PrivateKeyInfo(byte[] data) { } 573 public string Algorithm { get { throw null; } set { } } 574 public System.Collections.ArrayList Attributes { get { throw null; } } 575 public byte[] PrivateKey { get { throw null; } set { } } 576 public int Version { get { throw null; } set { } } DecodeDSA(byte[] privateKey, System.Security.Cryptography.DSAParameters dsaParameters)577 public static System.Security.Cryptography.DSA DecodeDSA(byte[] privateKey, System.Security.Cryptography.DSAParameters dsaParameters) { throw null; } DecodeRSA(byte[] keypair)578 public static System.Security.Cryptography.RSA DecodeRSA(byte[] keypair) { throw null; } Encode(System.Security.Cryptography.AsymmetricAlgorithm aa)579 public static byte[] Encode(System.Security.Cryptography.AsymmetricAlgorithm aa) { throw null; } Encode(System.Security.Cryptography.DSA dsa)580 public static byte[] Encode(System.Security.Cryptography.DSA dsa) { throw null; } Encode(System.Security.Cryptography.RSA rsa)581 public static byte[] Encode(System.Security.Cryptography.RSA rsa) { throw null; } GetBytes()582 public byte[] GetBytes() { throw null; } 583 } 584 } 585 public abstract partial class RC4 : System.Security.Cryptography.SymmetricAlgorithm 586 { RC4()587 public RC4() { } 588 public override byte[] IV { get { throw null; } set { } } Create()589 public static new Mono.Security.Cryptography.RC4 Create() { throw null; } Create(string algName)590 public static new Mono.Security.Cryptography.RC4 Create(string algName) { throw null; } 591 } 592 public partial class RSAManaged : System.Security.Cryptography.RSA 593 { RSAManaged()594 public RSAManaged() { } RSAManaged(int keySize)595 public RSAManaged(int keySize) { } 596 public bool IsCrtPossible { get { throw null; } } 597 public override string KeyExchangeAlgorithm { get { throw null; } } 598 public override int KeySize { get { throw null; } } 599 public bool PublicOnly { get { throw null; } } 600 public override string SignatureAlgorithm { get { throw null; } } 601 public bool UseKeyBlinding { get { throw null; } set { } } 602 public event Mono.Security.Cryptography.RSAManaged.KeyGeneratedEventHandler KeyGenerated { add { } remove { } } DecryptValue(byte[] rgb)603 public override byte[] DecryptValue(byte[] rgb) { throw null; } Dispose(bool disposing)604 protected override void Dispose(bool disposing) { } EncryptValue(byte[] rgb)605 public override byte[] EncryptValue(byte[] rgb) { throw null; } ExportParameters(bool includePrivateParameters)606 public override System.Security.Cryptography.RSAParameters ExportParameters(bool includePrivateParameters) { throw null; } ~RSAManaged()607 ~RSAManaged() { } ImportParameters(System.Security.Cryptography.RSAParameters parameters)608 public override void ImportParameters(System.Security.Cryptography.RSAParameters parameters) { } ToXmlString(bool includePrivateParameters)609 public override string ToXmlString(bool includePrivateParameters) { throw null; } KeyGeneratedEventHandler(object sender, System.EventArgs e)610 public delegate void KeyGeneratedEventHandler(object sender, System.EventArgs e); 611 } 612 public abstract partial class SHA224 : System.Security.Cryptography.HashAlgorithm 613 { SHA224()614 public SHA224() { } Create()615 public static new Mono.Security.Cryptography.SHA224 Create() { throw null; } Create(string hashName)616 public static new Mono.Security.Cryptography.SHA224 Create(string hashName) { throw null; } 617 } 618 public partial class SHA224Managed : Mono.Security.Cryptography.SHA224 619 { SHA224Managed()620 public SHA224Managed() { } HashCore(byte[] rgb, int start, int size)621 protected override void HashCore(byte[] rgb, int start, int size) { } HashFinal()622 protected override byte[] HashFinal() { throw null; } Initialize()623 public override void Initialize() { } 624 } 625 } 626 namespace Mono.Security.Interface 627 { 628 public partial class Alert 629 { Alert(Mono.Security.Interface.AlertDescription description)630 public Alert(Mono.Security.Interface.AlertDescription description) { } Alert(Mono.Security.Interface.AlertLevel level, Mono.Security.Interface.AlertDescription description)631 public Alert(Mono.Security.Interface.AlertLevel level, Mono.Security.Interface.AlertDescription description) { } 632 public Mono.Security.Interface.AlertDescription Description { get { throw null; } } 633 public bool IsCloseNotify { get { throw null; } } 634 public bool IsWarning { get { throw null; } } 635 public Mono.Security.Interface.AlertLevel Level { get { throw null; } } 636 public string Message { get { throw null; } } GetAlertMessage(Mono.Security.Interface.AlertDescription description)637 public static string GetAlertMessage(Mono.Security.Interface.AlertDescription description) { throw null; } ToString()638 public override string ToString() { throw null; } 639 } 640 public enum AlertDescription : byte 641 { 642 AccessDenied = (byte)49, 643 BadCertificate = (byte)42, 644 BadRecordMAC = (byte)20, 645 CertificateExpired = (byte)45, 646 CertificateRevoked = (byte)44, 647 CertificateUnknown = (byte)46, 648 CloseNotify = (byte)0, 649 DecodeError = (byte)50, 650 DecompressionFailure = (byte)30, 651 DecryptError = (byte)51, 652 DecryptionFailed_RESERVED = (byte)21, 653 ExportRestriction = (byte)60, 654 HandshakeFailure = (byte)40, 655 IlegalParameter = (byte)47, 656 InsuficientSecurity = (byte)71, 657 InternalError = (byte)80, 658 NoCertificate_RESERVED = (byte)41, 659 NoRenegotiation = (byte)100, 660 ProtocolVersion = (byte)70, 661 RecordOverflow = (byte)22, 662 UnexpectedMessage = (byte)10, 663 UnknownCA = (byte)48, 664 UnsupportedCertificate = (byte)43, 665 UnsupportedExtension = (byte)110, 666 UserCancelled = (byte)90, 667 } 668 public enum AlertLevel : byte 669 { 670 Fatal = (byte)2, 671 Warning = (byte)1, 672 } 673 public static partial class CertificateValidationHelper 674 { 675 public static bool SupportsTrustAnchors { get { throw null; } } 676 public static bool SupportsX509Chain { get { throw null; } } GetValidator(Mono.Security.Interface.MonoTlsSettings settings)677 public static Mono.Security.Interface.ICertificateValidator GetValidator(Mono.Security.Interface.MonoTlsSettings settings) { throw null; } 678 } 679 public enum CipherAlgorithmType 680 { 681 Aes128 = 1, 682 Aes256 = 2, 683 AesGcm128 = 3, 684 AesGcm256 = 4, 685 None = 0, 686 } 687 [System.CLSCompliantAttribute(false)] 688 public enum CipherSuiteCode : ushort 689 { 690 TLS_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA = (ushort)17, 691 TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA = (ushort)19, 692 TLS_DHE_DSS_WITH_AES_128_CBC_SHA = (ushort)50, 693 TLS_DHE_DSS_WITH_AES_128_CBC_SHA256 = (ushort)64, 694 TLS_DHE_DSS_WITH_AES_128_GCM_SHA256 = (ushort)162, 695 TLS_DHE_DSS_WITH_AES_256_CBC_SHA = (ushort)56, 696 TLS_DHE_DSS_WITH_AES_256_CBC_SHA256 = (ushort)106, 697 TLS_DHE_DSS_WITH_AES_256_GCM_SHA384 = (ushort)163, 698 TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA = (ushort)68, 699 TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)189, 700 TLS_DHE_DSS_WITH_CAMELLIA_128_GCM_SHA256 = (ushort)49280, 701 TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA = (ushort)135, 702 TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA256 = (ushort)195, 703 TLS_DHE_DSS_WITH_CAMELLIA_256_GCM_SHA384 = (ushort)49281, 704 TLS_DHE_DSS_WITH_DES_CBC_SHA = (ushort)18, 705 TLS_DHE_DSS_WITH_SEED_CBC_SHA = (ushort)153, 706 TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA = (ushort)143, 707 TLS_DHE_PSK_WITH_AES_128_CBC_SHA = (ushort)144, 708 TLS_DHE_PSK_WITH_AES_128_CBC_SHA256 = (ushort)178, 709 TLS_DHE_PSK_WITH_AES_128_CCM = (ushort)49318, 710 TLS_DHE_PSK_WITH_AES_128_GCM_SHA256 = (ushort)170, 711 TLS_DHE_PSK_WITH_AES_256_CBC_SHA = (ushort)145, 712 TLS_DHE_PSK_WITH_AES_256_CBC_SHA384 = (ushort)179, 713 TLS_DHE_PSK_WITH_AES_256_CCM = (ushort)49319, 714 TLS_DHE_PSK_WITH_AES_256_GCM_SHA384 = (ushort)171, 715 TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)49302, 716 TLS_DHE_PSK_WITH_CAMELLIA_128_GCM_SHA256 = (ushort)49296, 717 TLS_DHE_PSK_WITH_CAMELLIA_256_CBC_SHA384 = (ushort)49303, 718 TLS_DHE_PSK_WITH_CAMELLIA_256_GCM_SHA384 = (ushort)49297, 719 TLS_DHE_PSK_WITH_ESTREAM_SALSA20_SHA1 = (ushort)58396, 720 TLS_DHE_PSK_WITH_NULL_SHA = (ushort)45, 721 TLS_DHE_PSK_WITH_NULL_SHA256 = (ushort)180, 722 TLS_DHE_PSK_WITH_NULL_SHA384 = (ushort)181, 723 TLS_DHE_PSK_WITH_RC4_128_SHA = (ushort)142, 724 TLS_DHE_PSK_WITH_SALSA20_SHA1 = (ushort)58397, 725 TLS_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA = (ushort)20, 726 TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA = (ushort)22, 727 TLS_DHE_RSA_WITH_AES_128_CBC_SHA = (ushort)51, 728 TLS_DHE_RSA_WITH_AES_128_CBC_SHA256 = (ushort)103, 729 TLS_DHE_RSA_WITH_AES_128_CCM = (ushort)49310, 730 TLS_DHE_RSA_WITH_AES_128_CCM_8 = (ushort)49314, 731 TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 = (ushort)158, 732 TLS_DHE_RSA_WITH_AES_256_CBC_SHA = (ushort)57, 733 TLS_DHE_RSA_WITH_AES_256_CBC_SHA256 = (ushort)107, 734 TLS_DHE_RSA_WITH_AES_256_CCM = (ushort)49311, 735 TLS_DHE_RSA_WITH_AES_256_CCM_8 = (ushort)49315, 736 TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 = (ushort)159, 737 TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA = (ushort)69, 738 TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)190, 739 TLS_DHE_RSA_WITH_CAMELLIA_128_GCM_SHA256 = (ushort)49276, 740 TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA = (ushort)136, 741 TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256 = (ushort)196, 742 TLS_DHE_RSA_WITH_CAMELLIA_256_GCM_SHA384 = (ushort)49277, 743 TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256 = (ushort)52245, 744 TLS_DHE_RSA_WITH_DES_CBC_SHA = (ushort)21, 745 TLS_DHE_RSA_WITH_ESTREAM_SALSA20_SHA1 = (ushort)58398, 746 TLS_DHE_RSA_WITH_SALSA20_SHA1 = (ushort)58399, 747 TLS_DHE_RSA_WITH_SEED_CBC_SHA = (ushort)154, 748 TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA = (ushort)25, 749 TLS_DH_anon_EXPORT_WITH_RC4_40_MD5 = (ushort)23, 750 TLS_DH_anon_WITH_3DES_EDE_CBC_SHA = (ushort)27, 751 TLS_DH_anon_WITH_AES_128_CBC_SHA = (ushort)52, 752 TLS_DH_anon_WITH_AES_128_CBC_SHA256 = (ushort)108, 753 TLS_DH_anon_WITH_AES_128_GCM_SHA256 = (ushort)166, 754 TLS_DH_anon_WITH_AES_256_CBC_SHA = (ushort)58, 755 TLS_DH_anon_WITH_AES_256_CBC_SHA256 = (ushort)109, 756 TLS_DH_anon_WITH_AES_256_GCM_SHA384 = (ushort)167, 757 TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA = (ushort)70, 758 TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)191, 759 TLS_DH_anon_WITH_CAMELLIA_128_GCM_SHA256 = (ushort)49284, 760 TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA = (ushort)137, 761 TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA256 = (ushort)197, 762 TLS_DH_anon_WITH_CAMELLIA_256_GCM_SHA384 = (ushort)49285, 763 TLS_DH_anon_WITH_DES_CBC_SHA = (ushort)26, 764 TLS_DH_anon_WITH_RC4_128_MD5 = (ushort)24, 765 TLS_DH_anon_WITH_SEED_CBC_SHA = (ushort)155, 766 TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA = (ushort)11, 767 TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA = (ushort)13, 768 TLS_DH_DSS_WITH_AES_128_CBC_SHA = (ushort)48, 769 TLS_DH_DSS_WITH_AES_128_CBC_SHA256 = (ushort)62, 770 TLS_DH_DSS_WITH_AES_128_GCM_SHA256 = (ushort)164, 771 TLS_DH_DSS_WITH_AES_256_CBC_SHA = (ushort)54, 772 TLS_DH_DSS_WITH_AES_256_CBC_SHA256 = (ushort)104, 773 TLS_DH_DSS_WITH_AES_256_GCM_SHA384 = (ushort)165, 774 TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA = (ushort)66, 775 TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)187, 776 TLS_DH_DSS_WITH_CAMELLIA_128_GCM_SHA256 = (ushort)49282, 777 TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA = (ushort)133, 778 TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256 = (ushort)193, 779 TLS_DH_DSS_WITH_CAMELLIA_256_GCM_SHA384 = (ushort)49283, 780 TLS_DH_DSS_WITH_DES_CBC_SHA = (ushort)12, 781 TLS_DH_DSS_WITH_SEED_CBC_SHA = (ushort)151, 782 TLS_DH_RSA_EXPORT_WITH_DES40_CBC_SHA = (ushort)14, 783 TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA = (ushort)16, 784 TLS_DH_RSA_WITH_AES_128_CBC_SHA = (ushort)49, 785 TLS_DH_RSA_WITH_AES_128_CBC_SHA256 = (ushort)63, 786 TLS_DH_RSA_WITH_AES_128_GCM_SHA256 = (ushort)160, 787 TLS_DH_RSA_WITH_AES_256_CBC_SHA = (ushort)55, 788 TLS_DH_RSA_WITH_AES_256_CBC_SHA256 = (ushort)105, 789 TLS_DH_RSA_WITH_AES_256_GCM_SHA384 = (ushort)161, 790 TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA = (ushort)67, 791 TLS_DH_RSA_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)188, 792 TLS_DH_RSA_WITH_CAMELLIA_128_GCM_SHA256 = (ushort)49278, 793 TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA = (ushort)134, 794 TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256 = (ushort)194, 795 TLS_DH_RSA_WITH_CAMELLIA_256_GCM_SHA384 = (ushort)49279, 796 TLS_DH_RSA_WITH_DES_CBC_SHA = (ushort)15, 797 TLS_DH_RSA_WITH_SEED_CBC_SHA = (ushort)152, 798 TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA = (ushort)49160, 799 TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA = (ushort)49161, 800 TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 = (ushort)49187, 801 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 = (ushort)49195, 802 TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA = (ushort)49162, 803 TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384 = (ushort)49188, 804 TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 = (ushort)49196, 805 TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)49266, 806 TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_GCM_SHA256 = (ushort)49286, 807 TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_CBC_SHA384 = (ushort)49267, 808 TLS_ECDHE_ECDSA_WITH_CAMELLIA_256_GCM_SHA384 = (ushort)49287, 809 TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 = (ushort)52244, 810 TLS_ECDHE_ECDSA_WITH_ESTREAM_SALSA20_SHA1 = (ushort)58388, 811 TLS_ECDHE_ECDSA_WITH_NULL_SHA = (ushort)49158, 812 TLS_ECDHE_ECDSA_WITH_RC4_128_SHA = (ushort)49159, 813 TLS_ECDHE_ECDSA_WITH_SALSA20_SHA1 = (ushort)58389, 814 TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA = (ushort)49204, 815 TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA = (ushort)49205, 816 TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA256 = (ushort)49207, 817 TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA = (ushort)49206, 818 TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA384 = (ushort)49208, 819 TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)49306, 820 TLS_ECDHE_PSK_WITH_CAMELLIA_256_CBC_SHA384 = (ushort)49307, 821 TLS_ECDHE_PSK_WITH_ESTREAM_SALSA20_SHA1 = (ushort)58392, 822 TLS_ECDHE_PSK_WITH_NULL_SHA = (ushort)49209, 823 TLS_ECDHE_PSK_WITH_NULL_SHA256 = (ushort)49210, 824 TLS_ECDHE_PSK_WITH_NULL_SHA384 = (ushort)49211, 825 TLS_ECDHE_PSK_WITH_RC4_128_SHA = (ushort)49203, 826 TLS_ECDHE_PSK_WITH_SALSA20_SHA1 = (ushort)58393, 827 TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA = (ushort)49170, 828 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA = (ushort)49171, 829 TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256 = (ushort)49191, 830 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 = (ushort)49199, 831 TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA = (ushort)49172, 832 TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384 = (ushort)49192, 833 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 = (ushort)49200, 834 TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)49270, 835 TLS_ECDHE_RSA_WITH_CAMELLIA_128_GCM_SHA256 = (ushort)49290, 836 TLS_ECDHE_RSA_WITH_CAMELLIA_256_CBC_SHA384 = (ushort)49271, 837 TLS_ECDHE_RSA_WITH_CAMELLIA_256_GCM_SHA384 = (ushort)49291, 838 TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 = (ushort)52243, 839 TLS_ECDHE_RSA_WITH_ESTREAM_SALSA20_SHA1 = (ushort)58386, 840 TLS_ECDHE_RSA_WITH_NULL_SHA = (ushort)49168, 841 TLS_ECDHE_RSA_WITH_RC4_128_SHA = (ushort)49169, 842 TLS_ECDHE_RSA_WITH_SALSA20_SHA1 = (ushort)58387, 843 TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA = (ushort)49175, 844 TLS_ECDH_anon_WITH_AES_128_CBC_SHA = (ushort)49176, 845 TLS_ECDH_anon_WITH_AES_256_CBC_SHA = (ushort)49177, 846 TLS_ECDH_anon_WITH_NULL_SHA = (ushort)49173, 847 TLS_ECDH_anon_WITH_RC4_128_SHA = (ushort)49174, 848 TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA = (ushort)49155, 849 TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA = (ushort)49156, 850 TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA256 = (ushort)49189, 851 TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA256 = (ushort)49197, 852 TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA = (ushort)49157, 853 TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA384 = (ushort)49190, 854 TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA384 = (ushort)49198, 855 TLS_ECDH_ECDSA_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)49268, 856 TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256 = (ushort)49288, 857 TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384 = (ushort)49269, 858 TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384 = (ushort)49289, 859 TLS_ECDH_ECDSA_WITH_NULL_SHA = (ushort)49153, 860 TLS_ECDH_ECDSA_WITH_RC4_128_SHA = (ushort)49154, 861 TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA = (ushort)49165, 862 TLS_ECDH_RSA_WITH_AES_128_CBC_SHA = (ushort)49166, 863 TLS_ECDH_RSA_WITH_AES_128_CBC_SHA256 = (ushort)49193, 864 TLS_ECDH_RSA_WITH_AES_128_GCM_SHA256 = (ushort)49201, 865 TLS_ECDH_RSA_WITH_AES_256_CBC_SHA = (ushort)49167, 866 TLS_ECDH_RSA_WITH_AES_256_CBC_SHA384 = (ushort)49194, 867 TLS_ECDH_RSA_WITH_AES_256_GCM_SHA384 = (ushort)49202, 868 TLS_ECDH_RSA_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)49272, 869 TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256 = (ushort)49292, 870 TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384 = (ushort)49273, 871 TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384 = (ushort)49293, 872 TLS_ECDH_RSA_WITH_NULL_SHA = (ushort)49163, 873 TLS_ECDH_RSA_WITH_RC4_128_SHA = (ushort)49164, 874 TLS_EMPTY_RENEGOTIATION_INFO_SCSV = (ushort)255, 875 TLS_FALLBACK_SCSV = (ushort)22016, 876 TLS_NULL_WITH_NULL_NULL = (ushort)0, 877 TLS_PSK_DHE_WITH_AES_128_CCM_8 = (ushort)49322, 878 TLS_PSK_DHE_WITH_AES_256_CCM_8 = (ushort)49323, 879 TLS_PSK_WITH_3DES_EDE_CBC_SHA = (ushort)139, 880 TLS_PSK_WITH_AES_128_CBC_SHA = (ushort)140, 881 TLS_PSK_WITH_AES_128_CBC_SHA256 = (ushort)174, 882 TLS_PSK_WITH_AES_128_CCM = (ushort)49316, 883 TLS_PSK_WITH_AES_128_CCM_8 = (ushort)49320, 884 TLS_PSK_WITH_AES_128_GCM_SHA256 = (ushort)168, 885 TLS_PSK_WITH_AES_256_CBC_SHA = (ushort)141, 886 TLS_PSK_WITH_AES_256_CBC_SHA384 = (ushort)175, 887 TLS_PSK_WITH_AES_256_CCM = (ushort)49317, 888 TLS_PSK_WITH_AES_256_CCM_8 = (ushort)49321, 889 TLS_PSK_WITH_AES_256_GCM_SHA384 = (ushort)169, 890 TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)49300, 891 TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256 = (ushort)49294, 892 TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384 = (ushort)49301, 893 TLS_PSK_WITH_CAMELLIA_256_GCM_SHA384 = (ushort)49295, 894 TLS_PSK_WITH_ESTREAM_SALSA20_SHA1 = (ushort)58390, 895 TLS_PSK_WITH_NULL_SHA = (ushort)44, 896 TLS_PSK_WITH_NULL_SHA256 = (ushort)176, 897 TLS_PSK_WITH_NULL_SHA384 = (ushort)177, 898 TLS_PSK_WITH_RC4_128_SHA = (ushort)138, 899 TLS_PSK_WITH_SALSA20_SHA1 = (ushort)58391, 900 TLS_RSA_EXPORT_WITH_DES40_CBC_SHA = (ushort)8, 901 TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5 = (ushort)6, 902 TLS_RSA_EXPORT_WITH_RC4_40_MD5 = (ushort)3, 903 TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA = (ushort)147, 904 TLS_RSA_PSK_WITH_AES_128_CBC_SHA = (ushort)148, 905 TLS_RSA_PSK_WITH_AES_128_CBC_SHA256 = (ushort)182, 906 TLS_RSA_PSK_WITH_AES_128_GCM_SHA256 = (ushort)172, 907 TLS_RSA_PSK_WITH_AES_256_CBC_SHA = (ushort)149, 908 TLS_RSA_PSK_WITH_AES_256_CBC_SHA384 = (ushort)183, 909 TLS_RSA_PSK_WITH_AES_256_GCM_SHA384 = (ushort)173, 910 TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)49304, 911 TLS_RSA_PSK_WITH_CAMELLIA_128_GCM_SHA256 = (ushort)49298, 912 TLS_RSA_PSK_WITH_CAMELLIA_256_CBC_SHA384 = (ushort)49305, 913 TLS_RSA_PSK_WITH_CAMELLIA_256_GCM_SHA384 = (ushort)49299, 914 TLS_RSA_PSK_WITH_ESTREAM_SALSA20_SHA1 = (ushort)58394, 915 TLS_RSA_PSK_WITH_NULL_SHA = (ushort)46, 916 TLS_RSA_PSK_WITH_NULL_SHA256 = (ushort)184, 917 TLS_RSA_PSK_WITH_NULL_SHA384 = (ushort)185, 918 TLS_RSA_PSK_WITH_RC4_128_SHA = (ushort)146, 919 TLS_RSA_PSK_WITH_SALSA20_SHA1 = (ushort)58395, 920 TLS_RSA_WITH_3DES_EDE_CBC_SHA = (ushort)10, 921 TLS_RSA_WITH_AES_128_CBC_SHA = (ushort)47, 922 TLS_RSA_WITH_AES_128_CBC_SHA256 = (ushort)60, 923 TLS_RSA_WITH_AES_128_CCM = (ushort)49308, 924 TLS_RSA_WITH_AES_128_CCM_8 = (ushort)49312, 925 TLS_RSA_WITH_AES_128_GCM_SHA256 = (ushort)156, 926 TLS_RSA_WITH_AES_256_CBC_SHA = (ushort)53, 927 TLS_RSA_WITH_AES_256_CBC_SHA256 = (ushort)61, 928 TLS_RSA_WITH_AES_256_CCM = (ushort)49309, 929 TLS_RSA_WITH_AES_256_CCM_8 = (ushort)49313, 930 TLS_RSA_WITH_AES_256_GCM_SHA384 = (ushort)157, 931 TLS_RSA_WITH_CAMELLIA_128_CBC_SHA = (ushort)65, 932 TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256 = (ushort)186, 933 TLS_RSA_WITH_CAMELLIA_128_GCM_SHA256 = (ushort)49274, 934 TLS_RSA_WITH_CAMELLIA_256_CBC_SHA = (ushort)132, 935 TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256 = (ushort)192, 936 TLS_RSA_WITH_CAMELLIA_256_GCM_SHA384 = (ushort)49275, 937 TLS_RSA_WITH_DES_CBC_SHA = (ushort)9, 938 TLS_RSA_WITH_ESTREAM_SALSA20_SHA1 = (ushort)58384, 939 TLS_RSA_WITH_IDEA_CBC_SHA = (ushort)7, 940 TLS_RSA_WITH_NULL_MD5 = (ushort)1, 941 TLS_RSA_WITH_NULL_SHA = (ushort)2, 942 TLS_RSA_WITH_NULL_SHA256 = (ushort)59, 943 TLS_RSA_WITH_RC4_128_MD5 = (ushort)4, 944 TLS_RSA_WITH_RC4_128_SHA = (ushort)5, 945 TLS_RSA_WITH_SALSA20_SHA1 = (ushort)58385, 946 TLS_RSA_WITH_SEED_CBC_SHA = (ushort)150, 947 TLS_SRP_SHA_DSS_WITH_3DES_EDE_CBC_SHA = (ushort)49180, 948 TLS_SRP_SHA_DSS_WITH_AES_128_CBC_SHA = (ushort)49183, 949 TLS_SRP_SHA_DSS_WITH_AES_256_CBC_SHA = (ushort)49186, 950 TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA = (ushort)49179, 951 TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA = (ushort)49182, 952 TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA = (ushort)49185, 953 TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA = (ushort)49178, 954 TLS_SRP_SHA_WITH_AES_128_CBC_SHA = (ushort)49181, 955 TLS_SRP_SHA_WITH_AES_256_CBC_SHA = (ushort)49184, 956 } 957 public enum ExchangeAlgorithmType 958 { 959 Dhe = 1, 960 EcDhe = 3, 961 None = 0, 962 Rsa = 2, 963 } 964 public enum HashAlgorithmType 965 { 966 Md5 = 1, 967 Md5Sha1 = 254, 968 None = 0, 969 Sha1 = 2, 970 Sha224 = 3, 971 Sha256 = 4, 972 Sha384 = 5, 973 Sha512 = 6, 974 Unknown = 255, 975 } 976 public partial interface ICertificateValidator 977 { 978 Mono.Security.Interface.MonoTlsSettings Settings { get; } SelectClientCertificate(string targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection localCertificates, System.Security.Cryptography.X509Certificates.X509Certificate remoteCertificate, string[] acceptableIssuers, out System.Security.Cryptography.X509Certificates.X509Certificate clientCertificate)979 bool SelectClientCertificate(string targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection localCertificates, System.Security.Cryptography.X509Certificates.X509Certificate remoteCertificate, string[] acceptableIssuers, out System.Security.Cryptography.X509Certificates.X509Certificate clientCertificate); ValidateCertificate(string targetHost, bool serverMode, System.Security.Cryptography.X509Certificates.X509CertificateCollection certificates)980 Mono.Security.Interface.ValidationResult ValidateCertificate(string targetHost, bool serverMode, System.Security.Cryptography.X509Certificates.X509CertificateCollection certificates); 981 } 982 public partial interface IMonoSslStream : System.IDisposable 983 { 984 System.Net.Security.AuthenticatedStream AuthenticatedStream { get; } 985 bool CanRead { get; } 986 bool CanTimeout { get; } 987 bool CanWrite { get; } 988 bool CheckCertRevocationStatus { get; } 989 System.Security.Authentication.CipherAlgorithmType CipherAlgorithm { get; } 990 int CipherStrength { get; } 991 System.Security.Authentication.HashAlgorithmType HashAlgorithm { get; } 992 int HashStrength { get; } 993 System.Security.Cryptography.X509Certificates.X509Certificate InternalLocalCertificate { get; } 994 bool IsAuthenticated { get; } 995 bool IsEncrypted { get; } 996 bool IsMutuallyAuthenticated { get; } 997 bool IsServer { get; } 998 bool IsSigned { get; } 999 System.Security.Authentication.ExchangeAlgorithmType KeyExchangeAlgorithm { get; } 1000 int KeyExchangeStrength { get; } 1001 long Length { get; } 1002 System.Security.Cryptography.X509Certificates.X509Certificate LocalCertificate { get; } 1003 long Position { get; } 1004 Mono.Security.Interface.MonoTlsProvider Provider { get; } 1005 int ReadTimeout { get; set; } 1006 System.Security.Cryptography.X509Certificates.X509Certificate RemoteCertificate { get; } 1007 System.Security.Authentication.SslProtocols SslProtocol { get; } 1008 System.Net.Security.SslStream SslStream { get; } 1009 System.Net.TransportContext TransportContext { get; } 1010 int WriteTimeout { get; set; } AuthenticateAsClient(string targetHost)1011 void AuthenticateAsClient(string targetHost); AuthenticateAsClient(string targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation)1012 void AuthenticateAsClient(string targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation); AuthenticateAsClientAsync(string targetHost)1013 System.Threading.Tasks.Task AuthenticateAsClientAsync(string targetHost); AuthenticateAsClientAsync(string targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation)1014 System.Threading.Tasks.Task AuthenticateAsClientAsync(string targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation); AuthenticateAsServer(System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate)1015 void AuthenticateAsServer(System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate); AuthenticateAsServer(System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, bool clientCertificateRequired, System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation)1016 void AuthenticateAsServer(System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, bool clientCertificateRequired, System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation); AuthenticateAsServerAsync(System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate)1017 System.Threading.Tasks.Task AuthenticateAsServerAsync(System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate); AuthenticateAsServerAsync(System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, bool clientCertificateRequired, System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation)1018 System.Threading.Tasks.Task AuthenticateAsServerAsync(System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, bool clientCertificateRequired, System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation); BeginAuthenticateAsClient(string targetHost, System.AsyncCallback asyncCallback, object asyncState)1019 System.IAsyncResult BeginAuthenticateAsClient(string targetHost, System.AsyncCallback asyncCallback, object asyncState); BeginAuthenticateAsClient(string targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation, System.AsyncCallback asyncCallback, object asyncState)1020 System.IAsyncResult BeginAuthenticateAsClient(string targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation, System.AsyncCallback asyncCallback, object asyncState); BeginAuthenticateAsServer(System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, System.AsyncCallback asyncCallback, object asyncState)1021 System.IAsyncResult BeginAuthenticateAsServer(System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, System.AsyncCallback asyncCallback, object asyncState); BeginAuthenticateAsServer(System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, bool clientCertificateRequired, System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation, System.AsyncCallback asyncCallback, object asyncState)1022 System.IAsyncResult BeginAuthenticateAsServer(System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, bool clientCertificateRequired, System.Security.Authentication.SslProtocols enabledSslProtocols, bool checkCertificateRevocation, System.AsyncCallback asyncCallback, object asyncState); BeginRead(byte[] buffer, int offset, int count, System.AsyncCallback asyncCallback, object asyncState)1023 System.IAsyncResult BeginRead(byte[] buffer, int offset, int count, System.AsyncCallback asyncCallback, object asyncState); BeginWrite(byte[] buffer, int offset, int count, System.AsyncCallback asyncCallback, object asyncState)1024 System.IAsyncResult BeginWrite(byte[] buffer, int offset, int count, System.AsyncCallback asyncCallback, object asyncState); EndAuthenticateAsClient(System.IAsyncResult asyncResult)1025 void EndAuthenticateAsClient(System.IAsyncResult asyncResult); EndAuthenticateAsServer(System.IAsyncResult asyncResult)1026 void EndAuthenticateAsServer(System.IAsyncResult asyncResult); EndRead(System.IAsyncResult asyncResult)1027 int EndRead(System.IAsyncResult asyncResult); EndWrite(System.IAsyncResult asyncResult)1028 void EndWrite(System.IAsyncResult asyncResult); Flush()1029 void Flush(); GetConnectionInfo()1030 Mono.Security.Interface.MonoTlsConnectionInfo GetConnectionInfo(); Read(byte[] buffer, int offset, int count)1031 int Read(byte[] buffer, int offset, int count); SetLength(long value)1032 void SetLength(long value); ShutdownAsync()1033 System.Threading.Tasks.Task ShutdownAsync(); Write(byte[] buffer)1034 void Write(byte[] buffer); Write(byte[] buffer, int offset, int count)1035 void Write(byte[] buffer, int offset, int count); WriteAsync(byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken)1036 System.Threading.Tasks.Task WriteAsync(byte[] buffer, int offset, int count, System.Threading.CancellationToken cancellationToken); 1037 } 1038 public enum MonoEncryptionPolicy 1039 { 1040 AllowNoEncryption = 1, 1041 NoEncryption = 2, 1042 RequireEncryption = 0, 1043 } MonoLocalCertificateSelectionCallback(string targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection localCertificates, System.Security.Cryptography.X509Certificates.X509Certificate remoteCertificate, string[] acceptableIssuers)1044 public delegate System.Security.Cryptography.X509Certificates.X509Certificate MonoLocalCertificateSelectionCallback(string targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection localCertificates, System.Security.Cryptography.X509Certificates.X509Certificate remoteCertificate, string[] acceptableIssuers); MonoRemoteCertificateValidationCallback(string targetHost, System.Security.Cryptography.X509Certificates.X509Certificate certificate, System.Security.Cryptography.X509Certificates.X509Chain chain, Mono.Security.Interface.MonoSslPolicyErrors sslPolicyErrors)1045 public delegate bool MonoRemoteCertificateValidationCallback(string targetHost, System.Security.Cryptography.X509Certificates.X509Certificate certificate, System.Security.Cryptography.X509Certificates.X509Chain chain, Mono.Security.Interface.MonoSslPolicyErrors sslPolicyErrors); 1046 [System.FlagsAttribute] 1047 public enum MonoSslPolicyErrors 1048 { 1049 None = 0, 1050 RemoteCertificateChainErrors = 4, 1051 RemoteCertificateNameMismatch = 2, 1052 RemoteCertificateNotAvailable = 1, 1053 } 1054 public partial class MonoTlsConnectionInfo 1055 { MonoTlsConnectionInfo()1056 public MonoTlsConnectionInfo() { } 1057 public Mono.Security.Interface.CipherAlgorithmType CipherAlgorithmType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } 1058 [System.CLSCompliantAttribute(false)] 1059 public Mono.Security.Interface.CipherSuiteCode CipherSuiteCode { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } 1060 public Mono.Security.Interface.ExchangeAlgorithmType ExchangeAlgorithmType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } 1061 public Mono.Security.Interface.HashAlgorithmType HashAlgorithmType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } 1062 public string PeerDomainName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } 1063 public Mono.Security.Interface.TlsProtocols ProtocolVersion { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } ToString()1064 public override string ToString() { throw null; } 1065 } 1066 public abstract partial class MonoTlsProvider 1067 { MonoTlsProvider()1068 internal MonoTlsProvider() { } 1069 public abstract System.Guid ID { get; } 1070 public abstract string Name { get; } 1071 public abstract System.Security.Authentication.SslProtocols SupportedProtocols { get; } 1072 public abstract bool SupportsConnectionInfo { get; } 1073 public abstract bool SupportsMonoExtensions { get; } 1074 public abstract bool SupportsSslStream { get; } CreateSslStream(System.IO.Stream innerStream, bool leaveInnerStreamOpen, Mono.Security.Interface.MonoTlsSettings settings=null)1075 public abstract Mono.Security.Interface.IMonoSslStream CreateSslStream(System.IO.Stream innerStream, bool leaveInnerStreamOpen, Mono.Security.Interface.MonoTlsSettings settings=null); 1076 } 1077 public static partial class MonoTlsProviderFactory 1078 { 1079 public static bool IsInitialized { get { throw null; } } CreateHttpListener(System.Security.Cryptography.X509Certificates.X509Certificate certificate, Mono.Security.Interface.MonoTlsProvider provider=null, Mono.Security.Interface.MonoTlsSettings settings=null)1080 public static System.Net.HttpListener CreateHttpListener(System.Security.Cryptography.X509Certificates.X509Certificate certificate, Mono.Security.Interface.MonoTlsProvider provider=null, Mono.Security.Interface.MonoTlsSettings settings=null) { throw null; } CreateHttpsRequest(System.Uri requestUri, Mono.Security.Interface.MonoTlsProvider provider, Mono.Security.Interface.MonoTlsSettings settings=null)1081 public static System.Net.HttpWebRequest CreateHttpsRequest(System.Uri requestUri, Mono.Security.Interface.MonoTlsProvider provider, Mono.Security.Interface.MonoTlsSettings settings=null) { throw null; } GetMonoSslStream(System.Net.HttpListenerContext context)1082 public static Mono.Security.Interface.IMonoSslStream GetMonoSslStream(System.Net.HttpListenerContext context) { throw null; } GetMonoSslStream(System.Net.Security.SslStream stream)1083 public static Mono.Security.Interface.IMonoSslStream GetMonoSslStream(System.Net.Security.SslStream stream) { throw null; } GetProvider()1084