public class DSAUtil
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static ASN1ObjectIdentifier[] |
dsaOids |
| Constructor and Description |
|---|
DSAUtil() |
| Modifier and Type | Method and Description |
|---|---|
static AsymmetricKeyParameter |
generatePrivateKeyParameter(java.security.PrivateKey key) |
static AsymmetricKeyParameter |
generatePublicKeyParameter(java.security.PublicKey key) |
static boolean |
isDsaOid(ASN1ObjectIdentifier algOid) |
public static final ASN1ObjectIdentifier[] dsaOids
public static boolean isDsaOid(ASN1ObjectIdentifier algOid)
public static AsymmetricKeyParameter generatePublicKeyParameter(java.security.PublicKey key) throws java.security.InvalidKeyException
java.security.InvalidKeyExceptionpublic static AsymmetricKeyParameter generatePrivateKeyParameter(java.security.PrivateKey key) throws java.security.InvalidKeyException
java.security.InvalidKeyException