Exemplo n.º 1
0
        public CrlEntry[] GetRevokedCertificates()
        {
            if (revokedCertificates == null)
            {
                return(new CrlEntry[0]);
            }

            CrlEntry[] entries = new CrlEntry[revokedCertificates.Count];

            for (int i = 0; i < entries.Length; i++)
            {
                entries[i] = new CrlEntry(Asn1Sequence.GetInstance(revokedCertificates[i]));
            }

            return(entries);
        }
Exemplo n.º 2
0
		public CrlEntry[] GetRevokedCertificates()
        {
			if (revokedCertificates == null)
			{
				return new CrlEntry[0];
			}

			CrlEntry[] entries = new CrlEntry[revokedCertificates.Count];

			for (int i = 0; i < entries.Length; i++)
			{
				entries[i] = new CrlEntry(Asn1Sequence.GetInstance(revokedCertificates[i]));
			}

			return entries;
		}