public override Asn1Object ToAsn1Object() { if (otherHash != null) { return(otherHash.ToAsn1Object()); } return(sha1Hash); }
public override Asn1Object ToAsn1Object() { Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(sigPolicyIdentifier, sigPolicyHash.ToAsn1Object()); if (sigPolicyQualifiers != null) { asn1EncodableVector.Add(sigPolicyQualifiers.ToAsn1Object()); } return(new DerSequence(asn1EncodableVector)); }