add all
This commit is contained in:
28
Packages/com.tivadar.best.http/Runtime/3rdParty/BouncyCastle/x509/IX509Extension.cs
vendored
Normal file
28
Packages/com.tivadar.best.http/Runtime/3rdParty/BouncyCastle/x509/IX509Extension.cs
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
|
||||
#pragma warning disable
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using Best.HTTP.SecureProtocol.Org.BouncyCastle.Asn1;
|
||||
|
||||
namespace Best.HTTP.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<string> GetCriticalExtensionOids();
|
||||
|
||||
/// <summary>
|
||||
/// Get all non-critical extension values, by oid
|
||||
/// </summary>
|
||||
/// <returns>IDictionary with string (OID) keys and Asn1OctetString values</returns>
|
||||
ISet<string> GetNonCriticalExtensionOids();
|
||||
|
||||
Asn1OctetString GetExtensionValue(DerObjectIdentifier oid);
|
||||
}
|
||||
}
|
||||
#pragma warning restore
|
||||
#endif
|
||||
Reference in New Issue
Block a user