This interface represents a DSA public key and provides direct access to the underlying key value. If you are working with a public key you know is a DSA key, you can cast the PublicKey to a DSAPublicKey . Figure 14-77. java.security.interfaces.DSAPublicKeypublic interface DSAPublicKey extends DSAKeyjava.security.PublicKey { // Public Constants 1.2 public static final long serialVersionUID ; =1234526332779022332 // Public Instance Methods java.math.BigInteger getY ( ); } |