Book Home Java Security Search this book

D.6. Package javax.crypto.interfaces

Interface javax.crypto.interfaces.DHKey

This interface represents a public or private key used the Diffie-Hellman key agreement implementation.

Interface Definition

public abstract interface javax.crypto.interfaces.DHKey {

	// Instance Methods
	public abstract DHParameterSpec getParams();
}

See also: DHPrivateKey, DHPublicKey

Interface javax.crypto.interfaces.DHPrivateKey

This interface represents a private key in a Diffie-Hellman key agreement protocol.

Interface Definition

public abstract interface javax.crypto.interfaces.DHPrivateKey
  implements javax.crypto.interfaces.DHKey, java.security.PrivateKey {

	// Instance Methods
	public abstract BigInteger getX();
}

See also: DHKey, DHPublicKey, PrivateKey

Interface javax.crypto.interfaces.DHPublicKey

This interface represents a public key in a Diffie-Hellman key agreement protocol.

Interface Definition

public abstract interface javax.crypto.interfaces.DHPublicKey
  implements javax.crypto.interfaces.DHKey, java.security.PublicKey {

	// Instance Methods
	public abstract BigInteger getY();
}

See also: DHKey, DHPrivateKey, PublicKey



Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.