Example #1
0
        public override Asn1Object ToAsn1Object()
        {
            Asn1EncodableVector v = new Asn1EncodableVector(
                sigPolicyIdentifier, sigPolicyHash.ToAsn1Object());

            if (sigPolicyQualifiers != null)
            {
                v.Add(sigPolicyQualifiers.ToAsn1Object());
            }

            return(new DerSequence(v));
        }
Example #2
0
 public override Asn1Object ToAsn1Object()
 {
     return(otherHash == null
                         ?       sha1Hash
                         :       otherHash.ToAsn1Object());
 }