org.owasp.esapi
Class EncoderConstants

java.lang.Object
  extended by org.owasp.esapi.EncoderConstants

public class EncoderConstants
extends java.lang.Object

Common character classes used for input validation, output encoding, verifying password strength CSRF token generation, generating salts, etc

Author:
Neil Matatall (neil.matatall .at. gmail.com)
See Also:
User

Field Summary
static java.util.Set<java.lang.Character> ALPHANUMERICS
           
static char[] CHAR_ALPHANUMERICS
          CHAR_LETTERS union CHAR_DIGITS
static char[] CHAR_DIGITS
          0-9
static char[] CHAR_LETTERS
          CHAR_LOWERS union CHAR_UPPERS
static char[] CHAR_LOWERS
          a-b
static char[] CHAR_PASSWORD_DIGITS
          2-9
static char[] CHAR_PASSWORD_LETTERS
          CHAR_PASSWORD_LOWERS union CHAR_PASSWORD_UPPERS
static char[] CHAR_PASSWORD_LOWERS
          Password character set, is alphanumerics (without l, i, I, o, O, and 0) selected specials like + (bad for URL encoding, | is like i and 1, etc...)
static char[] CHAR_PASSWORD_SPECIALS
          !$*[email protected]_
static char[] CHAR_PASSWORD_UPPERS
           
static char[] CHAR_SPECIALS
          !$*[email protected]^_|~
static char[] CHAR_UPPERS
          A-Z
static java.util.Set<java.lang.Character> DIGITS
           
static java.util.Set<java.lang.Character> LETTERS
           
static java.util.Set<java.lang.Character> LOWERS
           
static java.util.Set<java.lang.Character> PASSWORD_DIGITS
           
static java.util.Set<java.lang.Character> PASSWORD_LETTERS
           
static java.util.Set<java.lang.Character> PASSWORD_LOWERS
           
static java.util.Set<java.lang.Character> PASSWORD_SPECIALS
           
static java.util.Set<java.lang.Character> PASSWORD_UPPERS
           
static java.util.Set<java.lang.Character> SPECIALS
           
static java.util.Set<java.lang.Character> UPPERS
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CHAR_PASSWORD_SPECIALS

public static final char[] CHAR_PASSWORD_SPECIALS
!$*[email protected]_


PASSWORD_SPECIALS

public static final java.util.Set<java.lang.Character> PASSWORD_SPECIALS

CHAR_LOWERS

public static final char[] CHAR_LOWERS
a-b


LOWERS

public static final java.util.Set<java.lang.Character> LOWERS

CHAR_UPPERS

public static final char[] CHAR_UPPERS
A-Z


UPPERS

public static final java.util.Set<java.lang.Character> UPPERS

CHAR_DIGITS

public static final char[] CHAR_DIGITS
0-9


DIGITS

public static final java.util.Set<java.lang.Character> DIGITS

CHAR_SPECIALS

public static final char[] CHAR_SPECIALS
!$*[email protected]^_|~


SPECIALS

public static final java.util.Set<java.lang.Character> SPECIALS

CHAR_LETTERS

public static final char[] CHAR_LETTERS
CHAR_LOWERS union CHAR_UPPERS


LETTERS

public static final java.util.Set<java.lang.Character> LETTERS

CHAR_ALPHANUMERICS

public static final char[] CHAR_ALPHANUMERICS
CHAR_LETTERS union CHAR_DIGITS


ALPHANUMERICS

public static final java.util.Set<java.lang.Character> ALPHANUMERICS

CHAR_PASSWORD_LOWERS

public static final char[] CHAR_PASSWORD_LOWERS
Password character set, is alphanumerics (without l, i, I, o, O, and 0) selected specials like + (bad for URL encoding, | is like i and 1, etc...)


PASSWORD_LOWERS

public static final java.util.Set<java.lang.Character> PASSWORD_LOWERS

CHAR_PASSWORD_UPPERS

public static final char[] CHAR_PASSWORD_UPPERS

PASSWORD_UPPERS

public static final java.util.Set<java.lang.Character> PASSWORD_UPPERS

CHAR_PASSWORD_DIGITS

public static final char[] CHAR_PASSWORD_DIGITS
2-9


PASSWORD_DIGITS

public static final java.util.Set<java.lang.Character> PASSWORD_DIGITS

CHAR_PASSWORD_LETTERS

public static final char[] CHAR_PASSWORD_LETTERS
CHAR_PASSWORD_LOWERS union CHAR_PASSWORD_UPPERS


PASSWORD_LETTERS

public static final java.util.Set<java.lang.Character> PASSWORD_LETTERS


Copyright © 2011 The Open Web Application Security Project (OWASP). All Rights Reserved.