다음을 통해 공유


DSA 클래스

모든 디지털 서명 알고리즘(DSA)의 구현이 상속되어야 하는 기본 추상 클래스를 나타냅니다.

네임스페이스: System.Security.Cryptography
어셈블리: mscorlib(mscorlib.dll)

구문

‘선언
<ComVisibleAttribute(True)> _
Public MustInherit Class DSA
    Inherits AsymmetricAlgorithm
‘사용 방법
Dim instance As DSA
[ComVisibleAttribute(true)] 
public abstract class DSA : AsymmetricAlgorithm
[ComVisibleAttribute(true)] 
public ref class DSA abstract : public AsymmetricAlgorithm
/** @attribute ComVisibleAttribute(true) */ 
public abstract class DSA extends AsymmetricAlgorithm
ComVisibleAttribute(true) 
public abstract class DSA extends AsymmetricAlgorithm

설명

DSA 클래스와 파생 클래스를 사용하여 데이터 무결성 보호에 필요한 디지털 서명을 만들 수 있습니다. DSACryptoServiceProvider는 이 클래스의 구현을 제공합니다.

공개 키 시스템을 사용하여 메시지를 디지털 서명하려는 경우 송신자는 먼저 메시지에 해시 함수를 적용하여 메시지 다이제스트를 만듭니다. 그런 다음 송신자의 개인 키로 메시지 다이제스트를 암호화하여 송신자의 개인 서명을 만듭니다. 수신자는 메시지와 서명을 받으면 송신자의 공개 키로 서명을 해독하여 메시지 다이제스트를 복구하고 송신자가 사용한 것과 동일한 해시 알고리즘을 사용하여 메시지를 해시합니다. 수신자가 계산한 메시지 다이제스트가 송신자로부터 받은 메시지 다이제스트와 정확히 일치하면 수신자는 메시지가 전송되는 동안 변경되지 않았다고 가정할 수 있습니다. 송신자의 공개 키는 누구나 알 수 있으므로 누구든지 서명을 확인할 수 있습니다.

이 알고리즘에서는 한 번에 64비트씩 증가하는 512비트에서 1024비트까지의 키 길이를 지원합니다.

상속 계층 구조

System.Object
   System.Security.Cryptography.AsymmetricAlgorithm
    System.Security.Cryptography.DSA
       System.Security.Cryptography.DSACryptoServiceProvider

스레드로부터의 안전성

이 형식의 모든 public static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

플랫폼

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework에서 모든 플래폼의 모든 버전을 지원하지는 않습니다. 지원되는 버전의 목록은 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Framework

2.0, 1.1, 1.0에서 지원

.NET Compact Framework

2.0에서 지원

참고 항목

참조

DSA 멤버
System.Security.Cryptography 네임스페이스

기타 리소스

암호화 서비스