xjava.security

Class InvalidKeyFormatException

public class InvalidKeyFormatException extends GeneralSecurityException

InvalidKeyFormatException is thrown when a key format is not recognized. (Current valid formats for the "SUN" provider include "X.509", "PKCS#8", "RAW-BigInteger", and "RAW-DER".)

This class is documented in JavaSoft's preview APIs, for introduction in Java 1.2.

$Revision: 1.2 $

Since: IJCE 1.0.1

Author: David Hopwood

Constructor Summary
InvalidKeyFormatException()
Constructs an InvalidKeyFormatException without any detail message.
InvalidKeyFormatException(String msg)
Constructs an InvalidKeyFormatException with the specified detail message.

Constructor Detail

InvalidKeyFormatException

public InvalidKeyFormatException()
Constructs an InvalidKeyFormatException without any detail message.

InvalidKeyFormatException

public InvalidKeyFormatException(String msg)
Constructs an InvalidKeyFormatException with the specified detail message. A detail message is a String that describes this particular exception.

Parameters: msg the detail message.