#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR) #pragma warning disable using System.Collections.Generic; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509 { /** * PolicyMappings V3 extension, described in RFC3280. *
* PolicyMappings ::= Sequence SIZE (1..MAX) OF Sequence {
* issuerDomainPolicy CertPolicyId,
* subjectDomainPolicy CertPolicyId }
*
*
* @see RFC 3280, section 4.2.1.6
*/
public class PolicyMappings
: Asn1Encodable
{
private readonly Asn1Sequence seq;
/**
* Creates a new PolicyMappings instance.
*
* @param seq an Asn1Sequence constructed as specified
* in RFC 3280
*/
public PolicyMappings(
Asn1Sequence seq)
{
this.seq = seq;
}
/**
* Creates a new PolicyMappings instance.
*
* @param mappings a HashMap value that maps
* string oids
* to other string oids.
*/
public PolicyMappings(IDictionary