This class parses the Certificate Revocation Lists of a signing certificate. It provides access to all CRL URLs in the certificate.
Exemplo n.º 1
0
        /// <summary>
        ///     Get an object which holds information about
        ///     the Certificate Revocation Lists of the signing
        ///     certificate if any is present.
        /// </summary>
        /// <returns>Certificate Revocation List information or null if binary is not signed.</returns>
        public CrlUrlList GetCrlUrlList()
        {
            if (PKCS7 == null)
                return null;

            CrlUrlList list = null;
            try
            {
                list = new CrlUrlList(PKCS7);
            }
            catch (Exception exception)
            {
                Exceptions.Add(exception);
            }

            return list;
        }
Exemplo n.º 2
0
        /// <summary>
        ///     Get an object which holds information about
        ///     the Certificate Revocation Lists of the signing
        ///     certificate if any is present.
        /// </summary>
        /// <returns>Certificate Revocation List information or null if binary is not signed.</returns>
        public CrlUrlList GetCrlUrlList()
        {
            if (PKCS7 == null)
                return null;

            CrlUrlList list = null;
            try
            {
                list = new CrlUrlList(PKCS7);
            }
            catch (Exception exception)
            {
                Exceptions.Add(exception);
            }

            return list;
        }