Uses of Interface
org.owasp.esapi.codecs.Codec
-
Packages that use Codec Package Description org.owasp.esapi The ESAPI interfaces andExceptionclasses model the most important security functions to enterprise web applications.org.owasp.esapi.codecs This package contains codecs for application layer encoding/escaping schemes that can be used for both canonicalization and output encoding.org.owasp.esapi.logging.cleaning org.owasp.esapi.reference This package contains reference implementations of the ESAPI interfaces. -
-
Uses of Codec in org.owasp.esapi
Methods in org.owasp.esapi with parameters of type Codec Modifier and Type Method Description java.lang.StringEncoder. encodeForOS(Codec codec, java.lang.String input)Encode for an operating system command shell according to the selected codec (appropriate codecs include the WindowsCodec and UnixCodec).java.lang.StringEncoder. encodeForSQL(Codec codec, java.lang.String input)Encode input for use in a SQL query, according to the selected codec (appropriate codecs include the MySQLCodec and OracleCodec).ExecuteResultExecutor. executeSystemCommand(java.io.File executable, java.util.List params, java.io.File workdir, Codec codec, boolean logParams, boolean redirectErrorStream)Executes a system command after checking that the executable exists and escaping all the parameters to ensure that injection is impossible.voidPreparedString. set(int index, java.lang.String value, Codec codec)Set the parameter at index with supplied value using the supplied Codec to escape.Constructors in org.owasp.esapi with parameters of type Codec Constructor Description PreparedString(java.lang.String template, char parameterCharacter, Codec codec)Create a PreparedString with the supplied template, parameter placeholder character, and Codec.PreparedString(java.lang.String template, Codec codec)Create a PreparedString with the supplied template and Codec. -
Uses of Codec in org.owasp.esapi.codecs
Classes in org.owasp.esapi.codecs that implement Codec Modifier and Type Class Description classAbstractCharacterCodecThis abstract Impl is broken off from the originalCodecclass and provides theCharacterparsing logic that has been with ESAPI from the beginning.classAbstractCodec<T>The Codec interface defines a set of methods for encoding and decoding application level encoding schemes, such as HTML entity encoding and percent encoding (aka URL encoding).classAbstractIntegerCodecThis class is intended to be an alternative Abstract Implementation for parsing encoding data by focusing onintas opposed toCharacter.classCSSCodecImplementation of the Codec interface for backslash encoding used in CSS.classDB2CodecImplementation of the Codec interface for DB2 strings.classHTMLEntityCodecImplementation of the Codec interface for HTML entity encoding.classJavaScriptCodecImplementation of the Codec interface for backslash encoding in JavaScript.classLegacyHTMLEntityCodecDeprecated.classMySQLCodecCodec implementation which can be used to escape string literals in MySQL.classOracleCodecImplementation of the Codec interface for Oracle strings.classPercentCodecImplementation of the Codec interface for percent encoding (aka URL encoding).classUnixCodecImplementation of the Codec interface for '\' encoding from Unix command shell.classVBScriptCodecImplementation of the Codec interface for 'quote' encoding from VBScript.classWindowsCodecImplementation of the Codec interface for '^' encoding from Windows command shell.classXMLEntityCodecImplementation of the Codec interface for XML entity encoding. -
Uses of Codec in org.owasp.esapi.logging.cleaning
Constructors in org.owasp.esapi.logging.cleaning with parameters of type Codec Constructor Description CodecLogScrubber(Codec<?> messageCodec, char[] immuneChars)Ctr. -
Uses of Codec in org.owasp.esapi.reference
Methods in org.owasp.esapi.reference with parameters of type Codec Modifier and Type Method Description java.lang.StringDefaultEncoder. encodeForOS(Codec codec, java.lang.String input)Encode for an operating system command shell according to the selected codec (appropriate codecs include the WindowsCodec and UnixCodec).java.lang.StringDefaultEncoder. encodeForSQL(Codec codec, java.lang.String input)Encode input for use in a SQL query, according to the selected codec (appropriate codecs include the MySQLCodec and OracleCodec).ExecuteResultDefaultExecutor. executeSystemCommand(java.io.File executable, java.util.List params, java.io.File workdir, Codec codec, boolean logParams, boolean redirectErrorStream)Executes a system command after checking that the executable exists and escaping all the parameters to ensure that injection is impossible.
-