Méthode | Description | |
---|---|---|
Sign ( byte input ) : byte[] |
Creates the signature.
|
|
Verify ( byte input, byte signature ) : bool |
Verifies the signature.
|
Méthode | 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. | |
Résultat | System |
protected DerEncode ( byte hashData ) : byte[] | ||
hashData | byte | The hash data. |
Résultat | byte[] |
protected abstract Hash ( byte input ) : byte[] | ||
input | byte | The input. |
Résultat | byte[] |
public Verify ( byte input, byte signature ) : bool | ||
input | byte | The input. |
signature | byte | The signature. |
Résultat | bool |