org.bouncycastle.i18n.filter
Class UntrustedInput

java.lang.Object
  extended by org.bouncycastle.i18n.filter.UntrustedInput
Direct Known Subclasses:
UntrustedUrlInput

public class UntrustedInput
extends java.lang.Object

Wrapper class to mark untrusted input.


Field Summary
protected  java.lang.Object input
           
 
Constructor Summary
UntrustedInput(java.lang.Object input)
          Construct a new UntrustedInput instance.
 
Method Summary
 java.lang.Object getInput()
          Returns the untrusted input as Object.
 java.lang.String getString()
          Returns the untrusted input convertet to a String.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

input

protected java.lang.Object input
Constructor Detail

UntrustedInput

public UntrustedInput(java.lang.Object input)
Construct a new UntrustedInput instance.

Parameters:
input - the untrusted input Object
Method Detail

getInput

public java.lang.Object getInput()
Returns the untrusted input as Object.

Returns:
the input as Object

getString

public java.lang.String getString()
Returns the untrusted input convertet to a String.

Returns:
the input as String

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object