Skip to content

Commit

Permalink
chore: use ldap properties constants
Browse files Browse the repository at this point in the history
  • Loading branch information
rvazarkar committed Oct 4, 2023
1 parent d778043 commit c1b792f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/CommonLib/LDAPProperties.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,6 @@ public static class LDAPProperties
public const string CACertificate = "cacertificate";
public const string CertificateTemplates = "certificatetemplates";
public const string CrossCertificatePair = "crosscertificatepair";
public const string Flags = "flags";
}
}
10 changes: 5 additions & 5 deletions src/CommonLib/LDAPQueries/CommonProperties.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ public static class CommonProperties

public static readonly string[] CertAbuseProps =
{
"certificateTemplates", "flags", "dnshostname", "cacertificate", "mspki-certificate-name-flag",
"mspki-enrollment-flag", "displayname", "name", "mspki-template-schema-version", "mspki-cert-template-oid",
"pKIOverlapPeriod", "pKIExpirationPeriod", "pkiextendedkeyusage", "mspki-ra-signature",
"mspki-ra-application-policies", "mspki-ra-policies", "crosscertificatepair",
"mspki-certificate-application-policy"
LDAPProperties.CertificateTemplates, LDAPProperties.Flags, LDAPProperties.DNSHostName, LDAPProperties.CACertificate, LDAPProperties.PKINameFlag,
LDAPProperties.PKIEnrollmentFlag, LDAPProperties.DisplayName, LDAPProperties.Name, LDAPProperties.TemplateSchemaVersion, LDAPProperties.CertTemplateOID,
LDAPProperties.PKIOverlappedPeriod, LDAPProperties.PKIExpirationPeriod, LDAPProperties.ExtendedKeyUsage, LDAPProperties.NumSignaturesRequired,
LDAPProperties.CertificateApplicationPolicy, LDAPProperties.IssuancePolicies, LDAPProperties.CrossCertificatePair,
LDAPProperties.ApplicationPolicies
};
}
}

0 comments on commit c1b792f

Please sign in to comment.