Class AsymmetricDSAKey
java.lang.Object
org.bouncycastle.crypto.asymmetric.AsymmetricDSAKey
- All Implemented Interfaces:
AsymmetricKey
,Key
- Direct Known Subclasses:
AsymmetricDSAPrivateKey
,AsymmetricDSAPublicKey
Base class for Digital Signature Algorithm (DSA) keys.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Algorithm
protected final boolean
protected DSADomainParameters
-
Method Summary
Modifier and TypeMethodDescriptionprotected final void
Return the algorithm this DSA key is for.Return the DSA domain parameters associated with this key.protected void
zeroize()
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 Details
-
approvedModeOnly
protected final boolean approvedModeOnly -
algorithm
-
domainParameters
-
-
Method Details
-
getAlgorithm
Return the algorithm this DSA key is for.- Specified by:
getAlgorithm
in interfaceKey
- Returns:
- the key's algorithm.
-
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()
-