Class AsymmetricDSTU4145Key
java.lang.Object
org.bouncycastle.crypto.asymmetric.AsymmetricDSTU4145Key
- All Implemented Interfaces:
AsymmetricKey,Key
- Direct Known Subclasses:
AsymmetricDSTU4145PrivateKey,AsymmetricDSTU4145PublicKey
Base class for DSTU-4145 keys.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidReturn the algorithm this DSTU4145 key is for.Return the domain parameters for this DSTU4145 key.protected final booleanprotected static voidreverseBytes(byte[] bytes) protected 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
-
dstu4145Identifier
-
-
Method Details
-
getAlgorithm
Return the algorithm this DSTU4145 key is for.- Specified by:
getAlgorithmin interfaceKey- Returns:
- the key's algorithm.
-
getParameters
Return the domain parameters for this DSTU4145 key.- Returns:
- the DSTU4145 domain parameters.
-
isThreadCorrectMode
protected final boolean isThreadCorrectMode() -
checkApprovedOnlyModeStatus
protected final void checkApprovedOnlyModeStatus() -
zeroize
protected void zeroize() -
reverseBytes
protected static void reverseBytes(byte[] bytes)
-