Module bus.http

Class DistinguishedNameParser

java.lang.Object
org.miaixz.bus.http.secure.DistinguishedNameParser

public class DistinguishedNameParser extends Object
专有名称(DN)解析器。该解析器只支持从DN中提取字符串值。 它不支持十六进制字符串样式的值.
Since:
Java 17+
Author:
Kimi Liu
  • Method Details

    • findMostSpecific

      public String findMostSpecific(String attributeType)
      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")