C# 클래스 EU.Europa.EC.Markt.Dss.Signature.Token.AsyncSignatureTokenConnection

Sometimes, the signature process has to be split in two phases : the digest phase and the encryption phase.
Sometimes, the signature process has to be split in two phases : the digest phase and the encryption phase. This separation is useful when the file and the SSCD are not on the same hardware. Two implementation of AsyncSignatureTokenConnection are provided. Only MSCAPI requires the signature to be done in one step (MS CAPI don't provide any RSA encryption operations).
상속: ISignatureTokenConnection
파일 보기 프로젝트 열기: nonorganic/dssnet

공개 메소드들

메소드 설명
Close ( ) : void
EncryptDigest ( Digest digest, IDssPrivateKeyEntry keyEntry ) : byte[]

The encryption of a digest it the atomic operation done by the SSCD.

The encryption of a digest it the atomic operation done by the SSCD. This encryption (RSA, DSA, ...) create the signature value.

EncryptDigest ( byte digestValue, DigestAlgorithm digestAlgo, IDssPrivateKeyEntry keyEntry ) : byte[]

The encryption of a digest it the atomic operation done by the SSCD.

The encryption of a digest it the atomic operation done by the SSCD. This encryption (RSA, DSA, ...) create the signature value.

GetKeys ( ) : IList
Sign ( Stream stream, DigestAlgorithm digestAlgo, IDssPrivateKeyEntry keyEntry ) : byte[]

메소드 상세

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

public abstract Close ( ) : void
리턴 void

EncryptDigest() 공개 메소드

The encryption of a digest it the atomic operation done by the SSCD.
The encryption of a digest it the atomic operation done by the SSCD. This encryption (RSA, DSA, ...) create the signature value.
Sharpen.NoSuchAlgorithmException ///
public EncryptDigest ( Digest digest, IDssPrivateKeyEntry keyEntry ) : byte[]
digest Digest
keyEntry IDssPrivateKeyEntry
리턴 byte[]

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

The encryption of a digest it the atomic operation done by the SSCD.
The encryption of a digest it the atomic operation done by the SSCD. This encryption (RSA, DSA, ...) create the signature value.
public abstract EncryptDigest ( byte digestValue, DigestAlgorithm digestAlgo, IDssPrivateKeyEntry keyEntry ) : byte[]
digestValue byte
digestAlgo DigestAlgorithm
keyEntry IDssPrivateKeyEntry
리턴 byte[]

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

public abstract GetKeys ( ) : IList
리턴 IList

Sign() 공개 메소드

public Sign ( Stream stream, DigestAlgorithm digestAlgo, IDssPrivateKeyEntry keyEntry ) : byte[]
stream System.IO.Stream
digestAlgo DigestAlgorithm
keyEntry IDssPrivateKeyEntry
리턴 byte[]