Class RFC2253Parser
java.lang.Object
org.apache.xml.security.utils.RFC2253Parser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static StringchangeLess32toRFC(String string) Method changeLess32toRFC(package private) static StringchangeLess32toXML(String string) Method changeLess32toXML(package private) static StringchangeWStoRFC(String string) Method changeWStoRFC(package private) static StringchangeWStoXML(String string) Method changeWStoXMLprivate static intcountQuotes(String s, int i, int j) Returns the number of Quotation from i to jstatic StringMethod normalizestatic StringMethod normalize(package private) static StringnormalizeAT(String str) Method normalizeAT(package private) static StringnormalizeV(String str, boolean toXml) Method normalizeV(package private) static StringMethod parseATAV(package private) static StringMethod parseRDN(package private) static StringremoveWhiteSpace(String str, String symbol) Method removeWhiteSpace(package private) static StringremoveWSandReplace(String str, String symbol, String replace) Method removeWSandReplacestatic StringMethod rfc2253toXMLdsig(package private) static StringMethod rfctoXML(package private) static StringsemicolonToComma(String str) Method semicolonToComma(package private) static StringMethod trimstatic StringMethod xmldsigtoRFC2253(package private) static StringMethod xmltoRFC
-
Constructor Details
-
RFC2253Parser
public RFC2253Parser()
-
-
Method Details
-
rfc2253toXMLdsig
-
xmldsigtoRFC2253
-
normalize
-
normalize
-
parseRDN
Method parseRDN- Parameters:
str-toXml-- Returns:
- normalized string
- Throws:
IOException
-
parseATAV
Method parseATAV- Parameters:
str-toXml-- Returns:
- normalized string
- Throws:
IOException
-
normalizeAT
-
normalizeV
Method normalizeV- Parameters:
str-toXml-- Returns:
- normalized string
- Throws:
IOException
-
rfctoXML
-
xmltoRFC
-
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
-
semicolonToComma
-
removeWhiteSpace
-
removeWSandReplace
-
countQuotes
Returns the number of Quotation from i to j- Parameters:
s-i-j-- Returns:
- number of quotes
-
trim
-