Class AsymmetricDSAKey
- java.lang.Object
-
- org.bouncycastle.crypto.asymmetric.AsymmetricDSAKey
-
- All Implemented Interfaces:
AsymmetricKey,Key
- Direct Known Subclasses:
AsymmetricDSAPrivateKey,AsymmetricDSAPublicKey
public abstract class AsymmetricDSAKey extends java.lang.Object implements AsymmetricKey
Base class for Digital Signature Algorithm (DSA) keys.
-
-
Field Summary
Fields Modifier and Type Field Description protected Algorithmalgorithmprotected booleanapprovedModeOnlyprotected DSADomainParametersdomainParameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckApprovedOnlyModeStatus()AlgorithmgetAlgorithm()Return the algorithm this DSA key is for.DSADomainParametersgetDomainParameters()Return the DSA domain parameters associated with this key.protected voidzeroize()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.bouncycastle.crypto.AsymmetricKey
getEncoded
-
-
-
-
Field Detail
-
approvedModeOnly
protected final boolean approvedModeOnly
-
algorithm
protected Algorithm algorithm
-
domainParameters
protected DSADomainParameters domainParameters
-
-
Method Detail
-
getAlgorithm
public Algorithm getAlgorithm()
Return the algorithm this DSA key is for.- Specified by:
getAlgorithmin interfaceKey- Returns:
- the key's algorithm.
-
getDomainParameters
public DSADomainParameters getDomainParameters()
Return the DSA domain parameters associated with this key.- Returns:
- the DSA domain parameters for this key.
-
checkApprovedOnlyModeStatus
protected final void checkApprovedOnlyModeStatus()
-
zeroize
protected void zeroize()
-
-