* * * Значение * Пояснение * * * * * * CERTIFICATE_FIND_SHA1_HASH * * * Returns certificates with a SHA1 hash that matches * the SHA1 hash specified in the varCriteria parameter. * * * * * CERTIFICATE_FIND_SUBJECT_NAME * * * Returns certificates whose subject name exactly * or partially matches the subject name specified in the * varCriteria parameter. This call searches the subject name field only. * * * * * CERTIFICATE_FIND_ISSUER_NAME * * * Returns certificates whose issuer name exactly * or partially matches the issuer name specified in the * varCriteria parameter. This call searches the issuer name field only. * * * * * CERTIFICATE_FIND_ROOT_NAME * * * Returns certificates whose root subject name exactly * or partially matches the root subject name specified in * the varCriteria parameter. This call creates a chain. * This call searches the subject name field of the root certificate. * * * * * CERTIFICATE_FIND_TEMPLATE_NAME * * * Returns certificates whose template name matches * the template name specified in the varCriteria parameter. * * * * * CERTIFICATE_FIND_EXTENSION * * * Returns certificates that have an extension * that matches the extension specified in the * varCriteria parameter. * * * * * CERTIFICATE_FIND_EXTENDED_PROPERTY * * * Returns certificates in the store that explicitly * contain an extended property with the value specified * in the varCriteria parameter. * * * * * CERTIFICATE_FIND_APPLICATION_POLICY * * * Returns certificates in the store that have * either an enhanced key usage extension, application policy extension, * or extended property specified in the varCriteria parameter. * * * * * CERTIFICATE_FIND_CERTIFICATE_POLICY * * * Returns certificates that contain the policy OID * in the Certificate Policy extension specified * in the varCriteria parameter. * * * * * CERTIFICATE_FIND_TIME_VALID * * * Returns certificates whose time is valid. * * * * * CERTIFICATE_FIND_TIME_NOT_YET_VALID * * * Returns certificates whose time is not yet valid. * * * * * CERTIFICATE_FIND_TIME_EXPIRED * * * Returns certificates whose time has expired. * * * * * CERTIFICATE_FIND_KEY_USAGE * * * Returns certificates containing key usages in the * KeyUsage extension specified in the varCriteria * parameter. If the KeyUsage extension is not present, * all of the key usages are assumed to be unavailable. * * * * * @param mixed $varCriteria (optional) Вариант, содержащий критерии поиска. * Эти данные должны соответствовать типу данных, указанному в параметре FindType. * @param bool $bFindValidOnly (optional) Логическое значение, указывающее, возвращаются ли только действительные сертификаты. * * @return CPCertificates */ public function Find( int $FindType, $varCriteria = 0, bool $bFindValidOnly = false ) { } /** * Возвращает сертификат с заданным индексом из коллекции. * * @param int $Index * * @return mixed */ public function Item(int $Index) { } /** * Возвращает количество объектов в коллекции сертификатов. * * @return int */ public function Count() { } }