org.mozilla.jss.crypto
public class KeyPairAlgorithm extends Algorithm
| Field Summary | |
|---|---|
| protected Algorithm | algFamily |
| static KeyPairAlgorithm | DSA |
| static Algorithm | DSAFamily |
| static KeyPairAlgorithm | EC |
| static Algorithm | ECFamily |
| static KeyPairAlgorithm | RSA |
| static Algorithm | RSAFamily |
| Constructor Summary | |
|---|---|
| protected | KeyPairAlgorithm(int oidIndex, String name, Algorithm algFamily) |
| Method Summary | |
|---|---|
| static KeyPairAlgorithm | fromString(String algName)
Looks up a key pair generation algorithm from its name. |
| Algorithm | getAlgFamily()
Returns the algorithm family for a given key pair generation algorithm.
|
Throws: NoSuchAlgorithmException If the name of the algorithm is not recognized as a supported algorithm.