Package org.apache.xml.security.utils
Class RFC2253Parser
java.lang.Object
org.apache.xml.security.utils.RFC2253Parser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static String
changeLess32toRFC
(String string) Method changeLess32toRFC(package private) static String
changeLess32toXML
(String string) Method changeLess32toXML(package private) static String
changeWStoRFC
(String string) Method changeWStoRFC(package private) static String
changeWStoXML
(String string) Method changeWStoXMLprivate static int
countQuotes
(String s, int i, int j) Returns the number of Quotation from i to jstatic String
Method normalizestatic String
Method normalize(package private) static String
normalizeAT
(String str) Method normalizeAT(package private) static String
normalizeV
(String str, boolean toXml) Method normalizeV(package private) static String
Method parseATAV(package private) static String
Method parseRDN(package private) static String
removeWhiteSpace
(String str, String symbol) Method removeWhiteSpace(package private) static String
removeWSandReplace
(String str, String symbol, String replace) Method removeWSandReplacestatic String
Method rfc2253toXMLdsig(package private) static String
Method rfctoXML(package private) static String
semicolonToComma
(String str) Method semicolonToComma(package private) static String
Method trimstatic String
Method xmldsigtoRFC2253(package private) static String
Method xmltoRFC
-
Constructor Details
-
RFC2253Parser
public RFC2253Parser()
-
-
Method Details
-
rfc2253toXMLdsig
Method rfc2253toXMLdsig- Parameters:
dn
-- Returns:
- normalized string
-
xmldsigtoRFC2253
Method xmldsigtoRFC2253- Parameters:
dn
-- Returns:
- normalized string
-
normalize
Method normalize- Parameters:
dn
-- Returns:
- normalized string
-
normalize
Method normalize- Parameters:
dn
-toXml
-- Returns:
- normalized string
-
parseRDN
Method parseRDN- Parameters:
str
-toXml
-- Returns:
- normalized string
- Throws:
IOException
-
parseATAV
Method parseATAV- Parameters:
str
-toXml
-- Returns:
- normalized string
- Throws:
IOException
-
normalizeAT
Method normalizeAT- Parameters:
str
-- Returns:
- normalized string
-
normalizeV
Method normalizeV- Parameters:
str
-toXml
-- Returns:
- normalized string
- Throws:
IOException
-
rfctoXML
Method rfctoXML- Parameters:
string
-- Returns:
- normalized string
-
xmltoRFC
Method xmltoRFC- Parameters:
string
-- Returns:
- normalized string
-
changeLess32toRFC
Method changeLess32toRFC- Parameters:
string
-- Returns:
- normalized string
- Throws:
IOException
-
changeLess32toXML
Method changeLess32toXML- Parameters:
string
-- Returns:
- normalized string
- Throws:
IOException
-
changeWStoXML
Method changeWStoXML- Parameters:
string
-- Returns:
- normalized string
- Throws:
IOException
-
changeWStoRFC
Method changeWStoRFC- Parameters:
string
-- Returns:
- normalized string
-
semicolonToComma
Method semicolonToComma- Parameters:
str
-- Returns:
- normalized string
-
removeWhiteSpace
Method removeWhiteSpace- Parameters:
str
-symbol
-- Returns:
- normalized string
-
removeWSandReplace
Method removeWSandReplace- Parameters:
str
-symbol
-replace
-- Returns:
- normalized string
-
countQuotes
Returns the number of Quotation from i to j- Parameters:
s
-i
-j
-- Returns:
- number of quotes
-
trim
Method trim- Parameters:
str
-- Returns:
- the string
-