Exemplo n.º 1
0
 void get_extensions()
 {
     if (CTLInfo.cExtension > 0)
     {
         Wincrypt.CERT_EXTENSIONS extstruct = new Wincrypt.CERT_EXTENSIONS {
             rgExtension = CTLInfo.rgExtension,
             cExtension  = CTLInfo.cExtension
         };
         _listExtensions.AddRange(CryptographyUtils.DecodeX509ExtensionCollection2(extstruct));
     }
 }