Inheritance: Asn1Encodable
Exemple #1
0
 public virtual PkiMessage[] ToPkiMessageArray()
 {
     PkiMessage[] array = new PkiMessage[this.content.Count];
     for (int num = 0; num != array.Length; num++)
     {
         array[num] = PkiMessage.GetInstance(this.content[num]);
     }
     return(array);
 }
Exemple #2
0
 public virtual PkiMessage[] ToPkiMessageArray()
 {
     PkiMessage[] result = new PkiMessage[content.Count];
     for (int i = 0; i != result.Length; ++i)
     {
         result[i] = PkiMessage.GetInstance(content[i]);
     }
     return(result);
 }
 public virtual PkiMessage[] ToPkiMessageArray()
 {
     PkiMessage[] result = new PkiMessage[content.Count];
     for (int i = 0; i != result.Length; ++i)
     {
         result[i] = PkiMessage.GetInstance(content[i]);
     }
     return result;
 }
 public virtual PkiMessage[] ToPkiMessageArray()
 {
     PkiMessage[] array = new PkiMessage[content.Count];
     for (int i = 0; i != array.Length; i++)
     {
         array[i] = PkiMessage.GetInstance(content[i]);
     }
     return(array);
 }
        public override Asn1Object ToAsn1Object()
        {
            Asn1EncodableVector v = new Asn1EncodableVector(new Asn1Encodable[]
            {
                this.header,
                this.body
            });

            PkiMessage.AddOptional(v, 0, this.protection);
            PkiMessage.AddOptional(v, 1, this.extraCerts);
            return(new DerSequence(v));
        }