C# Class Org.BouncyCastle.Tsp.TimeStampTokenGenerator

Show file Open project: nonorganic/dssnet Class Usage Examples

Public Methods

Method Description
Generate ( TimeStampRequest request, BigInteger serialNumber, System.DateTime genTime ) : TimeStampToken
SetAccuracyMicros ( int accuracyMicros ) : void
SetAccuracyMillis ( int accuracyMillis ) : void
SetAccuracySeconds ( int accuracySeconds ) : void
SetCertificates ( IX509Store certificates ) : void
SetCrls ( IX509Store crls ) : void
SetOrdering ( bool ordering ) : void
SetTsa ( GeneralName tsa ) : void
TimeStampTokenGenerator ( AsymmetricKeyParameter key, X509Certificate cert, string digestOID, string tsaPolicyOID ) : System
TimeStampTokenGenerator ( AsymmetricKeyParameter key, X509Certificate cert, string digestOID, string tsaPolicyOID, Asn1 signedAttr, Asn1 unsignedAttr ) : System

Method Details

Generate() public method

public Generate ( TimeStampRequest request, BigInteger serialNumber, System.DateTime genTime ) : TimeStampToken
request TimeStampRequest
serialNumber Org.BouncyCastle.Math.BigInteger
genTime System.DateTime
return TimeStampToken

SetAccuracyMicros() public method

public SetAccuracyMicros ( int accuracyMicros ) : void
accuracyMicros int
return void

SetAccuracyMillis() public method

public SetAccuracyMillis ( int accuracyMillis ) : void
accuracyMillis int
return void

SetAccuracySeconds() public method

public SetAccuracySeconds ( int accuracySeconds ) : void
accuracySeconds int
return void

SetCertificates() public method

public SetCertificates ( IX509Store certificates ) : void
certificates IX509Store
return void

SetCrls() public method

public SetCrls ( IX509Store crls ) : void
crls IX509Store
return void

SetOrdering() public method

public SetOrdering ( bool ordering ) : void
ordering bool
return void

SetTsa() public method

public SetTsa ( GeneralName tsa ) : void
tsa Org.BouncyCastle.Asn1.X509.GeneralName
return void

TimeStampTokenGenerator() public method

public TimeStampTokenGenerator ( AsymmetricKeyParameter key, X509Certificate cert, string digestOID, string tsaPolicyOID ) : System
key Org.BouncyCastle.Crypto.AsymmetricKeyParameter
cert Org.BouncyCastle.X509.X509Certificate
digestOID string
tsaPolicyOID string
return System

TimeStampTokenGenerator() public method

public TimeStampTokenGenerator ( AsymmetricKeyParameter key, X509Certificate cert, string digestOID, string tsaPolicyOID, Asn1 signedAttr, Asn1 unsignedAttr ) : System
key Org.BouncyCastle.Crypto.AsymmetricKeyParameter
cert Org.BouncyCastle.X509.X509Certificate
digestOID string
tsaPolicyOID string
signedAttr Asn1
unsignedAttr Asn1
return System