DefaultSignedPkcs7AddTimestamp(String, Oid, Int32) Method
Timestamps the specified signature using external Time-Stamp Authority.
Namespace: SysadminsLV.PKI.Cryptography.PkcsAssembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
public void AddTimestamp(
string tsaUrl,
Oid hashAlgorithm,
int signerInfoIndex = 0
)
Public Sub AddTimestamp (
tsaUrl As String,
hashAlgorithm As Oid,
Optional signerInfoIndex As Integer = 0
)
public:
void AddTimestamp(
String^ tsaUrl,
Oid^ hashAlgorithm,
int signerInfoIndex = 0
)
member AddTimestamp :
tsaUrl : string *
hashAlgorithm : Oid *
?signerInfoIndex : int
(* Defaults:
let _signerInfoIndex = defaultArg signerInfoIndex 0
*)
-> unit
Parameters
- tsaUrl String
-
An URL to a Time-Stamp Authority.
- hashAlgorithm Oid
-
Hash algorithm to use by TSA to sign response.
- signerInfoIndex Int32 (Optional)
-
A zero-based index of signature to timestamp. Default value is 0.
This method adds an RFC3161 Counter Signature.