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

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

공개 메소드들

메소드 설명
Create ( ) : ECDsa

Creates an instance of the platform specific implementation of the cref="ECDsa" algorithm.

Create ( System.Security.Cryptography.ECCurve curve ) : ECDsa

Creates an instance of the platform specific implementation of the cref="ECDsa" algorithm.

Create ( System.Security.Cryptography.ECParameters parameters ) : ECDsa

Creates an instance of the platform specific implementation of the cref="ECDsa" algorithm.

Create ( string algorithm ) : ECDsa
ExportExplicitParameters ( bool includePrivateParameters ) : System.Security.Cryptography.ECParameters

When overridden in a derived class, exports the explicit ECParameters for an ECCurve.

ExportParameters ( bool includePrivateParameters ) : System.Security.Cryptography.ECParameters

When overridden in a derived class, exports the named or explicit ECParameters for an ECCurve. If the curve has a name, the Curve property will contain named curve parameters otherwise it will contain explicit parameters.

FromXmlString ( string xmlString ) : void
GenerateKey ( System.Security.Cryptography.ECCurve curve ) : void

When overridden in a derived class, generates a new public/private keypair for the specified curve.

ImportParameters ( System.Security.Cryptography.ECParameters parameters ) : void

When overridden in a derived class, imports the specified ECParameters.

SignData ( System.Stream data, HashAlgorithmName hashAlgorithm ) : byte[]
SignData ( byte data, HashAlgorithmName hashAlgorithm ) : byte[]
SignData ( byte data, int offset, int count, HashAlgorithmName hashAlgorithm ) : byte[]
SignHash ( byte hash ) : byte[]
ToXmlString ( bool includePrivateParameters ) : string
VerifyData ( System.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
VerifyHash ( byte hash, byte signature ) : bool

보호된 메소드들

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

메소드 상세

Create() 공개 정적인 메소드

Creates an instance of the platform specific implementation of the cref="ECDsa" algorithm.
public static Create ( ) : ECDsa
리턴 ECDsa

Create() 공개 정적인 메소드

Creates an instance of the platform specific implementation of the cref="ECDsa" algorithm.
public static Create ( System.Security.Cryptography.ECCurve curve ) : ECDsa
curve System.Security.Cryptography.ECCurve /// The representing the elliptic curve. ///
리턴 ECDsa

Create() 공개 정적인 메소드

Creates an instance of the platform specific implementation of the cref="ECDsa" algorithm.
public static Create ( System.Security.Cryptography.ECParameters parameters ) : ECDsa
parameters System.Security.Cryptography.ECParameters /// The representing the elliptic curve parameters. ///
리턴 ECDsa

Create() 공개 정적인 메소드

public static Create ( string algorithm ) : ECDsa
algorithm string
리턴 ECDsa

ECDsa() 보호된 메소드

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

ExportExplicitParameters() 공개 메소드

When overridden in a derived class, exports the explicit ECParameters for an ECCurve.
public ExportExplicitParameters ( bool includePrivateParameters ) : System.Security.Cryptography.ECParameters
includePrivateParameters bool true to include private parameters, otherwise, false.
리턴 System.Security.Cryptography.ECParameters

ExportParameters() 공개 메소드

When overridden in a derived class, exports the named or explicit ECParameters for an ECCurve. If the curve has a name, the Curve property will contain named curve parameters otherwise it will contain explicit parameters.
public ExportParameters ( bool includePrivateParameters ) : System.Security.Cryptography.ECParameters
includePrivateParameters bool true to include private parameters, otherwise, false.
리턴 System.Security.Cryptography.ECParameters

FromXmlString() 공개 메소드

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

GenerateKey() 공개 메소드

When overridden in a derived class, generates a new public/private keypair for the specified curve.
public GenerateKey ( System.Security.Cryptography.ECCurve curve ) : void
curve System.Security.Cryptography.ECCurve The curve to use.
리턴 void

HashData() 보호된 메소드

protected HashData ( System.Stream data, HashAlgorithmName hashAlgorithm ) : byte[]
data System.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() 공개 메소드

When overridden in a derived class, imports the specified ECParameters.
public ImportParameters ( System.Security.Cryptography.ECParameters parameters ) : void
parameters System.Security.Cryptography.ECParameters The curve parameters.
리턴 void

SignData() 공개 메소드

public SignData ( System.Stream data, HashAlgorithmName hashAlgorithm ) : byte[]
data System.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[]

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

public abstract SignHash ( byte hash ) : byte[]
hash byte
리턴 byte[]

ToXmlString() 공개 메소드

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

VerifyData() 공개 메소드

public VerifyData ( System.Stream data, byte signature, HashAlgorithmName hashAlgorithm ) : bool
data System.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

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

public abstract VerifyHash ( byte hash, byte signature ) : bool
hash byte
signature byte
리턴 bool