Package org.apache.bookkeeper.util
Class CertUtils
java.lang.Object
org.apache.bookkeeper.util.CertUtils
Certificate parsing utilities.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetOUMap(X509Certificate cert) static StringgetOUString(X509Certificate cert) static StringgetOUStringFromSubject(String subject) static String[]static String[]getRolesFromOUMap(Map<String, String> ouMap)
-
Field Details
-
OU_ROLE_NAME_CODE
- See Also:
-
OU_CLUSTER_NAME_CODE
- See Also:
-
OU_VALUES_SEPARATOR
- See Also:
-
OU_CODE_SEPARATOR
- See Also:
-
OU_NAME_SEPARATOR
- See Also:
-
OU_VALUES_SPLITTER
-
OU_GENERAL_NAME_REGEX
-
OU_NAME_SPLITTER
-
-
Method Details
-
getOUString
- Throws:
IOException
-
getOUStringFromSubject
- Throws:
IOException
-
getOUMapFromOUString
- Throws:
IOException
-
getOUMap
- Throws:
IOException
-
getRolesFromOU
- Throws:
IOException
-
getRolesFromOUMap
- Throws:
IOException
-