System.Security 命名空間

包含受保護的成員
包含繼承的成員

包含 .NET Framework 成員
包含 XNA Framework 成員
包含 可攜式類別庫 成員

System.Security 命名空間包含表示 .NET Framework 安全性系統和使用權限的類別。子命名空間提供的類型,可控制安全物件的存取和稽核安全物件、允許驗證、提供密碼編譯服務、根據原則控制作業和資源的存取,以及支援應用程式建立之內容的版權管理。

命名空間

命名空間 描述
System.Security System.Security 命名空間提供 Common Language Runtime 安全性系統的基礎結構,包含使用權限的基底類別 (Base class)。
System.Security.AccessControl System.Security.AccessControl 命名空間 (Namespace) 提供可控制存取和稽核安全物件之安全性相關動作的程式設計項目。
System.Security.Authentication Authentication 命名空間提供一組描述連線安全性的列舉。這些列舉包括 CipherAlgorithmTypeExchangeAlgorithmTypeHashAlgorithmType 和 SslProtocolType。
System.Security.Authentication.ExtendedProtection System.Security.Authentication.ExtendedProtection 命名空間提供使用應用程式的延伸保護進行驗證的支援。
System.Security.Authentication.ExtendedProtection.Configuration System.Security.Authentication.ExtendedProtection.Configuration 命名空間提供使用應用程式的延伸保護進行驗證設定的支援。
System.Security.Claims 包含以 .NET Framework 所實作之宣告式識別的類別,包括表示宣告、宣告式識別和宣告式識別主體。
System.Security.Cryptography System.Security.Cryptography 命名空間提供密碼編譯的服務,包含資料的安全編碼和解碼,以及其他許多的作業,例如,雜湊、隨機數值的產生和訊息驗證 (Authentication)。如需詳細資訊,請參閱Cryptographic Services
System.Security.Cryptography.Pkcs System.Security.Cryptography.Pkcs 命名空間提供公開金鑰加密標準 (PKCS) 的程式設計項目,包括簽署資料的方法、交換金鑰、要求憑證、公開金鑰加密和解密,以及其他安全性功能。
System.Security.Cryptography.X509Certificates System.Security.Cryptography.X509Certificates 命名空間包含 Authenticode X.509 v.3 憑證的 Common Language Runtime 實作。這個憑證使用唯一並且明確識別憑證持有人的私密金鑰來簽名。
System.Security.Cryptography.Xml System.Security.Cryptography.Xml 命名空間包含支援建立及驗證 XML 數位簽章的類別。命名空間中的類別實作全球資訊網協會建議事項「XML 簽章語法及處理」(XML-Signature Syntax and Processing),如 http://www.w3.org/TR/xmldsig-core/ 中所述。
System.Security.Permissions System.Security.Permissions 命名空間 (Namespace),會定義根據原則控制作業和資源存取的類別。
System.Security.Policy System.Security.Policy 命名空間 (Namespace) 包含程式碼群組、成員資格條件和辨識項。這三種類別的型別用於建立由 Common Language Runtime 安全性原則系統套用的規則。辨識項類別是安全性原則的輸入,而成員資格條件是參數;綜合這些要素,便可建立原則陳述式 (Statement) 並決定授與的使用權限集合。原則層級和程式碼群組是原則階層架構的結構。程式碼群組是規則的封裝 (Encapsulation),並在原則層級中以階層架構排列。
System.Security.Principal System.Security.Principal 命名空間 (Namespace) 定義主體物件,表示程式碼正在執行的安全性內容。如需詳細資訊,請參閱Role-Based Security
System.Security.RightsManagement 提供型別,支援應用程式建立之內容的版權管理,例如儲存在 PackageXpsDocument 中的內容。