IXECPublicKey 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
由 RFC 7748 定义的椭圆曲线公钥的接口。
[Android.Runtime.Register("java/security/interfaces/XECPublicKey", "", "Java.Security.Interfaces.IXECPublicKeyInvoker", ApiSince=33)]
public interface IXECPublicKey : IDisposable, Java.Interop.IJavaPeerable, Java.Security.Interfaces.IXECKey, Java.Security.IPublicKey
[<Android.Runtime.Register("java/security/interfaces/XECPublicKey", "", "Java.Security.Interfaces.IXECPublicKeyInvoker", ApiSince=33)>]
type IXECPublicKey = interface
interface IXECKey
interface IJavaObject
interface IDisposable
interface IJavaPeerable
interface IPublicKey
interface IKey
interface ISerializable
- 属性
- 实现
注解
由 RFC 7748 定义的椭圆曲线公钥的接口。 这些键不同于 表示的 ECPublicKey
键,它们适用于基于 RFC 7748 的算法,例如 XDH KeyAgreement
算法。
XEC 公钥是曲线上的一个特定点,仅使用其 u 坐标表示,如 RFC 7748 中所述。 u 坐标是整数字段的一个元素,由算法参数决定的某个值。 此 field 元素由 BigInteger 表示,它可以保存任何值。 也就是说,BigInteger 不限于规范字段元素的范围。
在 11 中添加。
的 java.security.interfaces.XECPublicKey
Java 文档。
此页面的部分内容是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的术语使用。
字段
SerialVersionUID |
设置为指示与以前版本的类的序列化兼容性的类指纹。 (继承自 IPublicKey) |
属性
Algorithm |
返回此键的算法的名称。 (继承自 IKey) |
Format |
返回用于对此键进行编码的格式的名称,如果 |
Handle |
获取基础 Android 对象的 JNI 值。 (继承自 IJavaObject) |
JniIdentityHashCode |
返回包装实例的 的值 |
JniManagedPeerState |
托管对等方的状态。 (继承自 IJavaPeerable) |
JniPeerMembers |
成员访问和调用支持。 (继承自 IJavaPeerable) |
Params |
由 RFC 7748 定义的椭圆曲线公钥的接口。 (继承自 IXECKey) |
PeerReference |
返回 JniObjectReference 包装的 Java 对象实例的 。 (继承自 IJavaPeerable) |
方法
Disposed() |
释放实例时调用。 (继承自 IJavaPeerable) |
DisposeUnlessReferenced() |
如果没有对此实例的未完成引用,则调用 |
Finalized() |
在实例完成时调用。 (继承自 IJavaPeerable) |
GetEncoded() |
返回密钥的主要编码格式;如果此键不支持编码,则返回 null。 (继承自 IKey) |
GetU() |
获取点的 u 坐标。 |
SetJniIdentityHashCode(Int32) |
设置 返回 |
SetJniManagedPeerState(JniManagedPeerStates) |
由 RFC 7748 定义的椭圆曲线公钥的接口。 (继承自 IJavaPeerable) |
SetPeerReference(JniObjectReference) |
设置 返回 |
UnregisterFromRuntime() |
取消注册此实例,以便运行时不会从将来 Java.Interop.JniRuntime+JniValueManager.PeekValue 的调用中返回它。 (继承自 IJavaPeerable) |
扩展方法
JavaCast<TResult>(IJavaObject) |
执行 Android 运行时检查的类型转换。 |
JavaCast<TResult>(IJavaObject) |
由 RFC 7748 定义的椭圆曲线公钥的接口。 |
GetJniTypeName(IJavaPeerable) |
由 RFC 7748 定义的椭圆曲线公钥的接口。 |