Top Description Fields Constructors Methods
org.bouncycastle.crypto.asymmetric

public abstract Class AsymmetricXDHKey

extends Object
implements AsymmetricKey
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.AsymmetricKey, org.bouncycastle.crypto.Key
Known Direct Subclasses
org.bouncycastle.crypto.asymmetric.AsymmetricXDHPrivateKey, org.bouncycastle.crypto.asymmetric.AsymmetricXDHPublicKey
Imports
org.bouncycastle.crypto.Algorithm, .AsymmetricKey, .CryptoServicesRegistrar, org.bouncycastle.crypto.fips.FipsUnapprovedOperationError

Base class for Edwards Curve Diffie-Hellman (XDH) keys.

Field Summary

Modifier and TypeField and Description
private Algorithm
private final boolean

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected final void
public Algorithm

Returns:

the key's algorithm.
getAlgorithm
()

Implements org.bouncycastle.crypto.Key.getAlgorithm.

Return the algorithm this Edwards Curve key is for.
protected void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

algorithmback to summary
private Algorithm algorithm
approvedModeOnlyback to summary
private final boolean approvedModeOnly

Constructor Detail

AsymmetricXDHKeyback to summary
pack-priv AsymmetricXDHKey(Algorithm algorithm)

Method Detail

checkApprovedOnlyModeStatusback to summary
protected final void checkApprovedOnlyModeStatus()
getAlgorithmback to summary
public Algorithm getAlgorithm()

Implements org.bouncycastle.crypto.Key.getAlgorithm.

Return the algorithm this Edwards Curve key is for.

Returns:Algorithm

the key's algorithm.

zeroizeback to summary
protected void zeroize()