Class AsymmetricDSTU4145Key
- java.lang.Object
-
- org.bouncycastle.crypto.asymmetric.AsymmetricDSTU4145Key
-
- All Implemented Interfaces:
AsymmetricKey,Key
- Direct Known Subclasses:
AsymmetricDSTU4145PrivateKey,AsymmetricDSTU4145PublicKey
public abstract class AsymmetricDSTU4145Key extends java.lang.Object implements AsymmetricKey
Base class for DSTU-4145 keys.
-
-
Field Summary
Fields Modifier and Type Field Description protected AlgorithmIdentifierdstu4145Identifierprotected DSTU4145Parametersparameters
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckApprovedOnlyModeStatus()AlgorithmgetAlgorithm()Return the algorithm this DSTU4145 key is for.DSTU4145ParametersgetParameters()Return the domain parameters for this DSTU4145 key.protected static voidreverseBytes(byte[] bytes)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
-
parameters
protected DSTU4145Parameters parameters
-
dstu4145Identifier
protected final AlgorithmIdentifier dstu4145Identifier
-
-
Method Detail
-
getAlgorithm
public Algorithm getAlgorithm()
Return the algorithm this DSTU4145 key is for.- Specified by:
getAlgorithmin interfaceKey- Returns:
- the key's algorithm.
-
getParameters
public DSTU4145Parameters getParameters()
Return the domain parameters for this DSTU4145 key.- Returns:
- the DSTU4145 domain parameters.
-
checkApprovedOnlyModeStatus
protected final void checkApprovedOnlyModeStatus()
-
zeroize
protected void zeroize()
-
reverseBytes
protected static void reverseBytes(byte[] bytes)
-
-