ECDsa.SignHash 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
SignHash(Byte[]) |
지정된 해시 값의 디지털 서명을 생성합니다. |
SignHash(Byte[], DSASignatureFormat) |
표시된 형식으로 지정된 해시 값의 ECDSA 시그니처를 컴퓨팅합니다. |
SignHash(Byte[])
지정된 해시 값의 디지털 서명을 생성합니다.
public:
abstract cli::array <System::Byte> ^ SignHash(cli::array <System::Byte> ^ hash);
public abstract byte[] SignHash (byte[] hash);
abstract member SignHash : byte[] -> byte[]
Public MustOverride Function SignHash (hash As Byte()) As Byte()
매개 변수
- hash
- Byte[]
서명할 데이터의 해시 값입니다.
반환
- Byte[]
지정된 해시 값의 디지털 서명입니다.
예외
hash
매개 변수가 null
인 경우
적용 대상
SignHash(Byte[], DSASignatureFormat)
표시된 형식으로 지정된 해시 값의 ECDSA 시그니처를 컴퓨팅합니다.
public:
cli::array <System::Byte> ^ SignHash(cli::array <System::Byte> ^ hash, System::Security::Cryptography::DSASignatureFormat signatureFormat);
public byte[] SignHash (byte[] hash, System.Security.Cryptography.DSASignatureFormat signatureFormat);
member this.SignHash : byte[] * System.Security.Cryptography.DSASignatureFormat -> byte[]
Public Function SignHash (hash As Byte(), signatureFormat As DSASignatureFormat) As Byte()
매개 변수
- hash
- Byte[]
서명할 해시 값입니다.
- signatureFormat
- DSASignatureFormat
시그니처에 사용할 인코딩 형식입니다.
반환
- Byte[]
지정된 데이터의 ECDSA 서명입니다.
예외
hash
이(가) null
인 경우
signatureFormat
은 알려진 형식이 아닙니다.
서명 작업에서 오류가 발생했습니다.