// 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("4.0.0.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.6.57.0")] [assembly:System.Reflection.AssemblyInformationalVersionAttribute("4.6.57.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("4.0.0.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 abstract partial class DataProtector { protected DataProtector(string applicationName, string primaryPurpose, string[] specificPurposes) { } protected string ApplicationName { get { throw null; } } protected virtual bool PrependHashedPurposeToPlaintext { get { throw null; } } protected string PrimaryPurpose { get { throw null; } } protected System.Collections.Generic.IEnumerable SpecificPurposes { get { throw null; } } public static System.Security.Cryptography.DataProtector Create(string providerClass, string applicationName, string primaryPurpose, params string[] specificPurposes) { throw null; } protected virtual byte[] GetHashedPurpose() { throw null; } public abstract bool IsReprotectRequired(byte[] encryptedData); public byte[] Protect(byte[] userData) { throw null; } protected abstract byte[] ProviderProtect(byte[] userData); protected abstract byte[] ProviderUnprotect(byte[] encryptedData); [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.NoInlining, NoOptimization)]public byte[] Unprotect(byte[] encryptedData) { throw null; } } public enum MemoryProtectionScope { CrossProcess = 1, SameLogon = 2, SameProcess = 0, } 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; } } public sealed partial class ProtectedMemory { internal ProtectedMemory() { } [System.MonoTODOAttribute("only supported on Windows 2000 SP3 and later")] public static void Protect(byte[] userData, System.Security.Cryptography.MemoryProtectionScope scope) { } [System.MonoTODOAttribute("only supported on Windows 2000 SP3 and later")] public static void Unprotect(byte[] encryptedData, System.Security.Cryptography.MemoryProtectionScope scope) { } } } 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 enum KeyAgreeKeyChoice { EphemeralKey = 1, StaticKey = 2, Unknown = 0, } 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 sealed partial class Pkcs12Builder { public Pkcs12Builder() { } public bool IsSealed { get { throw null; } } public void AddSafeContentsEncrypted(System.Security.Cryptography.Pkcs.Pkcs12SafeContents safeContents, byte[] passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters) { } public void AddSafeContentsEncrypted(System.Security.Cryptography.Pkcs.Pkcs12SafeContents safeContents, System.ReadOnlySpan passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters) { } public void AddSafeContentsEncrypted(System.Security.Cryptography.Pkcs.Pkcs12SafeContents safeContents, System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters) { } public void AddSafeContentsEncrypted(System.Security.Cryptography.Pkcs.Pkcs12SafeContents safeContents, string password, System.Security.Cryptography.PbeParameters pbeParameters) { } public void AddSafeContentsUnencrypted(System.Security.Cryptography.Pkcs.Pkcs12SafeContents safeContents) { } public byte[] Encode() { throw null; } public void SealWithMac(System.ReadOnlySpan password, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, int iterationCount) { } public void SealWithMac(string password, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, int iterationCount) { } public void SealWithoutIntegrity() { } public bool TryEncode(System.Span destination, out int bytesWritten) { throw null; } } public sealed partial class Pkcs12CertBag : System.Security.Cryptography.Pkcs.Pkcs12SafeBag { public Pkcs12CertBag(System.Security.Cryptography.Oid certificateType, System.ReadOnlyMemory encodedCertificate) : base (default(string), default(System.ReadOnlyMemory), default(bool)) { } public System.ReadOnlyMemory EncodedCertificate { get { throw null; } } public bool IsX509Certificate { get { throw null; } } public System.Security.Cryptography.X509Certificates.X509Certificate2 GetCertificate() { throw null; } public System.Security.Cryptography.Oid GetCertificateType() { throw null; } } public enum Pkcs12ConfidentialityMode { None = 1, Password = 2, PublicKey = 3, Unknown = 0, } public sealed partial class Pkcs12Info { internal Pkcs12Info() { } public System.Collections.ObjectModel.ReadOnlyCollection AuthenticatedSafe { get { throw null; } } public System.Security.Cryptography.Pkcs.Pkcs12IntegrityMode IntegrityMode { get { throw null; } } public static System.Security.Cryptography.Pkcs.Pkcs12Info Decode(System.ReadOnlyMemory encodedBytes, out int bytesConsumed, bool skipCopy = false) { throw null; } public bool VerifyMac(System.ReadOnlySpan password) { throw null; } public bool VerifyMac(string password) { throw null; } } public enum Pkcs12IntegrityMode { None = 1, Password = 2, PublicKey = 3, Unknown = 0, } public sealed partial class Pkcs12KeyBag : System.Security.Cryptography.Pkcs.Pkcs12SafeBag { public Pkcs12KeyBag(System.ReadOnlyMemory pkcs8PrivateKey, bool skipCopy = false) : base (default(string), default(System.ReadOnlyMemory), default(bool)) { } public System.ReadOnlyMemory Pkcs8PrivateKey { get { throw null; } } } public abstract partial class Pkcs12SafeBag { protected Pkcs12SafeBag(string bagIdValue, System.ReadOnlyMemory encodedBagValue, bool skipCopy = false) { } public System.Security.Cryptography.CryptographicAttributeObjectCollection Attributes { get { throw null; } } public System.ReadOnlyMemory EncodedBagValue { get { throw null; } } public byte[] Encode() { throw null; } public System.Security.Cryptography.Oid GetBagId() { throw null; } public bool TryEncode(System.Span destination, out int bytesWritten) { throw null; } } public sealed partial class Pkcs12SafeContents { public Pkcs12SafeContents() { } public System.Security.Cryptography.Pkcs.Pkcs12ConfidentialityMode ConfidentialityMode { get { throw null; } } public bool IsReadOnly { get { throw null; } } public System.Security.Cryptography.Pkcs.Pkcs12CertBag AddCertificate(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) { throw null; } public System.Security.Cryptography.Pkcs.Pkcs12KeyBag AddKeyUnencrypted(System.Security.Cryptography.AsymmetricAlgorithm key) { throw null; } public System.Security.Cryptography.Pkcs.Pkcs12SafeContentsBag AddNestedContents(System.Security.Cryptography.Pkcs.Pkcs12SafeContents safeContents) { throw null; } public void AddSafeBag(System.Security.Cryptography.Pkcs.Pkcs12SafeBag safeBag) { } public System.Security.Cryptography.Pkcs.Pkcs12SecretBag AddSecret(System.Security.Cryptography.Oid secretType, System.ReadOnlyMemory secretValue) { throw null; } public System.Security.Cryptography.Pkcs.Pkcs12ShroudedKeyBag AddShroudedKey(System.Security.Cryptography.AsymmetricAlgorithm key, byte[] passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters) { throw null; } public System.Security.Cryptography.Pkcs.Pkcs12ShroudedKeyBag AddShroudedKey(System.Security.Cryptography.AsymmetricAlgorithm key, System.ReadOnlySpan passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters) { throw null; } public System.Security.Cryptography.Pkcs.Pkcs12ShroudedKeyBag AddShroudedKey(System.Security.Cryptography.AsymmetricAlgorithm key, System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters) { throw null; } public System.Security.Cryptography.Pkcs.Pkcs12ShroudedKeyBag AddShroudedKey(System.Security.Cryptography.AsymmetricAlgorithm key, string password, System.Security.Cryptography.PbeParameters pbeParameters) { throw null; } public void Decrypt(byte[] passwordBytes) { } public void Decrypt(System.ReadOnlySpan passwordBytes) { } public void Decrypt(System.ReadOnlySpan password) { } public void Decrypt(string password) { } public System.Collections.Generic.IEnumerable GetBags() { throw null; } } public sealed partial class Pkcs12SafeContentsBag : System.Security.Cryptography.Pkcs.Pkcs12SafeBag { internal Pkcs12SafeContentsBag() : base (default(string), default(System.ReadOnlyMemory), default(bool)) { } public System.Security.Cryptography.Pkcs.Pkcs12SafeContents SafeContents { get { throw null; } } } public sealed partial class Pkcs12SecretBag : System.Security.Cryptography.Pkcs.Pkcs12SafeBag { internal Pkcs12SecretBag() : base (default(string), default(System.ReadOnlyMemory), default(bool)) { } public System.ReadOnlyMemory SecretValue { get { throw null; } } public System.Security.Cryptography.Oid GetSecretType() { throw null; } } public sealed partial class Pkcs12ShroudedKeyBag : System.Security.Cryptography.Pkcs.Pkcs12SafeBag { public Pkcs12ShroudedKeyBag(System.ReadOnlyMemory encryptedPkcs8PrivateKey, bool skipCopy = false) : base (default(string), default(System.ReadOnlyMemory), default(bool)) { } public System.ReadOnlyMemory EncryptedPkcs8PrivateKey { get { throw null; } } } public sealed partial class Pkcs8PrivateKeyInfo { public Pkcs8PrivateKeyInfo(System.Security.Cryptography.Oid algorithmId, System.Nullable> algorithmParameters, System.ReadOnlyMemory privateKey, bool skipCopies = false) { } public System.Security.Cryptography.Oid AlgorithmId { get { throw null; } } public System.Nullable> AlgorithmParameters { get { throw null; } } public System.Security.Cryptography.CryptographicAttributeObjectCollection Attributes { get { throw null; } } public System.ReadOnlyMemory PrivateKeyBytes { get { throw null; } } public static System.Security.Cryptography.Pkcs.Pkcs8PrivateKeyInfo Create(System.Security.Cryptography.AsymmetricAlgorithm privateKey) { throw null; } public static System.Security.Cryptography.Pkcs.Pkcs8PrivateKeyInfo Decode(System.ReadOnlyMemory source, out int bytesRead, bool skipCopy = false) { throw null; } public static System.Security.Cryptography.Pkcs.Pkcs8PrivateKeyInfo DecryptAndDecode(System.ReadOnlySpan passwordBytes, System.ReadOnlyMemory source, out int bytesRead) { throw null; } public static System.Security.Cryptography.Pkcs.Pkcs8PrivateKeyInfo DecryptAndDecode(System.ReadOnlySpan password, System.ReadOnlyMemory source, out int bytesRead) { throw null; } public byte[] Encode() { throw null; } public byte[] Encrypt(System.ReadOnlySpan passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters) { throw null; } public byte[] Encrypt(System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters) { throw null; } public bool TryEncode(System.Span destination, out int bytesWritten) { throw null; } public bool TryEncrypt(System.ReadOnlySpan passwordBytes, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) { throw null; } public bool TryEncrypt(System.ReadOnlySpan password, System.Security.Cryptography.PbeParameters pbeParameters, System.Span destination, out int bytesWritten) { 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 Pkcs9LocalKeyId : System.Security.Cryptography.Pkcs.Pkcs9AttributeObject { public Pkcs9LocalKeyId() { } public Pkcs9LocalKeyId(byte[] keyId) { } public Pkcs9LocalKeyId(System.ReadOnlySpan keyId) { } public System.ReadOnlyMemory KeyId { get { throw null; } } } 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 Rfc3161TimestampRequest { internal Rfc3161TimestampRequest() { } public bool HasExtensions { get { throw null; } } public System.Security.Cryptography.Oid HashAlgorithmId { get { throw null; } } public System.Security.Cryptography.Oid RequestedPolicyId { get { throw null; } } public bool RequestSignerCertificate { get { throw null; } } public int Version { get { throw null; } } public static System.Security.Cryptography.Pkcs.Rfc3161TimestampRequest CreateFromData(System.ReadOnlySpan data, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.Oid requestedPolicyId = null, System.Nullable> nonce = default(System.Nullable>), bool requestSignerCertificates = false, System.Security.Cryptography.X509Certificates.X509ExtensionCollection extensions = null) { throw null; } public static System.Security.Cryptography.Pkcs.Rfc3161TimestampRequest CreateFromHash(System.ReadOnlyMemory hash, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.Oid requestedPolicyId = null, System.Nullable> nonce = default(System.Nullable>), bool requestSignerCertificates = false, System.Security.Cryptography.X509Certificates.X509ExtensionCollection extensions = null) { throw null; } public static System.Security.Cryptography.Pkcs.Rfc3161TimestampRequest CreateFromHash(System.ReadOnlyMemory hash, System.Security.Cryptography.Oid hashAlgorithmId, System.Security.Cryptography.Oid requestedPolicyId = null, System.Nullable> nonce = default(System.Nullable>), bool requestSignerCertificates = false, System.Security.Cryptography.X509Certificates.X509ExtensionCollection extensions = null) { throw null; } public static System.Security.Cryptography.Pkcs.Rfc3161TimestampRequest CreateFromSignerInfo(System.Security.Cryptography.Pkcs.SignerInfo signerInfo, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.Oid requestedPolicyId = null, System.Nullable> nonce = default(System.Nullable>), bool requestSignerCertificates = false, System.Security.Cryptography.X509Certificates.X509ExtensionCollection extensions = null) { throw null; } public byte[] Encode() { throw null; } public System.Security.Cryptography.X509Certificates.X509ExtensionCollection GetExtensions() { throw null; } public System.ReadOnlyMemory GetMessageHash() { throw null; } public System.Nullable> GetNonce() { throw null; } public System.Security.Cryptography.Pkcs.Rfc3161TimestampToken ProcessResponse(System.ReadOnlyMemory responseBytes, out int bytesConsumed) { throw null; } public static bool TryDecode(System.ReadOnlyMemory encodedBytes, out System.Security.Cryptography.Pkcs.Rfc3161TimestampRequest request, out int bytesConsumed) { throw null; } public bool TryEncode(System.Span destination, out int bytesWritten) { throw null; } } public sealed partial class Rfc3161TimestampToken { internal Rfc3161TimestampToken() { } public System.Security.Cryptography.Pkcs.Rfc3161TimestampTokenInfo TokenInfo { get { throw null; } } public System.Security.Cryptography.Pkcs.SignedCms AsSignedCms() { throw null; } public static bool TryDecode(System.ReadOnlyMemory encodedBytes, out System.Security.Cryptography.Pkcs.Rfc3161TimestampToken token, out int bytesConsumed) { throw null; } public bool VerifySignatureForData(System.ReadOnlySpan data, out System.Security.Cryptography.X509Certificates.X509Certificate2 signerCertificate, System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraCandidates = null) { throw null; } public bool VerifySignatureForHash(System.ReadOnlySpan hash, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, out System.Security.Cryptography.X509Certificates.X509Certificate2 signerCertificate, System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraCandidates = null) { throw null; } public bool VerifySignatureForHash(System.ReadOnlySpan hash, System.Security.Cryptography.Oid hashAlgorithmId, out System.Security.Cryptography.X509Certificates.X509Certificate2 signerCertificate, System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraCandidates = null) { throw null; } public bool VerifySignatureForSignerInfo(System.Security.Cryptography.Pkcs.SignerInfo signerInfo, out System.Security.Cryptography.X509Certificates.X509Certificate2 signerCertificate, System.Security.Cryptography.X509Certificates.X509Certificate2Collection extraCandidates = null) { throw null; } } public sealed partial class Rfc3161TimestampTokenInfo { public Rfc3161TimestampTokenInfo(System.Security.Cryptography.Oid policyId, System.Security.Cryptography.Oid hashAlgorithmId, System.ReadOnlyMemory messageHash, System.ReadOnlyMemory serialNumber, System.DateTimeOffset timestamp, System.Nullable accuracyInMicroseconds = default(System.Nullable), bool isOrdering = false, System.Nullable> nonce = default(System.Nullable>), System.Nullable> timestampAuthorityName = default(System.Nullable>), System.Security.Cryptography.X509Certificates.X509ExtensionCollection extensions = null) { } public System.Nullable AccuracyInMicroseconds { get { throw null; } } public bool HasExtensions { get { throw null; } } public System.Security.Cryptography.Oid HashAlgorithmId { get { throw null; } } public bool IsOrdering { get { throw null; } } public System.Security.Cryptography.Oid PolicyId { get { throw null; } } public System.DateTimeOffset Timestamp { get { throw null; } } public int Version { get { throw null; } } public byte[] Encode() { throw null; } public System.Security.Cryptography.X509Certificates.X509ExtensionCollection GetExtensions() { throw null; } public System.ReadOnlyMemory GetMessageHash() { throw null; } public System.Nullable> GetNonce() { throw null; } public System.ReadOnlyMemory GetSerialNumber() { throw null; } public System.Nullable> GetTimestampAuthorityName() { throw null; } public static bool TryDecode(System.ReadOnlyMemory encodedBytes, out System.Security.Cryptography.Pkcs.Rfc3161TimestampTokenInfo timestampTokenInfo, out int bytesConsumed) { throw null; } public bool TryEncode(System.Span destination, out int bytesWritten) { throw null; } } 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.X509Certificates { public static partial class X509Certificate2UI { [System.MonoTODOAttribute] public static void DisplayCertificate(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) { } [System.MonoTODOAttribute] [System.Security.Permissions.UIPermissionAttribute(System.Security.Permissions.SecurityAction.Demand, Window=System.Security.Permissions.UIPermissionWindow.SafeTopLevelWindows)] [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, UnmanagedCode=true)] public static void DisplayCertificate(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, System.IntPtr hwndParent) { } [System.MonoTODOAttribute] public static System.Security.Cryptography.X509Certificates.X509Certificate2Collection SelectFromCollection(System.Security.Cryptography.X509Certificates.X509Certificate2Collection certificates, string title, string message, System.Security.Cryptography.X509Certificates.X509SelectionFlag selectionFlag) { throw null; } [System.MonoTODOAttribute] [System.Security.Permissions.UIPermissionAttribute(System.Security.Permissions.SecurityAction.Demand, Window=System.Security.Permissions.UIPermissionWindow.SafeTopLevelWindows)] [System.Security.Permissions.SecurityPermissionAttribute(System.Security.Permissions.SecurityAction.LinkDemand, UnmanagedCode=true)] public static System.Security.Cryptography.X509Certificates.X509Certificate2Collection SelectFromCollection(System.Security.Cryptography.X509Certificates.X509Certificate2Collection certificates, string title, string message, System.Security.Cryptography.X509Certificates.X509SelectionFlag selectionFlag, System.IntPtr hwndParent) { throw null; } } public enum X509SelectionFlag { MultiSelection = 1, SingleSelection = 0, } } namespace System.Security.Cryptography.Xml { public sealed partial class CipherData { public CipherData() { } public CipherData(byte[] cipherValue) { } public CipherData(System.Security.Cryptography.Xml.CipherReference cipherReference) { } public System.Security.Cryptography.Xml.CipherReference CipherReference { get { throw null; } set { } } public byte[] CipherValue { get { throw null; } set { } } public System.Xml.XmlElement GetXml() { throw null; } public void LoadXml(System.Xml.XmlElement value) { } } public sealed partial class CipherReference : System.Security.Cryptography.Xml.EncryptedReference { public CipherReference() { } public CipherReference(string uri) { } public CipherReference(string uri, System.Security.Cryptography.Xml.TransformChain transformChain) { } public override System.Xml.XmlElement GetXml() { throw null; } public override void LoadXml(System.Xml.XmlElement value) { } } [System.SerializableAttribute] public partial class CryptoSignedXmlRecursionException : System.Xml.XmlException { public CryptoSignedXmlRecursionException() { } protected CryptoSignedXmlRecursionException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } public CryptoSignedXmlRecursionException(string message) { } public CryptoSignedXmlRecursionException(string message, System.Exception inner) { } } public partial class DataObject { public DataObject() { } public DataObject(string id, string mimeType, string encoding, System.Xml.XmlElement data) { } public System.Xml.XmlNodeList Data { get { throw null; } set { } } public string Encoding { get { throw null; } set { } } public string Id { get { throw null; } set { } } public string MimeType { get { throw null; } set { } } public System.Xml.XmlElement GetXml() { throw null; } public void LoadXml(System.Xml.XmlElement value) { } } public sealed partial class DataReference : System.Security.Cryptography.Xml.EncryptedReference { public DataReference() { } public DataReference(string uri) { } public DataReference(string uri, System.Security.Cryptography.Xml.TransformChain transformChain) { } } public partial class DSAKeyValue : System.Security.Cryptography.Xml.KeyInfoClause { public DSAKeyValue() { } public DSAKeyValue(System.Security.Cryptography.DSA key) { } public System.Security.Cryptography.DSA Key { get { throw null; } set { } } public override System.Xml.XmlElement GetXml() { throw null; } public override void LoadXml(System.Xml.XmlElement value) { } } public sealed partial class EncryptedData : System.Security.Cryptography.Xml.EncryptedType { public EncryptedData() { } public override System.Xml.XmlElement GetXml() { throw null; } public override void LoadXml(System.Xml.XmlElement value) { } } public sealed partial class EncryptedKey : System.Security.Cryptography.Xml.EncryptedType { public EncryptedKey() { } public string CarriedKeyName { get { throw null; } set { } } public string Recipient { get { throw null; } set { } } public System.Security.Cryptography.Xml.ReferenceList ReferenceList { get { throw null; } } public void AddReference(System.Security.Cryptography.Xml.DataReference dataReference) { } public void AddReference(System.Security.Cryptography.Xml.KeyReference keyReference) { } public override System.Xml.XmlElement GetXml() { throw null; } public override void LoadXml(System.Xml.XmlElement value) { } } public abstract partial class EncryptedReference { protected EncryptedReference() { } protected EncryptedReference(string uri) { } protected EncryptedReference(string uri, System.Security.Cryptography.Xml.TransformChain transformChain) { } protected internal bool CacheValid { get { throw null; } } protected string ReferenceType { get { throw null; } set { } } public System.Security.Cryptography.Xml.TransformChain TransformChain { get { throw null; } set { } } public string Uri { get { throw null; } set { } } public void AddTransform(System.Security.Cryptography.Xml.Transform transform) { } public virtual System.Xml.XmlElement GetXml() { throw null; } public virtual void LoadXml(System.Xml.XmlElement value) { } } public abstract partial class EncryptedType { protected EncryptedType() { } public virtual System.Security.Cryptography.Xml.CipherData CipherData { get { throw null; } set { } } public virtual string Encoding { get { throw null; } set { } } public virtual System.Security.Cryptography.Xml.EncryptionMethod EncryptionMethod { get { throw null; } set { } } public virtual System.Security.Cryptography.Xml.EncryptionPropertyCollection EncryptionProperties { get { throw null; } } public virtual string Id { get { throw null; } set { } } public System.Security.Cryptography.Xml.KeyInfo KeyInfo { get { throw null; } set { } } public virtual string MimeType { get { throw null; } set { } } public virtual string Type { get { throw null; } set { } } public void AddProperty(System.Security.Cryptography.Xml.EncryptionProperty ep) { } public abstract System.Xml.XmlElement GetXml(); public abstract void LoadXml(System.Xml.XmlElement value); } public partial class EncryptedXml { public const string XmlEncAES128KeyWrapUrl = "http://www.w3.org/2001/04/xmlenc#kw-aes128"; public const string XmlEncAES128Url = "http://www.w3.org/2001/04/xmlenc#aes128-cbc"; public const string XmlEncAES192KeyWrapUrl = "http://www.w3.org/2001/04/xmlenc#kw-aes192"; public const string XmlEncAES192Url = "http://www.w3.org/2001/04/xmlenc#aes192-cbc"; public const string XmlEncAES256KeyWrapUrl = "http://www.w3.org/2001/04/xmlenc#kw-aes256"; public const string XmlEncAES256Url = "http://www.w3.org/2001/04/xmlenc#aes256-cbc"; public const string XmlEncDESUrl = "http://www.w3.org/2001/04/xmlenc#des-cbc"; public const string XmlEncElementContentUrl = "http://www.w3.org/2001/04/xmlenc#Content"; public const string XmlEncElementUrl = "http://www.w3.org/2001/04/xmlenc#Element"; public const string XmlEncEncryptedKeyUrl = "http://www.w3.org/2001/04/xmlenc#EncryptedKey"; public const string XmlEncNamespaceUrl = "http://www.w3.org/2001/04/xmlenc#"; public const string XmlEncRSA15Url = "http://www.w3.org/2001/04/xmlenc#rsa-1_5"; public const string XmlEncRSAOAEPUrl = "http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"; public const string XmlEncSHA256Url = "http://www.w3.org/2001/04/xmlenc#sha256"; public const string XmlEncSHA512Url = "http://www.w3.org/2001/04/xmlenc#sha512"; public const string XmlEncTripleDESKeyWrapUrl = "http://www.w3.org/2001/04/xmlenc#kw-tripledes"; public const string XmlEncTripleDESUrl = "http://www.w3.org/2001/04/xmlenc#tripledes-cbc"; public EncryptedXml() { } public EncryptedXml(System.Xml.XmlDocument document) { } public EncryptedXml(System.Xml.XmlDocument document, System.Security.Policy.Evidence evidence) { } public System.Security.Policy.Evidence DocumentEvidence { get { throw null; } set { } } public System.Text.Encoding Encoding { get { throw null; } set { } } public System.Security.Cryptography.CipherMode Mode { get { throw null; } set { } } public System.Security.Cryptography.PaddingMode Padding { get { throw null; } set { } } public string Recipient { get { throw null; } set { } } public System.Xml.XmlResolver Resolver { get { throw null; } set { } } public int XmlDSigSearchDepth { get { throw null; } set { } } public void AddKeyNameMapping(string keyName, object keyObject) { } public void ClearKeyNameMappings() { } public byte[] DecryptData(System.Security.Cryptography.Xml.EncryptedData encryptedData, System.Security.Cryptography.SymmetricAlgorithm symmetricAlgorithm) { throw null; } public void DecryptDocument() { } public virtual byte[] DecryptEncryptedKey(System.Security.Cryptography.Xml.EncryptedKey encryptedKey) { throw null; } public static byte[] DecryptKey(byte[] keyData, System.Security.Cryptography.RSA rsa, bool useOAEP) { throw null; } public static byte[] DecryptKey(byte[] keyData, System.Security.Cryptography.SymmetricAlgorithm symmetricAlgorithm) { throw null; } public System.Security.Cryptography.Xml.EncryptedData Encrypt(System.Xml.XmlElement inputElement, System.Security.Cryptography.X509Certificates.X509Certificate2 certificate) { throw null; } public System.Security.Cryptography.Xml.EncryptedData Encrypt(System.Xml.XmlElement inputElement, string keyName) { throw null; } public byte[] EncryptData(byte[] plaintext, System.Security.Cryptography.SymmetricAlgorithm symmetricAlgorithm) { throw null; } public byte[] EncryptData(System.Xml.XmlElement inputElement, System.Security.Cryptography.SymmetricAlgorithm symmetricAlgorithm, bool content) { throw null; } public static byte[] EncryptKey(byte[] keyData, System.Security.Cryptography.RSA rsa, bool useOAEP) { throw null; } public static byte[] EncryptKey(byte[] keyData, System.Security.Cryptography.SymmetricAlgorithm symmetricAlgorithm) { throw null; } public virtual byte[] GetDecryptionIV(System.Security.Cryptography.Xml.EncryptedData encryptedData, string symmetricAlgorithmUri) { throw null; } public virtual System.Security.Cryptography.SymmetricAlgorithm GetDecryptionKey(System.Security.Cryptography.Xml.EncryptedData encryptedData, string symmetricAlgorithmUri) { throw null; } public virtual System.Xml.XmlElement GetIdElement(System.Xml.XmlDocument document, string idValue) { throw null; } public void ReplaceData(System.Xml.XmlElement inputElement, byte[] decryptedData) { } public static void ReplaceElement(System.Xml.XmlElement inputElement, System.Security.Cryptography.Xml.EncryptedData encryptedData, bool content) { } } public partial class EncryptionMethod { public EncryptionMethod() { } public EncryptionMethod(string algorithm) { } public string KeyAlgorithm { get { throw null; } set { } } public int KeySize { get { throw null; } set { } } public System.Xml.XmlElement GetXml() { throw null; } public void LoadXml(System.Xml.XmlElement value) { } } public sealed partial class EncryptionProperty { public EncryptionProperty() { } public EncryptionProperty(System.Xml.XmlElement elementProperty) { } public string Id { get { throw null; } } public System.Xml.XmlElement PropertyElement { get { throw null; } set { } } public string Target { get { throw null; } } public System.Xml.XmlElement GetXml() { throw null; } public void LoadXml(System.Xml.XmlElement value) { } } public sealed partial class EncryptionPropertyCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { public EncryptionPropertyCollection() { } public int Count { get { throw null; } } public bool IsFixedSize { get { throw null; } } public bool IsReadOnly { get { throw null; } } public bool IsSynchronized { get { throw null; } } [System.Runtime.CompilerServices.IndexerName("ItemOf")] public System.Security.Cryptography.Xml.EncryptionProperty this[int index] { get { throw null; } set { } } public object SyncRoot { get { throw null; } } object System.Collections.IList.this[int index] { get { throw null; } set { } } public int Add(System.Security.Cryptography.Xml.EncryptionProperty value) { throw null; } public void Clear() { } public bool Contains(System.Security.Cryptography.Xml.EncryptionProperty value) { throw null; } public void CopyTo(System.Array array, int index) { } public void CopyTo(System.Security.Cryptography.Xml.EncryptionProperty[] array, int index) { } public System.Collections.IEnumerator GetEnumerator() { throw null; } public int IndexOf(System.Security.Cryptography.Xml.EncryptionProperty value) { throw null; } public void Insert(int index, System.Security.Cryptography.Xml.EncryptionProperty value) { } public System.Security.Cryptography.Xml.EncryptionProperty Item(int index) { throw null; } public void Remove(System.Security.Cryptography.Xml.EncryptionProperty value) { } public void RemoveAt(int index) { } int System.Collections.IList.Add(object value) { throw null; } bool System.Collections.IList.Contains(object value) { throw null; } int System.Collections.IList.IndexOf(object value) { throw null; } void System.Collections.IList.Insert(int index, object value) { } void System.Collections.IList.Remove(object value) { } } public partial interface IRelDecryptor { System.IO.Stream Decrypt(System.Security.Cryptography.Xml.EncryptionMethod encryptionMethod, System.Security.Cryptography.Xml.KeyInfo keyInfo, System.IO.Stream toDecrypt); } public partial class KeyInfo : System.Collections.IEnumerable { public KeyInfo() { } public int Count { get { throw null; } } public string Id { get { throw null; } set { } } public void AddClause(System.Security.Cryptography.Xml.KeyInfoClause clause) { } public System.Collections.IEnumerator GetEnumerator() { throw null; } public System.Collections.IEnumerator GetEnumerator(System.Type requestedObjectType) { throw null; } public System.Xml.XmlElement GetXml() { throw null; } public void LoadXml(System.Xml.XmlElement value) { } } public abstract partial class KeyInfoClause { protected KeyInfoClause() { } public abstract System.Xml.XmlElement GetXml(); public abstract void LoadXml(System.Xml.XmlElement element); } public partial class KeyInfoEncryptedKey : System.Security.Cryptography.Xml.KeyInfoClause { public KeyInfoEncryptedKey() { } public KeyInfoEncryptedKey(System.Security.Cryptography.Xml.EncryptedKey encryptedKey) { } public System.Security.Cryptography.Xml.EncryptedKey EncryptedKey { get { throw null; } set { } } public override System.Xml.XmlElement GetXml() { throw null; } public override void LoadXml(System.Xml.XmlElement value) { } } public partial class KeyInfoName : System.Security.Cryptography.Xml.KeyInfoClause { public KeyInfoName() { } public KeyInfoName(string keyName) { } public string Value { get { throw null; } set { } } public override System.Xml.XmlElement GetXml() { throw null; } public override void LoadXml(System.Xml.XmlElement value) { } } public partial class KeyInfoNode : System.Security.Cryptography.Xml.KeyInfoClause { public KeyInfoNode() { } public KeyInfoNode(System.Xml.XmlElement node) { } public System.Xml.XmlElement Value { get { throw null; } set { } } public override System.Xml.XmlElement GetXml() { throw null; } public override void LoadXml(System.Xml.XmlElement value) { } } public partial class KeyInfoRetrievalMethod : System.Security.Cryptography.Xml.KeyInfoClause { public KeyInfoRetrievalMethod() { } public KeyInfoRetrievalMethod(string strUri) { } public KeyInfoRetrievalMethod(string strUri, string typeName) { } public string Type { get { throw null; } set { } } public string Uri { get { throw null; } set { } } public override System.Xml.XmlElement GetXml() { throw null; } public override void LoadXml(System.Xml.XmlElement value) { } } public partial class KeyInfoX509Data : System.Security.Cryptography.Xml.KeyInfoClause { public KeyInfoX509Data() { } public KeyInfoX509Data(byte[] rgbCert) { } public KeyInfoX509Data(System.Security.Cryptography.X509Certificates.X509Certificate cert) { } public KeyInfoX509Data(System.Security.Cryptography.X509Certificates.X509Certificate cert, System.Security.Cryptography.X509Certificates.X509IncludeOption includeOption) { } public System.Collections.ArrayList Certificates { get { throw null; } } public byte[] CRL { get { throw null; } set { } } public System.Collections.ArrayList IssuerSerials { get { throw null; } } public System.Collections.ArrayList SubjectKeyIds { get { throw null; } } public System.Collections.ArrayList SubjectNames { get { throw null; } } public void AddCertificate(System.Security.Cryptography.X509Certificates.X509Certificate certificate) { } public void AddIssuerSerial(string issuerName, string serialNumber) { } public void AddSubjectKeyId(byte[] subjectKeyId) { } public void AddSubjectKeyId(string subjectKeyId) { } public void AddSubjectName(string subjectName) { } public override System.Xml.XmlElement GetXml() { throw null; } public override void LoadXml(System.Xml.XmlElement element) { } } public sealed partial class KeyReference : System.Security.Cryptography.Xml.EncryptedReference { public KeyReference() { } public KeyReference(string uri) { } public KeyReference(string uri, System.Security.Cryptography.Xml.TransformChain transformChain) { } } public partial class Reference { public Reference() { } public Reference(System.IO.Stream stream) { } public Reference(string uri) { } public string DigestMethod { get { throw null; } set { } } public byte[] DigestValue { get { throw null; } set { } } public string Id { get { throw null; } set { } } public System.Security.Cryptography.Xml.TransformChain TransformChain { get { throw null; } set { } } public string Type { get { throw null; } set { } } public string Uri { get { throw null; } set { } } public void AddTransform(System.Security.Cryptography.Xml.Transform transform) { } public System.Xml.XmlElement GetXml() { throw null; } public void LoadXml(System.Xml.XmlElement value) { } } public sealed partial class ReferenceList : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList { public ReferenceList() { } public int Count { get { throw null; } } public bool IsSynchronized { get { throw null; } } [System.Runtime.CompilerServices.IndexerName("ItemOf")] public System.Security.Cryptography.Xml.EncryptedReference this[int index] { get { throw null; } set { } } public object SyncRoot { get { throw null; } } bool System.Collections.IList.IsFixedSize { get { throw null; } } bool System.Collections.IList.IsReadOnly { get { throw null; } } object System.Collections.IList.this[int index] { get { throw null; } set { } } public int Add(object value) { throw null; } public void Clear() { } public bool Contains(object value) { throw null; } public void CopyTo(System.Array array, int index) { } public System.Collections.IEnumerator GetEnumerator() { throw null; } public int IndexOf(object value) { throw null; } public void Insert(int index, object value) { } public System.Security.Cryptography.Xml.EncryptedReference Item(int index) { throw null; } public void Remove(object value) { } public void RemoveAt(int index) { } } public partial class RSAKeyValue : System.Security.Cryptography.Xml.KeyInfoClause { public RSAKeyValue() { } public RSAKeyValue(System.Security.Cryptography.RSA key) { } public System.Security.Cryptography.RSA Key { get { throw null; } set { } } public override System.Xml.XmlElement GetXml() { throw null; } public override void LoadXml(System.Xml.XmlElement value) { } } public partial class Signature { public Signature() { } public string Id { get { throw null; } set { } } public System.Security.Cryptography.Xml.KeyInfo KeyInfo { get { throw null; } set { } } public System.Collections.IList ObjectList { get { throw null; } set { } } public byte[] SignatureValue { get { throw null; } set { } } public System.Security.Cryptography.Xml.SignedInfo SignedInfo { get { throw null; } set { } } public void AddObject(System.Security.Cryptography.Xml.DataObject dataObject) { } public System.Xml.XmlElement GetXml() { throw null; } public void LoadXml(System.Xml.XmlElement value) { } } public partial class SignedInfo : System.Collections.ICollection, System.Collections.IEnumerable { public SignedInfo() { } public string CanonicalizationMethod { get { throw null; } set { } } public System.Security.Cryptography.Xml.Transform CanonicalizationMethodObject { get { throw null; } } public int Count { get { throw null; } } public string Id { get { throw null; } set { } } public bool IsReadOnly { get { throw null; } } public bool IsSynchronized { get { throw null; } } public System.Collections.ArrayList References { get { throw null; } } public string SignatureLength { get { throw null; } set { } } public string SignatureMethod { get { throw null; } set { } } public object SyncRoot { get { throw null; } } public void AddReference(System.Security.Cryptography.Xml.Reference reference) { } public void CopyTo(System.Array array, int index) { } public System.Collections.IEnumerator GetEnumerator() { throw null; } public System.Xml.XmlElement GetXml() { throw null; } public void LoadXml(System.Xml.XmlElement value) { } } public partial class SignedXml { protected System.Security.Cryptography.Xml.Signature m_signature; protected string m_strSigningKeyName; public const string XmlDecryptionTransformUrl = "http://www.w3.org/2002/07/decrypt#XML"; public const string XmlDsigBase64TransformUrl = "http://www.w3.org/2000/09/xmldsig#base64"; public const string XmlDsigC14NTransformUrl = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"; public const string XmlDsigC14NWithCommentsTransformUrl = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"; public const string XmlDsigCanonicalizationUrl = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315"; public const string XmlDsigCanonicalizationWithCommentsUrl = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"; public const string XmlDsigDSAUrl = "http://www.w3.org/2000/09/xmldsig#dsa-sha1"; public const string XmlDsigEnvelopedSignatureTransformUrl = "http://www.w3.org/2000/09/xmldsig#enveloped-signature"; public const string XmlDsigExcC14NTransformUrl = "http://www.w3.org/2001/10/xml-exc-c14n#"; public const string XmlDsigExcC14NWithCommentsTransformUrl = "http://www.w3.org/2001/10/xml-exc-c14n#WithComments"; public const string XmlDsigHMACSHA1Url = "http://www.w3.org/2000/09/xmldsig#hmac-sha1"; public const string XmlDsigMinimalCanonicalizationUrl = "http://www.w3.org/2000/09/xmldsig#minimal"; public const string XmlDsigNamespaceUrl = "http://www.w3.org/2000/09/xmldsig#"; public const string XmlDsigRSASHA1Url = "http://www.w3.org/2000/09/xmldsig#rsa-sha1"; public const string XmlDsigRSASHA256Url = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"; public const string XmlDsigRSASHA384Url = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha384"; public const string XmlDsigRSASHA512Url = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"; public const string XmlDsigSHA1Url = "http://www.w3.org/2000/09/xmldsig#sha1"; public const string XmlDsigSHA256Url = "http://www.w3.org/2001/04/xmlenc#sha256"; public const string XmlDsigSHA384Url = "http://www.w3.org/2001/04/xmldsig-more#sha384"; public const string XmlDsigSHA512Url = "http://www.w3.org/2001/04/xmlenc#sha512"; public const string XmlDsigXPathTransformUrl = "http://www.w3.org/TR/1999/REC-xpath-19991116"; public const string XmlDsigXsltTransformUrl = "http://www.w3.org/TR/1999/REC-xslt-19991116"; public const string XmlLicenseTransformUrl = "urn:mpeg:mpeg21:2003:01-REL-R-NS:licenseTransform"; public SignedXml() { } public SignedXml(System.Xml.XmlDocument document) { } public SignedXml(System.Xml.XmlElement elem) { } public System.Security.Cryptography.Xml.EncryptedXml EncryptedXml { get { throw null; } set { } } public System.Security.Cryptography.Xml.KeyInfo KeyInfo { get { throw null; } set { } } public System.Xml.XmlResolver Resolver { set { } } public System.Collections.ObjectModel.Collection SafeCanonicalizationMethods { get { throw null; } } public System.Security.Cryptography.Xml.Signature Signature { get { throw null; } } public System.Func SignatureFormatValidator { get { throw null; } set { } } public string SignatureLength { get { throw null; } } public string SignatureMethod { get { throw null; } } public byte[] SignatureValue { get { throw null; } } public System.Security.Cryptography.Xml.SignedInfo SignedInfo { get { throw null; } } public System.Security.Cryptography.AsymmetricAlgorithm SigningKey { get { throw null; } set { } } public string SigningKeyName { get { throw null; } set { } } public void AddObject(System.Security.Cryptography.Xml.DataObject dataObject) { } public void AddReference(System.Security.Cryptography.Xml.Reference reference) { } public bool CheckSignature() { throw null; } public bool CheckSignature(System.Security.Cryptography.AsymmetricAlgorithm key) { throw null; } public bool CheckSignature(System.Security.Cryptography.KeyedHashAlgorithm macAlg) { throw null; } public bool CheckSignature(System.Security.Cryptography.X509Certificates.X509Certificate2 certificate, bool verifySignatureOnly) { throw null; } public bool CheckSignatureReturningKey(out System.Security.Cryptography.AsymmetricAlgorithm signingKey) { throw null; } public void ComputeSignature() { } public void ComputeSignature(System.Security.Cryptography.KeyedHashAlgorithm macAlg) { } public virtual System.Xml.XmlElement GetIdElement(System.Xml.XmlDocument document, string idValue) { throw null; } protected virtual System.Security.Cryptography.AsymmetricAlgorithm GetPublicKey() { throw null; } public System.Xml.XmlElement GetXml() { throw null; } public void LoadXml(System.Xml.XmlElement value) { } } public abstract partial class Transform { protected Transform() { } public string Algorithm { get { throw null; } set { } } public System.Xml.XmlElement Context { get { throw null; } set { } } public abstract System.Type[] InputTypes { get; } public abstract System.Type[] OutputTypes { get; } public System.Collections.Hashtable PropagatedNamespaces { get { throw null; } } public System.Xml.XmlResolver Resolver { set { } } public virtual byte[] GetDigestedOutput(System.Security.Cryptography.HashAlgorithm hash) { throw null; } protected abstract System.Xml.XmlNodeList GetInnerXml(); public abstract object GetOutput(); public abstract object GetOutput(System.Type type); public System.Xml.XmlElement GetXml() { throw null; } public abstract void LoadInnerXml(System.Xml.XmlNodeList nodeList); public abstract void LoadInput(object obj); } public partial class TransformChain { public TransformChain() { } public int Count { get { throw null; } } public System.Security.Cryptography.Xml.Transform this[int index] { get { throw null; } } public void Add(System.Security.Cryptography.Xml.Transform transform) { } public System.Collections.IEnumerator GetEnumerator() { throw null; } } [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 { } } } public partial class XmlDecryptionTransform : System.Security.Cryptography.Xml.Transform { public XmlDecryptionTransform() { } public System.Security.Cryptography.Xml.EncryptedXml EncryptedXml { get { throw null; } set { } } public override System.Type[] InputTypes { get { throw null; } } public override System.Type[] OutputTypes { get { throw null; } } public void AddExceptUri(string uri) { } protected override System.Xml.XmlNodeList GetInnerXml() { throw null; } public override object GetOutput() { throw null; } public override object GetOutput(System.Type type) { throw null; } protected virtual bool IsTargetElement(System.Xml.XmlElement inputElement, string idValue) { throw null; } public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } public override void LoadInput(object obj) { } } public partial class XmlDsigBase64Transform : System.Security.Cryptography.Xml.Transform { public XmlDsigBase64Transform() { } public override System.Type[] InputTypes { get { throw null; } } public override System.Type[] OutputTypes { get { throw null; } } protected override System.Xml.XmlNodeList GetInnerXml() { throw null; } public override object GetOutput() { throw null; } public override object GetOutput(System.Type type) { throw null; } public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } public override void LoadInput(object obj) { } } public partial class XmlDsigC14NTransform : System.Security.Cryptography.Xml.Transform { public XmlDsigC14NTransform() { } public XmlDsigC14NTransform(bool includeComments) { } public override System.Type[] InputTypes { get { throw null; } } public override System.Type[] OutputTypes { get { throw null; } } public override byte[] GetDigestedOutput(System.Security.Cryptography.HashAlgorithm hash) { throw null; } protected override System.Xml.XmlNodeList GetInnerXml() { throw null; } public override object GetOutput() { throw null; } public override object GetOutput(System.Type type) { throw null; } public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } public override void LoadInput(object obj) { } } public partial class XmlDsigC14NWithCommentsTransform : System.Security.Cryptography.Xml.XmlDsigC14NTransform { public XmlDsigC14NWithCommentsTransform() { } } public partial class XmlDsigEnvelopedSignatureTransform : System.Security.Cryptography.Xml.Transform { public XmlDsigEnvelopedSignatureTransform() { } public XmlDsigEnvelopedSignatureTransform(bool includeComments) { } public override System.Type[] InputTypes { get { throw null; } } public override System.Type[] OutputTypes { get { throw null; } } protected override System.Xml.XmlNodeList GetInnerXml() { throw null; } public override object GetOutput() { throw null; } public override object GetOutput(System.Type type) { throw null; } public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } public override void LoadInput(object obj) { } } public partial class XmlDsigExcC14NTransform : System.Security.Cryptography.Xml.Transform { public XmlDsigExcC14NTransform() { } public XmlDsigExcC14NTransform(bool includeComments) { } public XmlDsigExcC14NTransform(bool includeComments, string inclusiveNamespacesPrefixList) { } public XmlDsigExcC14NTransform(string inclusiveNamespacesPrefixList) { } public string InclusiveNamespacesPrefixList { get { throw null; } set { } } public override System.Type[] InputTypes { get { throw null; } } public override System.Type[] OutputTypes { get { throw null; } } public override byte[] GetDigestedOutput(System.Security.Cryptography.HashAlgorithm hash) { throw null; } protected override System.Xml.XmlNodeList GetInnerXml() { throw null; } public override object GetOutput() { throw null; } public override object GetOutput(System.Type type) { throw null; } public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } public override void LoadInput(object obj) { } } public partial class XmlDsigExcC14NWithCommentsTransform : System.Security.Cryptography.Xml.XmlDsigExcC14NTransform { public XmlDsigExcC14NWithCommentsTransform() { } public XmlDsigExcC14NWithCommentsTransform(string inclusiveNamespacesPrefixList) { } } public partial class XmlDsigXPathTransform : System.Security.Cryptography.Xml.Transform { public XmlDsigXPathTransform() { } public override System.Type[] InputTypes { get { throw null; } } public override System.Type[] OutputTypes { get { throw null; } } protected override System.Xml.XmlNodeList GetInnerXml() { throw null; } public override object GetOutput() { throw null; } public override object GetOutput(System.Type type) { throw null; } public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } public override void LoadInput(object obj) { } } public partial class XmlDsigXsltTransform : System.Security.Cryptography.Xml.Transform { public XmlDsigXsltTransform() { } public XmlDsigXsltTransform(bool includeComments) { } public override System.Type[] InputTypes { get { throw null; } } public override System.Type[] OutputTypes { get { throw null; } } protected override System.Xml.XmlNodeList GetInnerXml() { throw null; } public override object GetOutput() { throw null; } public override object GetOutput(System.Type type) { throw null; } public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } public override void LoadInput(object obj) { } } public partial class XmlLicenseTransform : System.Security.Cryptography.Xml.Transform { public XmlLicenseTransform() { } public System.Security.Cryptography.Xml.IRelDecryptor Decryptor { get { throw null; } set { } } public override System.Type[] InputTypes { get { throw null; } } public override System.Type[] OutputTypes { get { throw null; } } protected override System.Xml.XmlNodeList GetInnerXml() { throw null; } public override object GetOutput() { throw null; } public override object GetOutput(System.Type type) { throw null; } public override void LoadInnerXml(System.Xml.XmlNodeList nodeList) { } public override void LoadInput(object obj) { } } } namespace System.Security.Permissions { [System.SerializableAttribute] public sealed partial class DataProtectionPermission : System.Security.CodeAccessPermission, System.Security.Permissions.IUnrestrictedPermission { public DataProtectionPermission(System.Security.Permissions.DataProtectionPermissionFlags flag) { } public DataProtectionPermission(System.Security.Permissions.PermissionState state) { } public System.Security.Permissions.DataProtectionPermissionFlags Flags { get { throw null; } set { } } public override System.Security.IPermission Copy() { throw null; } public override void FromXml(System.Security.SecurityElement securityElement) { } public override System.Security.IPermission Intersect(System.Security.IPermission target) { throw null; } public override bool IsSubsetOf(System.Security.IPermission target) { throw null; } public bool IsUnrestricted() { throw null; } public override System.Security.SecurityElement ToXml() { throw null; } public override System.Security.IPermission Union(System.Security.IPermission target) { throw null; } } [System.AttributeUsageAttribute(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Method | System.AttributeTargets.Struct, AllowMultiple=true, Inherited=false)] [System.SerializableAttribute] public sealed partial class DataProtectionPermissionAttribute : System.Security.Permissions.CodeAccessSecurityAttribute { public DataProtectionPermissionAttribute(System.Security.Permissions.SecurityAction action) : base (default(System.Security.Permissions.SecurityAction)) { } public System.Security.Permissions.DataProtectionPermissionFlags Flags { get { throw null; } set { } } public bool ProtectData { get { throw null; } set { } } public bool ProtectMemory { get { throw null; } set { } } public bool UnprotectData { get { throw null; } set { } } public bool UnprotectMemory { get { throw null; } set { } } public override System.Security.IPermission CreatePermission() { throw null; } } [System.FlagsAttribute] [System.SerializableAttribute] public enum DataProtectionPermissionFlags { AllFlags = 15, NoFlags = 0, ProtectData = 1, ProtectMemory = 4, UnprotectData = 2, UnprotectMemory = 8, } }