Class CertificationRequestException

java.lang.Object
java.lang.Throwable
java.lang.Exception
zeroecho.pkix.CertificationRequestException
All Implemented Interfaces:
Serializable

public final class CertificationRequestException extends Exception
Thrown when a PKCS#10 certification request cannot be parsed or its proof-of-possession self-signature fails verification.

This is a checked exception; callers that receive a raw CSR from an untrusted source must handle or propagate it.

Since:
1.0
See Also:
  • Constructor Details

    • CertificationRequestException

      public CertificationRequestException(String message)
      Creates an exception with the given message.
      Parameters:
      message - human-readable description of the failure
    • CertificationRequestException

      public CertificationRequestException(String message, Throwable cause)
      Creates an exception with the given message and cause.
      Parameters:
      message - human-readable description of the failure
      cause - the underlying exception