Class AsymmetricGOST3410Key<T>
java.lang.Object
org.bouncycastle.crypto.asymmetric.AsymmetricGOST3410Key<T>
- Type Parameters:
T
- domain parameters for the particular key type.
- All Implemented Interfaces:
AsymmetricKey
,Key
- Direct Known Subclasses:
AsymmetricECGOST3410PrivateKey
,AsymmetricECGOST3410PublicKey
,AsymmetricGOST3410PrivateKey
,AsymmetricGOST3410PublicKey
Base class for keys for GOST R 34.10-1994 and GOST R 34.10-2001.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionprotected final void
Return the algorithm this GOST R 34.10 key is for.Return the domain parameters associated with this key.These will either be for GOST R 34.10-1994 or GOST R 34.10-2001 depending on the key type.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
-
domainParameters
-
-
Method Details
-
getAlgorithm
Return the algorithm this GOST R 34.10 key is for.- Specified by:
getAlgorithm
in interfaceKey
- Returns:
- the key's algorithm.
-
getParameters
Return the domain parameters associated with this key.These will either be for GOST R 34.10-1994 or GOST R 34.10-2001 depending on the key type.- Returns:
- the GOST3410 domain parameters.
-
checkApprovedOnlyModeStatus
protected final void checkApprovedOnlyModeStatus() -
zeroize
protected void zeroize()
-