IDHPublicKey IDHPublicKey Interface


The interface for a public key in the Diffie-Hellman key exchange protocol.

[Android.Runtime.Register("javax/crypto/interfaces/DHPublicKey", "", "Javax.Crypto.Interfaces.IDHPublicKeyInvoker", ApiSince=1)]
public interface IDHPublicKey : IDisposable, Java.Security.IPublicKey, Javax.Crypto.Interfaces.IDHKey
type IDHPublicKey = interface
    interface IPublicKey
    interface IKey
    interface ISerializable
    interface IJavaObject
    interface IDisposable
    interface IDHKey


Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.


GetEncoded() GetEncoded()

Returns the encoded form of this key, or null if encoding is not supported by this key.

(Inherited from IKey)
GetY() GetY()

Returns this key's public value Y.


Algorithm Algorithm

Returns the name of the algorithm of this key.

(Inherited from IKey)
Format Format

Returns the name of the format used to encode this key, or null if it can not be encoded.

(Inherited from IKey)
Handle Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)
Params Params

Returns the parameters for this key.

(Inherited from IDHKey)

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Applies to