You've already forked linux-packaging-mono
Imported Upstream version 5.4.0.167
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
This commit is contained in:
parent
e49d6f06c0
commit
536cd135cc
327
external/api-snapshot/profiles/monotouch/System.Security.cs
vendored
Normal file
327
external/api-snapshot/profiles/monotouch/System.Security.cs
vendored
Normal file
@ -0,0 +1,327 @@
|
||||
// Licensed to the .NET Foundation under one or more agreements.
|
||||
// The .NET Foundation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
[assembly:System.Reflection.AssemblyVersionAttribute("2.0.5.0")]
|
||||
[assembly:System.CLSCompliantAttribute(true)]
|
||||
[assembly:System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute.DebuggingModes)(2))]
|
||||
[assembly:System.Reflection.AssemblyCompanyAttribute("Mono development team")]
|
||||
[assembly:System.Reflection.AssemblyCopyrightAttribute("(c) Various Mono authors")]
|
||||
[assembly:System.Reflection.AssemblyDefaultAliasAttribute("System.Security.dll")]
|
||||
[assembly:System.Reflection.AssemblyDescriptionAttribute("System.Security.dll")]
|
||||
[assembly:System.Reflection.AssemblyFileVersionAttribute("4.0.50524.0")]
|
||||
[assembly:System.Reflection.AssemblyInformationalVersionAttribute("4.0.50524.0")]
|
||||
[assembly:System.Reflection.AssemblyProductAttribute("Mono Common Language Infrastructure")]
|
||||
[assembly:System.Reflection.AssemblyTitleAttribute("System.Security.dll")]
|
||||
[assembly:System.Resources.NeutralResourcesLanguageAttribute("en-US")]
|
||||
[assembly:System.Resources.SatelliteContractVersionAttribute("2.0.5.0")]
|
||||
[assembly:System.Runtime.CompilerServices.CompilationRelaxationsAttribute(8)]
|
||||
[assembly:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true)]
|
||||
[assembly:System.Runtime.InteropServices.ComVisibleAttribute(false)]
|
||||
[assembly:System.Security.AllowPartiallyTrustedCallersAttribute]
|
||||
namespace System
|
||||
{
|
||||
[System.AttributeUsageAttribute((System.AttributeTargets)(32767), AllowMultiple=true)]
|
||||
internal partial class MonoDocumentationNoteAttribute : System.MonoTODOAttribute
|
||||
{
|
||||
public MonoDocumentationNoteAttribute(string comment) { }
|
||||
}
|
||||
[System.AttributeUsageAttribute((System.AttributeTargets)(32767), AllowMultiple=true)]
|
||||
internal partial class MonoExtensionAttribute : System.MonoTODOAttribute
|
||||
{
|
||||
public MonoExtensionAttribute(string comment) { }
|
||||
}
|
||||
[System.AttributeUsageAttribute((System.AttributeTargets)(32767), AllowMultiple=true)]
|
||||
internal partial class MonoInternalNoteAttribute : System.MonoTODOAttribute
|
||||
{
|
||||
public MonoInternalNoteAttribute(string comment) { }
|
||||
}
|
||||
[System.AttributeUsageAttribute((System.AttributeTargets)(32767), AllowMultiple=true)]
|
||||
internal partial class MonoLimitationAttribute : System.MonoTODOAttribute
|
||||
{
|
||||
public MonoLimitationAttribute(string comment) { }
|
||||
}
|
||||
[System.AttributeUsageAttribute((System.AttributeTargets)(32767), AllowMultiple=true)]
|
||||
internal partial class MonoNotSupportedAttribute : System.MonoTODOAttribute
|
||||
{
|
||||
public MonoNotSupportedAttribute(string comment) { }
|
||||
}
|
||||
[System.AttributeUsageAttribute((System.AttributeTargets)(32767), AllowMultiple=true)]
|
||||
internal partial class MonoTODOAttribute : System.Attribute
|
||||
{
|
||||
public MonoTODOAttribute() { }
|
||||
public MonoTODOAttribute(string comment) { }
|
||||
public string Comment { get { throw null; } }
|
||||
}
|
||||
}
|
||||
namespace System.Security.Cryptography
|
||||
{
|
||||
public sealed partial class CryptographicAttributeObject
|
||||
{
|
||||
public CryptographicAttributeObject(System.Security.Cryptography.Oid oid) { }
|
||||
public CryptographicAttributeObject(System.Security.Cryptography.Oid oid, System.Security.Cryptography.AsnEncodedDataCollection values) { }
|
||||
public System.Security.Cryptography.Oid Oid { get { throw null; } }
|
||||
public System.Security.Cryptography.AsnEncodedDataCollection Values { get { throw null; } }
|
||||
}
|
||||
public sealed partial class CryptographicAttributeObjectCollection : System.Collections.ICollection, System.Collections.IEnumerable
|
||||
{
|
||||
public CryptographicAttributeObjectCollection() { }
|
||||
public CryptographicAttributeObjectCollection(System.Security.Cryptography.CryptographicAttributeObject attribute) { }
|
||||
public int Count { get { throw null; } }
|
||||
public bool IsSynchronized { get { throw null; } }
|
||||
public System.Security.Cryptography.CryptographicAttributeObject this[int index] { get { throw null; } }
|
||||
public object SyncRoot { get { throw null; } }
|
||||
public int Add(System.Security.Cryptography.AsnEncodedData asnEncodedData) { throw null; }
|
||||
public int Add(System.Security.Cryptography.CryptographicAttributeObject attribute) { throw null; }
|
||||
public void CopyTo(System.Security.Cryptography.CryptographicAttributeObject[] array, int index) { }
|
||||
public System.Security.Cryptography.CryptographicAttributeObjectEnumerator GetEnumerator() { throw null; }
|
||||
public void Remove(System.Security.Cryptography.CryptographicAttributeObject attribute) { }
|
||||
void System.Collections.ICollection.CopyTo(System.Array array, int index) { }
|
||||
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
|
||||
}
|
||||
public sealed partial class CryptographicAttributeObjectEnumerator : System.Collections.IEnumerator
|
||||
{
|
||||
internal CryptographicAttributeObjectEnumerator() { }
|
||||
public System.Security.Cryptography.CryptographicAttributeObject Current { get { throw null; } }
|
||||
object System.Collections.IEnumerator.Current { get { throw null; } }
|
||||
public bool MoveNext() { throw null; }
|
||||
public void Reset() { }
|
||||
}
|
||||
public enum DataProtectionScope
|
||||
{
|
||||
CurrentUser = 0,
|
||||
LocalMachine = 1,
|
||||
}
|
||||
public sealed partial class ProtectedData
|
||||
{
|
||||
internal ProtectedData() { }
|
||||
public static byte[] Protect(byte[] userData, byte[] optionalEntropy, System.Security.Cryptography.DataProtectionScope scope) { throw null; }
|
||||
public static byte[] Unprotect(byte[] encryptedData, byte[] optionalEntropy, System.Security.Cryptography.DataProtectionScope scope) { throw null; }
|
||||
}
|
||||
}
|
||||
namespace System.Security.Cryptography.Pkcs
|
||||
{
|
||||
public sealed partial class AlgorithmIdentifier
|
||||
{
|
||||
public AlgorithmIdentifier() { }
|
||||
public AlgorithmIdentifier(System.Security.Cryptography.Oid oid) { }
|
||||
public AlgorithmIdentifier(System.Security.Cryptography.Oid oid, int keyLength) { }
|
||||
public int KeyLength { get { throw null; } set { } }
|
||||
public System.Security.Cryptography.Oid Oid { get { throw null; } set { } }
|
||||
public byte[] Parameters { get { throw null; } set { } }
|
||||
}
|
||||
public sealed partial class CmsRecipient
|
||||
{
|
||||
public CmsRecipient(System.Security.Cryptography.Pkcs.SubjectIdentifierType recipientIdentifierType, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) { }
|
||||
public CmsRecipient(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) { }
|
||||
public System.Security.Cryptography.X509Certificates.X509Certificate2 Certificate { get { throw null; } }
|
||||
public System.Security.Cryptography.Pkcs.SubjectIdentifierType RecipientIdentifierType { get { throw null; } }
|
||||
}
|
||||
public sealed partial class CmsRecipientCollection : System.Collections.ICollection, System.Collections.IEnumerable
|
||||
{
|
||||
public CmsRecipientCollection() { }
|
||||
public CmsRecipientCollection(System.Security.Cryptography.Pkcs.CmsRecipient recipient) { }
|
||||
public CmsRecipientCollection(System.Security.Cryptography.Pkcs.SubjectIdentifierType recipientIdentifierType, System.Security.Cryptography.X509Certificates.X509Certificate2Collection certificates) { }
|
||||
public int Count { get { throw null; } }
|
||||
public bool IsSynchronized { get { throw null; } }
|
||||
public System.Security.Cryptography.Pkcs.CmsRecipient this[int index] { get { throw null; } }
|
||||
public object SyncRoot { get { throw null; } }
|
||||
public int Add(System.Security.Cryptography.Pkcs.CmsRecipient recipient) { throw null; }
|
||||
public void CopyTo(System.Array array, int index) { }
|
||||
public void CopyTo(System.Security.Cryptography.Pkcs.CmsRecipient[] array, int index) { }
|
||||
public System.Security.Cryptography.Pkcs.CmsRecipientEnumerator GetEnumerator() { throw null; }
|
||||
public void Remove(System.Security.Cryptography.Pkcs.CmsRecipient recipient) { }
|
||||
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
|
||||
}
|
||||
public sealed partial class CmsRecipientEnumerator : System.Collections.IEnumerator
|
||||
{
|
||||
internal CmsRecipientEnumerator() { }
|
||||
public System.Security.Cryptography.Pkcs.CmsRecipient Current { get { throw null; } }
|
||||
object System.Collections.IEnumerator.Current { get { throw null; } }
|
||||
public bool MoveNext() { throw null; }
|
||||
public void Reset() { }
|
||||
}
|
||||
public sealed partial class ContentInfo
|
||||
{
|
||||
public ContentInfo(byte[] content) { }
|
||||
public ContentInfo(System.Security.Cryptography.Oid contentType, byte[] content) { }
|
||||
public byte[] Content { get { throw null; } }
|
||||
public System.Security.Cryptography.Oid ContentType { get { throw null; } }
|
||||
~ContentInfo() { }
|
||||
[System.MonoTODOAttribute("MS is stricter than us about the content structure")]
|
||||
public static System.Security.Cryptography.Oid GetContentType(byte[] encodedMessage) { throw null; }
|
||||
}
|
||||
public sealed partial class EnvelopedCms
|
||||
{
|
||||
public EnvelopedCms() { }
|
||||
public EnvelopedCms(System.Security.Cryptography.Pkcs.ContentInfo contentInfo) { }
|
||||
public EnvelopedCms(System.Security.Cryptography.Pkcs.ContentInfo contentInfo, System.Security.Cryptography.Pkcs.AlgorithmIdentifier encryptionAlgorithm) { }
|
||||
public EnvelopedCms(System.Security.Cryptography.Pkcs.SubjectIdentifierType recipientIdentifierType, System.Security.Cryptography.Pkcs.ContentInfo contentInfo) { }
|
||||
public EnvelopedCms(System.Security.Cryptography.Pkcs.SubjectIdentifierType recipientIdentifierType, System.Security.Cryptography.Pkcs.ContentInfo contentInfo, System.Security.Cryptography.Pkcs.AlgorithmIdentifier encryptionAlgorithm) { }
|
||||
public System.Security.Cryptography.X509Certificates.X509Certificate2Collection Certificates { get { throw null; } }
|
||||
public System.Security.Cryptography.Pkcs.AlgorithmIdentifier ContentEncryptionAlgorithm { get { throw null; } }
|
||||
public System.Security.Cryptography.Pkcs.ContentInfo ContentInfo { get { throw null; } }
|
||||
public System.Security.Cryptography.Pkcs.RecipientInfoCollection RecipientInfos { get { throw null; } }
|
||||
public System.Security.Cryptography.CryptographicAttributeObjectCollection UnprotectedAttributes { get { throw null; } }
|
||||
public int Version { get { throw null; } }
|
||||
[System.MonoTODOAttribute]
|
||||
public void Decode(byte[] encodedMessage) { }
|
||||
[System.MonoTODOAttribute]
|
||||
public void Decrypt() { }
|
||||
[System.MonoTODOAttribute]
|
||||
public void Decrypt(System.Security.Cryptography.Pkcs.RecipientInfo recipientInfo) { }
|
||||
[System.MonoTODOAttribute]
|
||||
public void Decrypt(System.Security.Cryptography.Pkcs.RecipientInfo recipientInfo, System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraStore) { }
|
||||
[System.MonoTODOAttribute]
|
||||
public void Decrypt(System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraStore) { }
|
||||
[System.MonoTODOAttribute]
|
||||
public byte[] Encode() { throw null; }
|
||||
[System.MonoTODOAttribute]
|
||||
public void Encrypt() { }
|
||||
[System.MonoTODOAttribute]
|
||||
public void Encrypt(System.Security.Cryptography.Pkcs.CmsRecipient recipient) { }
|
||||
[System.MonoTODOAttribute]
|
||||
public void Encrypt(System.Security.Cryptography.Pkcs.CmsRecipientCollection recipients) { }
|
||||
}
|
||||
[System.MonoTODOAttribute]
|
||||
public sealed partial class KeyAgreeRecipientInfo : System.Security.Cryptography.Pkcs.RecipientInfo
|
||||
{
|
||||
internal KeyAgreeRecipientInfo() { }
|
||||
public System.DateTime Date { get { throw null; } }
|
||||
public override byte[] EncryptedKey { get { throw null; } }
|
||||
public override System.Security.Cryptography.Pkcs.AlgorithmIdentifier KeyEncryptionAlgorithm { get { throw null; } }
|
||||
public System.Security.Cryptography.Pkcs.SubjectIdentifierOrKey OriginatorIdentifierOrKey { get { throw null; } }
|
||||
public System.Security.Cryptography.CryptographicAttributeObject OtherKeyAttribute { get { throw null; } }
|
||||
public override System.Security.Cryptography.Pkcs.SubjectIdentifier RecipientIdentifier { get { throw null; } }
|
||||
public override int Version { get { throw null; } }
|
||||
}
|
||||
public sealed partial class KeyTransRecipientInfo : System.Security.Cryptography.Pkcs.RecipientInfo
|
||||
{
|
||||
internal KeyTransRecipientInfo() { }
|
||||
public override byte[] EncryptedKey { get { throw null; } }
|
||||
public override System.Security.Cryptography.Pkcs.AlgorithmIdentifier KeyEncryptionAlgorithm { get { throw null; } }
|
||||
public override System.Security.Cryptography.Pkcs.SubjectIdentifier RecipientIdentifier { get { throw null; } }
|
||||
public override int Version { get { throw null; } }
|
||||
}
|
||||
public partial class Pkcs9AttributeObject : System.Security.Cryptography.AsnEncodedData
|
||||
{
|
||||
public Pkcs9AttributeObject() { }
|
||||
public Pkcs9AttributeObject(System.Security.Cryptography.AsnEncodedData asnEncodedData) { }
|
||||
public Pkcs9AttributeObject(System.Security.Cryptography.Oid oid, byte[] encodedData) { }
|
||||
public Pkcs9AttributeObject(string oid, byte[] encodedData) { }
|
||||
public new System.Security.Cryptography.Oid Oid { get { throw null; } }
|
||||
public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) { }
|
||||
}
|
||||
public sealed partial class Pkcs9ContentType : System.Security.Cryptography.Pkcs.Pkcs9AttributeObject
|
||||
{
|
||||
public Pkcs9ContentType() { }
|
||||
public System.Security.Cryptography.Oid ContentType { get { throw null; } }
|
||||
public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) { }
|
||||
}
|
||||
public sealed partial class Pkcs9DocumentDescription : System.Security.Cryptography.Pkcs.Pkcs9AttributeObject
|
||||
{
|
||||
public Pkcs9DocumentDescription() { }
|
||||
public Pkcs9DocumentDescription(byte[] encodedDocumentDescription) { }
|
||||
public Pkcs9DocumentDescription(string documentDescription) { }
|
||||
public string DocumentDescription { get { throw null; } }
|
||||
public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) { }
|
||||
}
|
||||
public sealed partial class Pkcs9DocumentName : System.Security.Cryptography.Pkcs.Pkcs9AttributeObject
|
||||
{
|
||||
public Pkcs9DocumentName() { }
|
||||
public Pkcs9DocumentName(byte[] encodedDocumentName) { }
|
||||
public Pkcs9DocumentName(string documentName) { }
|
||||
public string DocumentName { get { throw null; } }
|
||||
public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) { }
|
||||
}
|
||||
public sealed partial class Pkcs9MessageDigest : System.Security.Cryptography.Pkcs.Pkcs9AttributeObject
|
||||
{
|
||||
public Pkcs9MessageDigest() { }
|
||||
public byte[] MessageDigest { get { throw null; } }
|
||||
public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) { }
|
||||
}
|
||||
public sealed partial class Pkcs9SigningTime : System.Security.Cryptography.Pkcs.Pkcs9AttributeObject
|
||||
{
|
||||
public Pkcs9SigningTime() { }
|
||||
public Pkcs9SigningTime(byte[] encodedSigningTime) { }
|
||||
public Pkcs9SigningTime(System.DateTime signingTime) { }
|
||||
public System.DateTime SigningTime { get { throw null; } }
|
||||
public override void CopyFrom(System.Security.Cryptography.AsnEncodedData asnEncodedData) { }
|
||||
}
|
||||
public sealed partial class PublicKeyInfo
|
||||
{
|
||||
internal PublicKeyInfo() { }
|
||||
public System.Security.Cryptography.Pkcs.AlgorithmIdentifier Algorithm { get { throw null; } }
|
||||
public byte[] KeyValue { get { throw null; } }
|
||||
}
|
||||
public abstract partial class RecipientInfo
|
||||
{
|
||||
internal RecipientInfo() { }
|
||||
public abstract byte[] EncryptedKey { get; }
|
||||
public abstract System.Security.Cryptography.Pkcs.AlgorithmIdentifier KeyEncryptionAlgorithm { get; }
|
||||
public abstract System.Security.Cryptography.Pkcs.SubjectIdentifier RecipientIdentifier { get; }
|
||||
public System.Security.Cryptography.Pkcs.RecipientInfoType Type { get { throw null; } }
|
||||
public abstract int Version { get; }
|
||||
}
|
||||
public sealed partial class RecipientInfoCollection : System.Collections.ICollection, System.Collections.IEnumerable
|
||||
{
|
||||
internal RecipientInfoCollection() { }
|
||||
public int Count { get { throw null; } }
|
||||
public bool IsSynchronized { get { throw null; } }
|
||||
public System.Security.Cryptography.Pkcs.RecipientInfo this[int index] { get { throw null; } }
|
||||
public object SyncRoot { get { throw null; } }
|
||||
public void CopyTo(System.Array array, int index) { }
|
||||
public void CopyTo(System.Security.Cryptography.Pkcs.RecipientInfo[] array, int index) { }
|
||||
public System.Security.Cryptography.Pkcs.RecipientInfoEnumerator GetEnumerator() { throw null; }
|
||||
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
|
||||
}
|
||||
public sealed partial class RecipientInfoEnumerator : System.Collections.IEnumerator
|
||||
{
|
||||
internal RecipientInfoEnumerator() { }
|
||||
public System.Security.Cryptography.Pkcs.RecipientInfo Current { get { throw null; } }
|
||||
object System.Collections.IEnumerator.Current { get { throw null; } }
|
||||
public bool MoveNext() { throw null; }
|
||||
public void Reset() { }
|
||||
}
|
||||
public enum RecipientInfoType
|
||||
{
|
||||
KeyAgreement = 2,
|
||||
KeyTransport = 1,
|
||||
Unknown = 0,
|
||||
}
|
||||
public sealed partial class SubjectIdentifier
|
||||
{
|
||||
internal SubjectIdentifier() { }
|
||||
public System.Security.Cryptography.Pkcs.SubjectIdentifierType Type { get { throw null; } }
|
||||
public object Value { get { throw null; } }
|
||||
}
|
||||
public sealed partial class SubjectIdentifierOrKey
|
||||
{
|
||||
internal SubjectIdentifierOrKey() { }
|
||||
public System.Security.Cryptography.Pkcs.SubjectIdentifierOrKeyType Type { get { throw null; } }
|
||||
public object Value { get { throw null; } }
|
||||
}
|
||||
public enum SubjectIdentifierOrKeyType
|
||||
{
|
||||
IssuerAndSerialNumber = 1,
|
||||
PublicKeyInfo = 3,
|
||||
SubjectKeyIdentifier = 2,
|
||||
Unknown = 0,
|
||||
}
|
||||
public enum SubjectIdentifierType
|
||||
{
|
||||
IssuerAndSerialNumber = 1,
|
||||
NoSignature = 3,
|
||||
SubjectKeyIdentifier = 2,
|
||||
Unknown = 0,
|
||||
}
|
||||
}
|
||||
namespace System.Security.Cryptography.Xml
|
||||
{
|
||||
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
|
||||
public partial struct X509IssuerSerial
|
||||
{
|
||||
public string IssuerName { get { throw null; } set { } }
|
||||
public string SerialNumber { get { throw null; } set { } }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user