FileDocCategorySizeDatePackage
PrintKey.javaAPI DocExample1638Sun Oct 25 18:13:36 GMT 1998None

PrintKey

public class PrintKey extends Object

Fields Summary
Constructors Summary
Methods Summary
public voidprintKey(java.security.Key k)

	if (k instanceof DSAKey) {
	    System.out.println("key is DSA");
	    System.out.println("P value is " + ((DSAKey) k).getParams().getP());
	}
	else System.out.println("key is not DSA");