DataProtectionSecurityStateEncoder 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
Windows DataProtection API 기능을 사용하여 보안 상태에 대한 인코딩 및 디코딩 메커니즘을 제공합니다.
public ref class DataProtectionSecurityStateEncoder : System::ServiceModel::Security::SecurityStateEncoder
public class DataProtectionSecurityStateEncoder : System.ServiceModel.Security.SecurityStateEncoder
type DataProtectionSecurityStateEncoder = class
inherit SecurityStateEncoder
Public Class DataProtectionSecurityStateEncoder
Inherits SecurityStateEncoder
- 상속
설명
이 클래스는 메시지가 전송될 때 상태 저장 보안 컨텍스트 토큰 으로 표시되는 보안 상태를 인코딩하고 메시지가 받는 사람에게 도착할 때 보안 컨텍스트를 디코딩하는 데 사용됩니다.
인코딩은 현재 사용자 범위(사용자 계정으로 실행되는 프로세스만 보안 상태를 디코딩할 수 있는 경우)에 있거나 로컬 컴퓨터 범위에 있을 수 있습니다(머신에서 실행되는 모든 프로세스는 보안 상태를 디코딩할 수 있습니다). 기본적으로 인코딩은 현재 사용자 범위에 있습니다.
이 클래스는 클라이언트에 발급된 상태 저장 보안 컨텍스트 토큰의 보안 상태를 보낼 때 서버에서 사용됩니다.
DataProtection 범위에 따라 CurrentUser 현재 사용자에게 사용자 프로필이 있어야 합니다. 사용자에게 로밍 프로필이 있는 경우 한 컴퓨터에서 실행되는 사용자 프로세스에 의해 인코딩된 보안 상태는 다른 컴퓨터에서 실행되는 사용자 프로세스에 의해 디코딩될 수 있습니다.
생성자
| Name | Description |
|---|---|
| DataProtectionSecurityStateEncoder() |
이 클래스의 새 인스턴스를 초기화합니다. |
| DataProtectionSecurityStateEncoder(Boolean, Byte[]) |
이 클래스의 새 인스턴스를 초기화합니다. |
| DataProtectionSecurityStateEncoder(Boolean) |
이 클래스의 새 인스턴스를 초기화합니다. |
속성
| Name | Description |
|---|---|
| UseCurrentUserProtectionScope |
현재 사용자 보호 범위를 사용할지 여부를 나타내는 값을 가져옵니다. |
메서드
| Name | Description |
|---|---|
| DecodeSecurityState(Byte[]) |
보안 상태를 디코딩합니다. |
| EncodeSecurityState(Byte[]) |
보안 상태를 인코딩합니다. |
| Equals(Object) |
지정된 개체가 현재 개체와 같은지 여부를 확인합니다. (다음에서 상속됨 Object) |
| GetEntropy() |
이 인코더의 임의성을 나타냅니다. |
| GetHashCode() |
기본 해시 함수로 사용됩니다. (다음에서 상속됨 Object) |
| GetType() |
현재 인스턴스의 Type 가져옵니다. (다음에서 상속됨 Object) |
| MemberwiseClone() |
현재 Object단순 복사본을 만듭니다. (다음에서 상속됨 Object) |
| ToString() |
현재 DataProtectionSecurityStateEncoder 인스턴스를 나타내는 문자열을 반환합니다. |