Added in API level 33

XECKey

public interface XECKey

java.security.interfaces.XECKey


An interface for an elliptic curve public/private key as defined by RFC 7748. These keys are distinct from the keys represented by ECKey, and they are intended for use with algorithms based on RFC 7748 such as the XDH KeyAgreement algorithm. This interface allows access to the algorithm parameters associated with the key.

Summary

Public methods

abstract AlgorithmParameterSpec getParams()

Returns the algorithm parameters associated with the key.

Public methods

getParams

Added in API level 33
public abstract AlgorithmParameterSpec getParams ()

Returns the algorithm parameters associated with the key.

Returns
AlgorithmParameterSpec the associated algorithm parameters