private Evidence(Asn1TaggedObject tagged) { if (tagged.TagNo == 0) { this.tstEvidence = TimeStampTokenEvidence.GetInstance(tagged, false); } }
private Evidence(Asn1TaggedObject tagged) { if (tagged.TagNo == 0) { this.tstEvidence = TimeStampTokenEvidence.GetInstance(tagged, false); } //else if (tagged.TagNo == 1) //{ // this.ersEvidence = EvidenceRecord.GetInstance(tagged, false); //} else if (tagged.TagNo == 2) { this.otherEvidence = Asn1Sequence.GetInstance(tagged, false); } else { throw new ArgumentException("unknown tag in Evidence", "tagged"); } }
public Evidence(TimeStampTokenEvidence tstEvidence) { this.tstEvidence = tstEvidence; }
public static TimeStampTokenEvidence GetInstance(Asn1TaggedObject tagged, bool isExplicit) { return(TimeStampTokenEvidence.GetInstance(Asn1Sequence.GetInstance(tagged, isExplicit))); }