Package org.miaixz.bus.http.secure
Class DistinguishedNameParser
java.lang.Object
org.miaixz.bus.http.secure.DistinguishedNameParser
专有名称(DN)解析器。该解析器只支持从DN中提取字符串值。 它不支持十六进制字符串样式的值.
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Method Summary
Modifier and TypeMethodDescriptionfindMostSpecific(String attributeType) Parses the DN and returns the most significant attribute value for an attribute type, or null if none found.
-
Method Details
-
findMostSpecific
Parses the DN and returns the most significant attribute value for an attribute type, or null if none found.- Parameters:
attributeType- attribute type to look for (e.g. "ca")
-