Package edu.pdx.cs410J.security
package edu.pdx.cs410J.security
This package contains example code that demonstrates a number of Java's security features.
-
ClassDescriptionThis interface describes a game.This class represents a game console that can play many games.This class represents a game console that can play many games.This program generates a pair of DSA keys in files named
public.key
andprivate.key
This is a little guessing game that counts the number of times it takes the user to guess a number between one and ten.This program computes the SHA digest of a sentence specified on the command line.This class demonstratesSecurityManager
s andPermission
s by attempting to access theuser.name
system property.This program computes the DSA digital signature of a message using a private key.This program verifies that a given message was signed by the person with a given public key.This program writes a file in the user's home directory.