de.flexiprovider.common.exceptions
Class InvalidPointException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--de.flexiprovider.common.exceptions.ECException
                          |
                          +--de.flexiprovider.common.exceptions.InvalidPointException
All Implemented Interfaces:
java.io.Serializable

public class InvalidPointException
extends ECException

This exception is thrown, if a point shall be constructed, that is not on the underlying curve.

Author:
Birgit Henhapl
See Also:
Point, EllipticCurve, Serialized Form

Constructor Summary
InvalidPointException()
          Constructs an InvalidPointException with no detail message.
InvalidPointException(FlexiBigInt x, FlexiBigInt y, EllipticCurve e)
          Constructs an InvalidPointException with the specified detail message.
InvalidPointException(FlexiBigInt x, FlexiBigInt y, FlexiBigInt z, EllipticCurve e)
          Constructs an InvalidPointException with the specified detail message.
InvalidPointException(GF2nElement x, GF2nElement y, EllipticCurve e)
          Constructs an InvalidPointException with the specified detail message.
InvalidPointException(java.lang.String msg)
          Constructs an InvalidPointException with the specified detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidPointException

public InvalidPointException()
Constructs an InvalidPointException with no detail message. A detail message is a String that describes this particular exception.

InvalidPointException

public InvalidPointException(java.lang.String msg)
Constructs an InvalidPointException with the specified detail message. A detail message is a String that describes this particular exception.
Parameters:
msg - detail message

InvalidPointException

public InvalidPointException(FlexiBigInt x,
                             FlexiBigInt y,
                             EllipticCurve e)
Constructs an InvalidPointException with the specified detail message. The detail message tells the user, that the point, belonging to the parameters x and y is not on curve E.
Parameters:
x - the x-coordinate of the point to be constructed
y - the y-coordinate of the point to be constructed
e - the underlying curve

InvalidPointException

public InvalidPointException(GF2nElement x,
                             GF2nElement y,
                             EllipticCurve e)
Constructs an InvalidPointException with the specified detail message. The detail message tells the user, that the point, belonging to the parameters x and y is not on curve E.
Parameters:
x - the x-coordinate of the point to be constructed
y - the y-coordinate of the point to be constructed
e - the underlying curve

InvalidPointException

public InvalidPointException(FlexiBigInt x,
                             FlexiBigInt y,
                             FlexiBigInt z,
                             EllipticCurve e)
Constructs an InvalidPointException with the specified detail message. The detail message tells the user, that the point, belonging to the parameters x, y and z is not on curve E.
Parameters:
x - the x-coordinate of the point to be constructed
y - the y-coordinate of the point to be constructed
z - the z-coordinate of the point to be constructed
e - the underlying curve