-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDSAParams.java
More file actions
64 lines (58 loc) · 1003 Bytes
/
DSAParams.java
File metadata and controls
64 lines (58 loc) · 1003 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*
* Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package java.security.interfaces;
import java.math.BigInteger;
/**
* Interface to a DSA-specific set of key parameters, which defines a
* DSA <em>key family</em>. DSA (Digital Signature Algorithm) is defined
* in NIST's FIPS-186.
*
* @see DSAKey
* @see java.security.Key
* @see java.security.Signature
*
* @author Benjamin Renaud
* @author Josh Bloch
*/
public interface DSAParams {
/**
* Returns the prime, {@code p}.
*
* @return the prime, {@code p}.
*/
public BigInteger getP();
/**
* Returns the subprime, {@code q}.
*
* @return the subprime, {@code q}.
*/
public BigInteger getQ();
/**
* Returns the base, {@code g}.
*
* @return the base, {@code g}.
*/
public BigInteger getG();
}