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 voidReturn 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 final booleanprotected voidzeroize()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bouncycastle.crypto.AsymmetricKey
getEncoded
-
Field Details
-
ecAcceptable
-
fpAcceptable
-
-
Method Details
-
getAlgorithm
Return the algorithm this GOST R 34.10 key is for.- Specified by:
getAlgorithmin 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.
-
isThreadCorrectMode
protected final boolean isThreadCorrectMode() -
checkApprovedOnlyModeStatus
protected final void checkApprovedOnlyModeStatus() -
zeroize
protected void zeroize()
-