Class AsymmetricXDHKey
- java.lang.Object
-
- org.bouncycastle.crypto.asymmetric.AsymmetricXDHKey
-
- All Implemented Interfaces:
AsymmetricKey
,Key
- Direct Known Subclasses:
AsymmetricXDHPrivateKey
,AsymmetricXDHPublicKey
public abstract class AsymmetricXDHKey extends java.lang.Object implements AsymmetricKey
Base class for Edwards Curve Diffie-Hellman (XDH) keys.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkApprovedOnlyModeStatus()
Algorithm
getAlgorithm()
Return the algorithm this Edwards Curve key is for.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
-
-
-
-
Method Detail
-
getAlgorithm
public Algorithm getAlgorithm()
Return the algorithm this Edwards Curve key is for.- Specified by:
getAlgorithm
in interfaceKey
- Returns:
- the key's algorithm.
-
zeroize
protected void zeroize()
-
checkApprovedOnlyModeStatus
protected final void checkApprovedOnlyModeStatus()
-
-