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 $

Author:
David Hopwood
Since:
IJCE 1.0.1

Constructor Summary

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

Constructor Details

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.