You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
891 B
31 lines
891 B
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR) |
|
#pragma warning disable |
|
using System; |
|
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1; |
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections; |
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.X509 |
|
{ |
|
public interface IX509Extension |
|
{ |
|
/// <summary> |
|
/// Get all critical extension values, by oid |
|
/// </summary> |
|
/// <returns>IDictionary with string (OID) keys and Asn1OctetString values</returns> |
|
ISet GetCriticalExtensionOids(); |
|
|
|
/// <summary> |
|
/// Get all non-critical extension values, by oid |
|
/// </summary> |
|
/// <returns>IDictionary with string (OID) keys and Asn1OctetString values</returns> |
|
ISet GetNonCriticalExtensionOids(); |
|
|
|
|
|
Asn1OctetString GetExtensionValue(string oid); |
|
|
|
Asn1OctetString GetExtensionValue(DerObjectIdentifier oid); |
|
} |
|
} |
|
#pragma warning restore |
|
#endif
|
|
|