// 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.IgnoreSymbolStoreSequencePoints)] [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] [assembly:System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.RequestMinimum, SkipVerification=true)] 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 CmsSigner { public CmsSigner() { } public CmsSigner(System.Security.Cryptography.CspParameters parameters) { } public CmsSigner(System.Security.Cryptography.Pkcs.SubjectIdentifierType signerIdentifierType) { } public CmsSigner(System.Security.Cryptography.Pkcs.SubjectIdentifierType signerIdentifierType, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) { } public CmsSigner(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) { } public System.Security.Cryptography.X509Certificates.X509Certificate2 Certificate { get { throw null; } set { } } public System.Security.Cryptography.X509Certificates.X509Certificate2Collection Certificates { get { throw null; } } public System.Security.Cryptography.Oid DigestAlgorithm { get { throw null; } set { } } public System.Security.Cryptography.X509Certificates.X509IncludeOption IncludeOption { get { throw null; } set { } } public System.Security.Cryptography.AsymmetricAlgorithm PrivateKey { get { throw null; } set { } } public System.Security.Cryptography.CryptographicAttributeObjectCollection SignedAttributes { get { throw null; } } public System.Security.Cryptography.Pkcs.SubjectIdentifierType SignerIdentifierType { get { throw null; } set { } } public System.Security.Cryptography.CryptographicAttributeObjectCollection UnsignedAttributes { get { throw null; } } } 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; } } 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; } } public void Decode(byte[] encodedMessage) { } public void Decrypt() { } public void Decrypt(System.Security.Cryptography.Pkcs.RecipientInfo recipientInfo) { } public void Decrypt(System.Security.Cryptography.Pkcs.RecipientInfo recipientInfo, System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraStore) { } public void Decrypt(System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraStore) { } public byte[] Encode() { throw null; } public void Encrypt() { } public void Encrypt(System.Security.Cryptography.Pkcs.CmsRecipient recipient) { } public void Encrypt(System.Security.Cryptography.Pkcs.CmsRecipientCollection recipients) { } } 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 SignedCms { public SignedCms() { } public SignedCms(System.Security.Cryptography.Pkcs.ContentInfo contentInfo) { } public SignedCms(System.Security.Cryptography.Pkcs.ContentInfo contentInfo, bool detached) { } public SignedCms(System.Security.Cryptography.Pkcs.SubjectIdentifierType signerIdentifierType) { } public SignedCms(System.Security.Cryptography.Pkcs.SubjectIdentifierType signerIdentifierType, System.Security.Cryptography.Pkcs.ContentInfo contentInfo) { } public SignedCms(System.Security.Cryptography.Pkcs.SubjectIdentifierType signerIdentifierType, System.Security.Cryptography.Pkcs.ContentInfo contentInfo, bool detached) { } public System.Security.Cryptography.X509Certificates.X509Certificate2Collection Certificates { get { throw null; } } public System.Security.Cryptography.Pkcs.ContentInfo ContentInfo { get { throw null; } } public bool Detached { get { throw null; } } public System.Security.Cryptography.Pkcs.SignerInfoCollection SignerInfos { get { throw null; } } public int Version { get { throw null; } } public void CheckHash() { } public void CheckSignature(bool verifySignatureOnly) { } public void CheckSignature(System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraStore, bool verifySignatureOnly) { } public void ComputeSignature() { } public void ComputeSignature(System.Security.Cryptography.Pkcs.CmsSigner signer) { } public void ComputeSignature(System.Security.Cryptography.Pkcs.CmsSigner signer, bool silent) { } public void Decode(byte[] encodedMessage) { } public byte[] Encode() { throw null; } public void RemoveSignature(int index) { } public void RemoveSignature(System.Security.Cryptography.Pkcs.SignerInfo signerInfo) { } } public sealed partial class SignerInfo { internal SignerInfo() { } public System.Security.Cryptography.X509Certificates.X509Certificate2 Certificate { get { throw null; } } public System.Security.Cryptography.Pkcs.SignerInfoCollection CounterSignerInfos { get { throw null; } } public System.Security.Cryptography.Oid DigestAlgorithm { get { throw null; } } public System.Security.Cryptography.Oid SignatureAlgorithm { get { throw null; } } public System.Security.Cryptography.CryptographicAttributeObjectCollection SignedAttributes { get { throw null; } } public System.Security.Cryptography.Pkcs.SubjectIdentifier SignerIdentifier { get { throw null; } } public System.Security.Cryptography.CryptographicAttributeObjectCollection UnsignedAttributes { get { throw null; } } public int Version { get { throw null; } } public void CheckHash() { } public void CheckSignature(bool verifySignatureOnly) { } public void CheckSignature(System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraStore, bool verifySignatureOnly) { } public void ComputeCounterSignature() { } public void ComputeCounterSignature(System.Security.Cryptography.Pkcs.CmsSigner signer) { } public byte[] GetSignature() { throw null; } public void RemoveCounterSignature(int index) { } public void RemoveCounterSignature(System.Security.Cryptography.Pkcs.SignerInfo counterSignerInfo) { } } public sealed partial class SignerInfoCollection : System.Collections.ICollection, System.Collections.IEnumerable { internal SignerInfoCollection() { } public int Count { get { throw null; } } public bool IsSynchronized { get { throw null; } } public System.Security.Cryptography.Pkcs.SignerInfo 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.SignerInfo[] array, int index) { } public System.Security.Cryptography.Pkcs.SignerInfoEnumerator GetEnumerator() { throw null; } System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } } public sealed partial class SignerInfoEnumerator : System.Collections.IEnumerator { internal SignerInfoEnumerator() { } public System.Security.Cryptography.Pkcs.SignerInfo Current { get { throw null; } } object System.Collections.IEnumerator.Current { get { throw null; } } public bool MoveNext() { throw null; } public void Reset() { } } 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 { private object _dummy; public string IssuerName { get { throw null; } set { } } public string SerialNumber { get { throw null; } set { } } } }