Share via


Reference.DigestMethod 속성

정의

현재 Reference의 다이제스트 메서드 URI(Uniform Resource Identifier)를 가져오거나 설정합니다.

public:
 property System::String ^ DigestMethod { System::String ^ get(); void set(System::String ^ value); };
public string DigestMethod { get; set; }
member this.DigestMethod : string with get, set
Public Property DigestMethod As String

속성 값

현재 Reference의 다이제스트 메서드 URI입니다. 기본값은 http://www.w3.org/2001/04/xmlenc#sha256입니다.

설명

속성은 DigestMethod URI 문자열을 사용하여 XML 디지털 서명의 요소를 나타냅니다 <DigestMethod> .

다이제스트 메서드는 를 해시하는 데 사용되는 알고리즘입니다 Reference. 기본 알고리즘은 입니다 SHA256.

SHA1과의 충돌 문제 때문에, Microsoft에서는 SHA256 이상을 기반으로 하는 보안 모델을 권장합니다. XML 디지털 서명에 대한 자세한 내용은 W3C 사양을 참조하세요.

적용 대상