using System; using Org.BouncyCastle.Asn1; using Org.BouncyCastle.Utilities.Collections; namespace Org.BouncyCastle.X509 { public interface IX509Extension { /// /// Get all critical extension values, by oid /// /// IDictionary with string (OID) keys and Asn1OctetString values ISet GetCriticalExtensionOids(); /// /// Get all non-critical extension values, by oid /// /// IDictionary with string (OID) keys and Asn1OctetString values ISet GetNonCriticalExtensionOids(); Asn1OctetString GetExtensionValue(DerObjectIdentifier oid); } }