Class DSAUtil
java.lang.Object
org.bouncycastle.jcajce.provider.asymmetric.dsa.DSAUtil
public class DSAUtil extends Object
utility class for converting jce/jca DSA objects
objects into their org.bouncycastle.crypto counterparts.
-
Field Summary
Fields Modifier and Type Field Description static ASN1ObjectIdentifier[]dsaOids -
Constructor Summary
Constructors Constructor Description DSAUtil() -
Method Summary
Modifier and Type Method Description static AsymmetricKeyParametergeneratePrivateKeyParameter(PrivateKey key)static AsymmetricKeyParametergeneratePublicKeyParameter(PublicKey key)static booleanisDsaOid(ASN1ObjectIdentifier algOid)
-
Field Details
-
dsaOids
-
-
Constructor Details
-
DSAUtil
public DSAUtil()
-
-
Method Details
-
isDsaOid
-
generatePublicKeyParameter
public static AsymmetricKeyParameter generatePublicKeyParameter(PublicKey key) throws InvalidKeyException- Throws:
InvalidKeyException
-
generatePrivateKeyParameter
public static AsymmetricKeyParameter generatePrivateKeyParameter(PrivateKey key) throws InvalidKeyException- Throws:
InvalidKeyException
-