<PackageReference Include="BouncyCastle.Cryptography" Version="2.8.0-beta.349" />

Org.BouncyCastle.Tsp.TimeStampResponse

public class TimeStampResponse
Base class for an RFC 3161 Time Stamp Response.
public int Status { get; }

public PkiStatusInfo StatusInfo { get; }

public TimeStampResp TimeStampResp { get; }

public TimeStampResponse(byte[] resp)

Create a TimeStampResponse from the passed-in byte array.

public TimeStampResponse(Stream input)

Create a TimeStampResponse from the passed-in stream.

public byte[] GetEncoded()

Return the ASN.1 encoded representation of this object.

public byte[] GetEncoded(string encoding)

Return the ASN.1 encoded representation of this object for the specific encoding type.

public string GetStatusString()

public void Validate(TimeStampRequest request)

Check that this response is a well formed response for the passed in request.