Github user alopresto commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1491#discussion_r101137493
--- Diff:
nifi-commons/nifi-security-utils/src/main/java/org/apache/nifi/security/util/CertificateUtils.java
---
@@ -613,6 +644,25 @@ public static boolean compareDNs(String dn1, String
dn2) {
}
}
+ /**
+ * Extract extensions from CSR object
+ */
+ public static Extensions
getExtensionsFromCSR(JcaPKCS10CertificationRequest csr) {
+ Attribute[] attributess =
csr.getAttributes(PKCSObjectIdentifiers.pkcs_9_at_extensionRequest);
--- End diff --
Typo in variable name.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---