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
public abstract class AsymmetricGOST3410Key<T> extends java.lang.Object implements AsymmetricKey
Base class for keys for GOST R 34.10-1994 and GOST R 34.10-2001.
-
-
Field Summary
Fields Modifier and Type Field Description protected GOST3410Parameters<T>
domainParameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkApprovedOnlyModeStatus()
Algorithm
getAlgorithm()
Return the algorithm this GOST R 34.10 key is for.GOST3410Parameters<T>
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.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 Detail
-
domainParameters
protected GOST3410Parameters<T> domainParameters
-
-
Method Detail
-
getAlgorithm
public Algorithm getAlgorithm()
Return the algorithm this GOST R 34.10 key is for.- Specified by:
getAlgorithm
in interfaceKey
- Returns:
- the key's algorithm.
-
getParameters
public GOST3410Parameters<T> 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()
-
-