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