Method | Description | |
---|---|---|
Sign ( byte input ) : byte[] |
Creates the signature.
|
|
Verify ( byte input, byte signature ) : bool |
Verifies the signature.
|
Method | Description | |
---|---|---|
CipherDigitalSignature ( |
Initializes a new instance of the CipherDigitalSignature class.
|
|
DerEncode ( byte hashData ) : byte[] |
Encodes hash using DER.
|
|
Hash ( byte input ) : byte[] |
Hashes the specified input.
|
protected CipherDigitalSignature ( |
||
oid | The object identifier. | |
cipher | The cipher. | |
return | System |
protected DerEncode ( byte hashData ) : byte[] | ||
hashData | byte | The hash data. |
return | byte[] |
protected abstract Hash ( byte input ) : byte[] | ||
input | byte | The input. |
return | byte[] |
public Verify ( byte input, byte signature ) : bool | ||
input | byte | The input. |
signature | byte | The signature. |
return | bool |