Name

DSAParams

Synopsis

This interface defines methods for obtaining the DSA parameters g, p, and q. These methods are useful only if you wish to perform cryptographic computation yourself. Using these methods requires a detailed understanding of the mathematics underlying DSA public-key cryptography.

public interface DSAParams {
// Public Instance Methods
     java.math.BigInteger getG( );  
     java.math.BigInteger getP( );  
     java.math.BigInteger getQ( );  
}

Implementations

java.security.spec.DSAParameterSpec

Passed To

DSAKeyPairGenerator.initialize( )

Returned By

DSAKey.getParams( )

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.