public class DSAUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static ASN1ObjectIdentifier[] |
dsaOids |
| Constructor and Description |
|---|
DSAUtil() |
| Modifier and Type | Method and Description |
|---|---|
static AsymmetricKeyParameter |
generatePrivateKeyParameter(PrivateKey key) |
static AsymmetricKeyParameter |
generatePublicKeyParameter(PublicKey key) |
static boolean |
isDsaOid(ASN1ObjectIdentifier algOid)
Return true if the passed in OID could be associated with a DSA key.
|
public static final ASN1ObjectIdentifier[] dsaOids
public static boolean isDsaOid(ASN1ObjectIdentifier algOid)
algOid - algorithm OID from a key.public static AsymmetricKeyParameter generatePublicKeyParameter(PublicKey key) throws InvalidKeyException
InvalidKeyExceptionpublic static AsymmetricKeyParameter generatePrivateKeyParameter(PrivateKey key) throws InvalidKeyException
InvalidKeyExceptionCopyright © 2015–2021 The veraPDF Consortium. All rights reserved.