Ejemplo n.º 1
0
        private CertificatePolicies(Asn1Sequence seq)
        {
            this.policyInformation = new PolicyInformation[seq.Count];

            for (int i = 0; i < seq.Count; ++i)
            {
                policyInformation[i] = PolicyInformation.GetInstance(seq[i]);
            }
        }
Ejemplo n.º 2
0
 /**
  * Construct a CertificatePolicies object containing one PolicyInformation.
  *
  * @param name the name to be contained.
  */
 public CertificatePolicies(PolicyInformation name)
 {
     this.policyInformation = new PolicyInformation[] { name };
 }