C# 클래스 System.Security.Cryptography.DSA

상속: AsymmetricAlgorithm
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

공개 메소드들

메소드 설명
Create ( ) : DSA
Create ( string algName ) : DSA
CreateSignature ( byte rgbHash ) : byte[]
ExportParameters ( bool includePrivateParameters ) : DSAParameters
FromXmlString ( string xmlString ) : void
ImportParameters ( DSAParameters parameters ) : void
SignData ( Stream data, HashAlgorithmName hashAlgorithm ) : byte[]
SignData ( byte data, HashAlgorithmName hashAlgorithm ) : byte[]
SignData ( byte data, int offset, int count, HashAlgorithmName hashAlgorithm ) : byte[]
ToXmlString ( bool includePrivateParameters ) : String
VerifyData ( Stream data, byte signature, HashAlgorithmName hashAlgorithm ) : bool
VerifyData ( byte data, byte signature, HashAlgorithmName hashAlgorithm ) : bool
VerifyData ( byte data, int offset, int count, byte signature, HashAlgorithmName hashAlgorithm ) : bool
VerifySignature ( byte rgbHash, byte rgbSignature ) : bool

보호된 메소드들

메소드 설명
DSA ( ) : System.IO
HashData ( Stream data, HashAlgorithmName hashAlgorithm ) : byte[]
HashData ( byte data, int offset, int count, HashAlgorithmName hashAlgorithm ) : byte[]

비공개 메소드들

메소드 설명
DerivedClassMustOverride ( ) : Exception
HashAlgorithmNameNullOrEmpty ( ) : Exception

메소드 상세

Create() 공개 정적인 메소드

public static Create ( ) : DSA
리턴 DSA

Create() 공개 정적인 메소드

public static Create ( string algName ) : DSA
algName string
리턴 DSA

CreateSignature() 추상적인 공개 메소드

abstract public CreateSignature ( byte rgbHash ) : byte[]
rgbHash byte
리턴 byte[]

DSA() 보호된 메소드

protected DSA ( ) : System.IO
리턴 System.IO

ExportParameters() 공개 추상적인 메소드

public abstract ExportParameters ( bool includePrivateParameters ) : DSAParameters
includePrivateParameters bool
리턴 DSAParameters

FromXmlString() 공개 메소드

public FromXmlString ( string xmlString ) : void
xmlString string
리턴 void

HashData() 보호된 메소드

protected HashData ( Stream data, HashAlgorithmName hashAlgorithm ) : byte[]
data System.IO.Stream
hashAlgorithm HashAlgorithmName
리턴 byte[]

HashData() 보호된 메소드

protected HashData ( byte data, int offset, int count, HashAlgorithmName hashAlgorithm ) : byte[]
data byte
offset int
count int
hashAlgorithm HashAlgorithmName
리턴 byte[]

ImportParameters() 공개 추상적인 메소드

public abstract ImportParameters ( DSAParameters parameters ) : void
parameters DSAParameters
리턴 void

SignData() 공개 메소드

public SignData ( Stream data, HashAlgorithmName hashAlgorithm ) : byte[]
data System.IO.Stream
hashAlgorithm HashAlgorithmName
리턴 byte[]

SignData() 공개 메소드

public SignData ( byte data, HashAlgorithmName hashAlgorithm ) : byte[]
data byte
hashAlgorithm HashAlgorithmName
리턴 byte[]

SignData() 공개 메소드

public SignData ( byte data, int offset, int count, HashAlgorithmName hashAlgorithm ) : byte[]
data byte
offset int
count int
hashAlgorithm HashAlgorithmName
리턴 byte[]

ToXmlString() 공개 메소드

public ToXmlString ( bool includePrivateParameters ) : String
includePrivateParameters bool
리턴 String

VerifyData() 공개 메소드

public VerifyData ( Stream data, byte signature, HashAlgorithmName hashAlgorithm ) : bool
data System.IO.Stream
signature byte
hashAlgorithm HashAlgorithmName
리턴 bool

VerifyData() 공개 메소드

public VerifyData ( byte data, byte signature, HashAlgorithmName hashAlgorithm ) : bool
data byte
signature byte
hashAlgorithm HashAlgorithmName
리턴 bool

VerifyData() 공개 메소드

public VerifyData ( byte data, int offset, int count, byte signature, HashAlgorithmName hashAlgorithm ) : bool
data byte
offset int
count int
signature byte
hashAlgorithm HashAlgorithmName
리턴 bool

VerifySignature() 추상적인 공개 메소드

abstract public VerifySignature ( byte rgbHash, byte rgbSignature ) : bool
rgbHash byte
rgbSignature byte
리턴 bool