private void butAdd_Click(object sender, EventArgs e) { GetName getname = new GetName(permittedTypes); if (getname.ShowDialog() == DialogResult.OK) { ian.Add(getname.gn); updateDataSet(getname.gn, ian.IssAltNames.Count - 1); } }
private void butAddExcluded_Click(object sender, EventArgs e) { GetName getname = new GetName(permittedTypes); if (getname.ShowDialog() == DialogResult.OK) { nc.Add(NameConstraintTree.Excluded, getname.gn); updateDataSet("excluded", getname.gn, nc.Excluded.Count - 1); } }
private void butAddTimeStamping_Click(object sender, EventArgs e) { GetName getname = new GetName(permittedTypes); if (getname.ShowDialog() == DialogResult.OK) { AccessDesc ad = new AccessDesc() { Method = AccessMethod.TimeStamping }; ad.Location = getname.gn; sia.Add(ad); updateDataSet(AccessMethod.TimeStamping, getname.gn, sia.SubjectInfoAccess.Count - 1); } }
private void butAddOcsp_Click(object sender, EventArgs e) { GetName getname = new GetName(permittedTypes); if (getname.ShowDialog() == DialogResult.OK) { AccessDesc ad = new AccessDesc() { Method = AccessMethod.Ocsp }; ad.Location = getname.gn; aia.Add(ad); updateDataSet(AccessMethod.Ocsp, getname.gn, aia.AuthInfoAccess.Count - 1); } }