Example #1
0
 public void AddSubjectKeyId(string subjectKeyId)
 {
     if (this.m_subjectKeyIds == null)
     {
         this.m_subjectKeyIds = new ArrayList();
     }
     this.m_subjectKeyIds.Add((object)X509Utils.DecodeHexString(subjectKeyId));
 }
Example #2
0
        internal void FromHexadecimal(string hexNum)
        {
            byte[] hex = X509Utils.DecodeHexString(hexNum);
            Array.Reverse(hex);
            int hexArraySize = GetHexArraySize(hex);

            Array.Copy(hex, m_elements, hexArraySize);
            Size = hexArraySize;
        }